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