Class InventoryLocationBaubles
java.lang.Object
org.cyclops.cyclopscore.modcompat.baubles.InventoryLocationBaubles
- All Implemented Interfaces:
IInventoryLocation
Extends the iteratable inventory with Baubles slots.
-
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
-
InventoryLocationBaubles
public InventoryLocationBaubles()
-
-
Method Details
-
getUniqueName
public net.minecraft.resources.ResourceLocation getUniqueName()- Specified by:
getUniqueName
in interfaceIInventoryLocation
-
getInventory
@Nullable 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
-