28 lines
868 B
Java
28 lines
868 B
Java
package com.r3944realms.leashedplayer.integration.jei;
|
|
|
|
import com.r3944realms.leashedplayer.LeashedPlayer;
|
|
import mezz.jei.api.IModPlugin;
|
|
import mezz.jei.api.JeiPlugin;
|
|
import mezz.jei.api.registration.IRecipeRegistration;
|
|
import net.minecraft.client.Minecraft;
|
|
import net.minecraft.resources.ResourceLocation;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
@JeiPlugin
|
|
public class JEIPlugin implements IModPlugin {
|
|
private static final ResourceLocation UID = ResourceLocation.fromNamespaceAndPath(LeashedPlayer.MOD_ID, "jei_plugin");
|
|
@Override
|
|
public @NotNull ResourceLocation getPluginUid() {
|
|
return UID;
|
|
}
|
|
|
|
|
|
@Override
|
|
public void registerRecipes(@NotNull IRecipeRegistration registration) {
|
|
var level = Minecraft.getInstance().level;
|
|
assert level != null;
|
|
var recipeManager = level.getRecipeManager();
|
|
|
|
}
|
|
}
|