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