Class InventoryLocationCurios
java.lang.Object
org.cyclops.cyclopscore.modcompat.curios.InventoryLocationCurios
- All Implemented Interfaces:
IInventoryLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraftforge.items.IItemHandlerModifiable
getInventory
(net.minecraft.world.entity.player.Player player) net.minecraft.world.item.ItemStack
getItemInSlot
(net.minecraft.world.entity.player.Player player, int slot) net.minecraft.resources.ResourceLocation
void
setItemInSlot
(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:
getUniqueName
in interfaceIInventoryLocation
-
getInventory
public net.minecraftforge.items.IItemHandlerModifiable getInventory(net.minecraft.world.entity.player.Player player) - Specified by:
getInventory
in interfaceIInventoryLocation
-
getItemInSlot
public net.minecraft.world.item.ItemStack getItemInSlot(net.minecraft.world.entity.player.Player player, int slot) - Specified by:
getItemInSlot
in interfaceIInventoryLocation
-
setItemInSlot
public void setItemInSlot(net.minecraft.world.entity.player.Player player, int slot, net.minecraft.world.item.ItemStack itemStack) - Specified by:
setItemInSlot
in interfaceIInventoryLocation
-