public class ItemStackHarness extends java.lang.Object implements IContainerAddonProvider, IScreenAddonProvider, IButtonHandler
| Constructor and Description |
|---|
ItemStackHarness(net.minecraft.item.ItemStack itemStack,
IScreenAddonProvider defaultProvider,
IButtonHandler buttonHandler,
net.minecraftforge.common.capabilities.Capability<?>... capabilities) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IFactory<? extends IContainerAddon>> |
getContainerAddons() |
java.util.List<IFactory<? extends IScreenAddon>> |
getScreenAddons() |
void |
handleButtonMessage(int id,
net.minecraft.entity.player.PlayerEntity playerEntity,
net.minecraft.nbt.CompoundNBT compound) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanInteractpublic ItemStackHarness(net.minecraft.item.ItemStack itemStack,
IScreenAddonProvider defaultProvider,
IButtonHandler buttonHandler,
net.minecraftforge.common.capabilities.Capability<?>... capabilities)
@Nonnull public java.util.List<IFactory<? extends IScreenAddon>> getScreenAddons()
getScreenAddons in interface IScreenAddonProvider@Nonnull public java.util.List<IFactory<? extends IContainerAddon>> getContainerAddons()
getContainerAddons in interface IContainerAddonProviderpublic void handleButtonMessage(int id,
net.minecraft.entity.player.PlayerEntity playerEntity,
net.minecraft.nbt.CompoundNBT compound)
handleButtonMessage in interface IButtonHandler