public class WidgetPhantomSlot extends Widget_Neptune<ContainerBC_Neptune>
| Modifier and Type | Class and Description |
|---|---|
class |
WidgetPhantomSlot.GuiElementPhantomSlot |
container| Constructor and Description |
|---|
WidgetPhantomSlot(ContainerBC_Neptune container) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getMaxStackSize(net.minecraft.item.ItemStack stack) |
net.minecraft.item.ItemStack |
getStack() |
net.minecraftforge.fml.common.network.simpleimpl.IMessage |
handleWidgetDataClient(net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx,
PacketBufferBC buffer) |
net.minecraftforge.fml.common.network.simpleimpl.IMessage |
handleWidgetDataServer(net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx,
PacketBufferBC buffer) |
protected void |
onSetStack() |
void |
setStack(net.minecraft.item.ItemStack stack,
boolean tellClient) |
isRemote, receivePayload, sendWidgetDatapublic WidgetPhantomSlot(ContainerBC_Neptune container)
public net.minecraftforge.fml.common.network.simpleimpl.IMessage handleWidgetDataServer(net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx,
PacketBufferBC buffer)
throws java.io.IOException
handleWidgetDataServer in class Widget_Neptune<ContainerBC_Neptune>java.io.IOExceptionpublic net.minecraftforge.fml.common.network.simpleimpl.IMessage handleWidgetDataClient(net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx,
PacketBufferBC buffer)
throws java.io.IOException
handleWidgetDataClient in class Widget_Neptune<ContainerBC_Neptune>java.io.IOExceptionprotected int getMaxStackSize(net.minecraft.item.ItemStack stack)
@Nonnull public net.minecraft.item.ItemStack getStack()
public final void setStack(@Nonnull
net.minecraft.item.ItemStack stack,
boolean tellClient)
protected void onSetStack()