Class InventoryLocationCurios
java.lang.Object
org.cyclops.cyclopscore.modcompat.curios.InventoryLocationCurios
- All Implemented Interfaces:
IInventoryLocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraftforge.items.IItemHandlerModifiablegetInventory(net.minecraft.world.entity.player.Player player) net.minecraft.world.item.ItemStackgetItemInSlot(net.minecraft.world.entity.player.Player player, int slot) net.minecraft.resources.ResourceLocationvoidsetItemInSlot(net.minecraft.world.entity.player.Player player, int slot, net.minecraft.world.item.ItemStack itemStack)
-
Constructor Details
-
InventoryLocationCurios
public InventoryLocationCurios()
-
-
Method Details
-
getUniqueName
public net.minecraft.resources.ResourceLocation getUniqueName()- Specified by:
getUniqueNamein interfaceIInventoryLocation
-
getInventory
public net.minecraftforge.items.IItemHandlerModifiable getInventory(net.minecraft.world.entity.player.Player player) - Specified by:
getInventoryin interfaceIInventoryLocation
-
getItemInSlot
public net.minecraft.world.item.ItemStack getItemInSlot(net.minecraft.world.entity.player.Player player, int slot) - Specified by:
getItemInSlotin interfaceIInventoryLocation
-
setItemInSlot
public void setItemInSlot(net.minecraft.world.entity.player.Player player, int slot, net.minecraft.world.item.ItemStack itemStack) - Specified by:
setItemInSlotin interfaceIInventoryLocation
-