public interface ITemplateRegistry
Modifier and Type | Method and Description |
---|---|
default void |
addHandler(ITemplateHandler handler)
Adds a handler with a
EnumHandlerPriority of EnumHandlerPriority.NORMAL |
void |
addHandler(ITemplateHandler handler,
EnumHandlerPriority priority) |
boolean |
handle(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack stack) |
default void addHandler(ITemplateHandler handler)
EnumHandlerPriority
of EnumHandlerPriority.NORMALvoid addHandler(ITemplateHandler handler, EnumHandlerPriority priority)
boolean handle(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack stack)