public class CreativeCrafting extends java.lang.Object implements IContainerListener
| Constructor and Description |
|---|
CreativeCrafting(Minecraft mc) |
| Modifier and Type | Method and Description |
|---|---|
void |
sendAllContents(Container containerToSend,
NonNullList<ItemStack> itemsList)
update the crafting window inventory with the items in the list
|
void |
sendAllWindowProperties(Container containerIn,
IInventory inventory) |
void |
sendSlotContents(Container containerToSend,
int slotInd,
ItemStack stack)
Sends the contents of an inventory slot to the client-side Container.
|
void |
sendWindowProperty(Container containerIn,
int varToUpdate,
int newValue)
Sends two ints to the client-side Container.
|
public CreativeCrafting(Minecraft mc)
public void sendAllContents(Container containerToSend, NonNullList<ItemStack> itemsList)
sendAllContents in interface IContainerListenerpublic void sendSlotContents(Container containerToSend, int slotInd, ItemStack stack)
sendSlotContents in interface IContainerListenerpublic void sendWindowProperty(Container containerIn, int varToUpdate, int newValue)
sendWindowProperty in interface IContainerListenerpublic void sendAllWindowProperties(Container containerIn, IInventory inventory)
sendAllWindowProperties in interface IContainerListener