use of riskyken.armourersWorkshop.common.skin.data.SkinPart in project Armourers-Workshop by RiskyKen.
the class ContainerMiniArmourerBuilding method updateFromClientCubeEdit.
public void updateFromClientCubeEdit(ISkinPartType skinPartType, riskyken.armourersWorkshop.common.data.MiniCube cube, boolean remove) {
ArrayList<SkinPart> skinParts = tileEntity.getSkinParts();
// Send the cube update to all the players that have the GUI open.
for (int i = 0; i < crafters.size(); i++) {
ICrafting crafter = (ICrafting) crafters.get(i);
MessageServerMiniArmourerCubeEdit message;
message = new MessageServerMiniArmourerCubeEdit(skinPartType, cube, remove);
PacketHandler.networkWrapper.sendTo(message, (EntityPlayerMP) crafter);
}
tileEntity.markDirty();
}
Aggregations