public class CustomTextureItemSlotHandler
extends net.minecraftforge.items.SlotItemHandler
Constructor and Description |
---|
CustomTextureItemSlotHandler(net.minecraftforge.items.IItemHandler itemHandler,
net.minecraft.util.ResourceLocation id,
int index,
int xPosition,
int yPosition) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.ResourceLocation |
getBackgroundLocation() |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getBackgroundSprite() |
canTakeStack, decrStackSize, getItemHandler, getItemStackLimit, getSlotStackLimit, getStack, isItemValid, onSlotChange, putStack
public CustomTextureItemSlotHandler(net.minecraftforge.items.IItemHandler itemHandler, net.minecraft.util.ResourceLocation id, int index, int xPosition, int yPosition)
public net.minecraft.client.renderer.texture.TextureAtlasSprite getBackgroundSprite()
getBackgroundSprite
in class net.minecraft.inventory.container.Slot
public net.minecraft.util.ResourceLocation getBackgroundLocation()
getBackgroundLocation
in class net.minecraft.inventory.container.Slot