Class EquipmentHandler

java.lang.Object
vazkii.botania.common.handler.EquipmentHandler
Direct Known Subclasses:
EquipmentHandler.InventoryEquipmentHandler

public abstract class EquipmentHandler extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static @UnknownNullability EquipmentHandler
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract net.minecraft.world.item.ItemStack
    findItem(Predicate<net.minecraft.world.item.ItemStack> pred, net.minecraft.world.entity.LivingEntity living)
     
    protected abstract net.minecraft.world.item.ItemStack
    findItem(net.minecraft.world.item.Item item, net.minecraft.world.entity.LivingEntity living)
     
    static net.minecraft.world.item.ItemStack
    findOrEmpty(Predicate<net.minecraft.world.item.ItemStack> pred, net.minecraft.world.entity.LivingEntity living)
     
    static net.minecraft.world.item.ItemStack
    findOrEmpty(net.minecraft.world.item.Item item, net.minecraft.world.entity.LivingEntity living)
     
    static net.minecraft.world.Container
    getAllWorn(net.minecraft.world.entity.LivingEntity living)
     
    protected abstract net.minecraft.world.Container
    getAllWornItems(net.minecraft.world.entity.LivingEntity living)
     
    static void
     
    boolean
    isAccessory(net.minecraft.world.item.ItemStack stack)
     
    abstract void
    onInit(net.minecraft.world.item.Item item)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • EquipmentHandler

      public EquipmentHandler()
  • Method Details

    • init

      public static void init()
    • getAllWorn

      public static net.minecraft.world.Container getAllWorn(net.minecraft.world.entity.LivingEntity living)
    • findOrEmpty

      public static net.minecraft.world.item.ItemStack findOrEmpty(net.minecraft.world.item.Item item, net.minecraft.world.entity.LivingEntity living)
    • findOrEmpty

      public static net.minecraft.world.item.ItemStack findOrEmpty(Predicate<net.minecraft.world.item.ItemStack> pred, net.minecraft.world.entity.LivingEntity living)
    • getAllWornItems

      protected abstract net.minecraft.world.Container getAllWornItems(net.minecraft.world.entity.LivingEntity living)
    • findItem

      protected abstract net.minecraft.world.item.ItemStack findItem(net.minecraft.world.item.Item item, net.minecraft.world.entity.LivingEntity living)
    • findItem

      protected abstract net.minecraft.world.item.ItemStack findItem(Predicate<net.minecraft.world.item.ItemStack> pred, net.minecraft.world.entity.LivingEntity living)
    • onInit

      public abstract void onInit(net.minecraft.world.item.Item item)
    • isAccessory

      public boolean isAccessory(net.minecraft.world.item.ItemStack stack)