public static void sendPartitionToContents( final EntityPlayer player, final TileEssentiaCellWorkbench workbench) { Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_PARITION_CONTENTS); // Set the workbench packet.workbench = workbench; // Send it NetworkHandler.sendPacketToServer(packet); }
public static void sendClearPartitioning( final EntityPlayer player, final TileEssentiaCellWorkbench workbench) { Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_CLEAR); // Set the workbench packet.workbench = workbench; // Send it NetworkHandler.sendPacketToServer(packet); }
public static void sendGetPartitionList( final EntityPlayer player, final TileEssentiaCellWorkbench workbench) { Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_FULL_LIST); // Set the workbench packet.workbench = workbench; // Send it NetworkHandler.sendPacketToServer(packet); }
public static void sendRemoveAspect( final EntityPlayer player, final TileEssentiaCellWorkbench workbench, final Aspect aspect) { Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_REMOVE_ASPECT); // Set the aspect packet.arAspect = aspect; // Set the workbench packet.workbench = workbench; // Send it NetworkHandler.sendPacketToServer(packet); }
public static void sendReplaceAspect( final EntityPlayer player, final TileEssentiaCellWorkbench workbench, final Aspect originalAspect, final Aspect newAspect) { Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_REPLACE_ASPECT); // Set the aspects packet.arAspect = originalAspect; packet.replaceAspect = newAspect; // Set the workbench packet.workbench = workbench; // Send it NetworkHandler.sendPacketToServer(packet); }