Package vazkii.botania.common.handler
Class EquipmentHandler.InventoryEquipmentHandler
java.lang.Object
vazkii.botania.common.handler.EquipmentHandler
vazkii.botania.common.handler.EquipmentHandler.InventoryEquipmentHandler
- Enclosing class:
EquipmentHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class vazkii.botania.common.handler.EquipmentHandler
EquipmentHandler.InventoryEquipmentHandler -
Field Summary
Fields inherited from class vazkii.botania.common.handler.EquipmentHandler
instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.world.item.ItemStackfindItem(Predicate<net.minecraft.world.item.ItemStack> pred, net.minecraft.world.entity.LivingEntity living) protected net.minecraft.world.item.ItemStackfindItem(net.minecraft.world.item.Item item, net.minecraft.world.entity.LivingEntity living) protected net.minecraft.world.ContainergetAllWornItems(net.minecraft.world.entity.LivingEntity living) voidonInit(net.minecraft.world.item.Item item) voidonPlayerTick(net.minecraft.world.entity.player.Player player) Methods inherited from class vazkii.botania.common.handler.EquipmentHandler
findOrEmpty, findOrEmpty, getAllWorn, init, isAccessory
-
Constructor Details
-
InventoryEquipmentHandler
public InventoryEquipmentHandler()
-
-
Method Details
-
onPlayerTick
public void onPlayerTick(net.minecraft.world.entity.player.Player player) -
getAllWornItems
protected net.minecraft.world.Container getAllWornItems(net.minecraft.world.entity.LivingEntity living) - Specified by:
getAllWornItemsin classEquipmentHandler
-
findItem
protected net.minecraft.world.item.ItemStack findItem(net.minecraft.world.item.Item item, net.minecraft.world.entity.LivingEntity living) - Specified by:
findItemin classEquipmentHandler
-
findItem
protected net.minecraft.world.item.ItemStack findItem(Predicate<net.minecraft.world.item.ItemStack> pred, net.minecraft.world.entity.LivingEntity living) - Specified by:
findItemin classEquipmentHandler
-
onInit
public void onInit(net.minecraft.world.item.Item item) - Specified by:
onInitin classEquipmentHandler
-