YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.inventory.ICrafting Interface Reference
Inheritance diagram for net.minecraft.inventory.ICrafting:
net.minecraft.client.gui.GuiRepair net.minecraft.client.gui.inventory.CreativeCrafting net.minecraft.entity.player.EntityPlayerMP

Public Member Functions

void sendContainerAndContentsToPlayer (Container container, List list)
 
void sendSlotContents (Container container, int i, ItemStack itemstack)
 
void sendProgressBarUpdate (Container container, int i, int j)
 

Member Function Documentation

void net.minecraft.inventory.ICrafting.sendContainerAndContentsToPlayer ( Container  container,
List  list 
)
void net.minecraft.inventory.ICrafting.sendProgressBarUpdate ( Container  container,
int  i,
int  j 
)

Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress, and enchanting level. Normally the first int identifies which variable to update, and the second contains the new value. Both are truncated to shorts in non-local SMP.

Implemented in net.minecraft.entity.player.EntityPlayerMP, net.minecraft.client.gui.GuiRepair, and net.minecraft.client.gui.inventory.CreativeCrafting.

void net.minecraft.inventory.ICrafting.sendSlotContents ( Container  container,
int  i,
ItemStack  itemstack 
)

Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot. Args: Container, slot number, slot contents

Implemented in net.minecraft.entity.player.EntityPlayerMP, net.minecraft.client.gui.GuiRepair, and net.minecraft.client.gui.inventory.CreativeCrafting.


The documentation for this interface was generated from the following file: