ItemStack equipped = player.getCurrentEquippedItem();
if(equipped == null) {
return;
}
if(equipped.getItem() == EnderIO.itemYetaWench) {
ConduitDisplayMode curMode = ConduitDisplayMode.getDisplayMode(equipped);
if(curMode == null) {
curMode = ConduitDisplayMode.ALL;
}
ConduitDisplayMode newMode = curMode.next();
ConduitDisplayMode.setDisplayMode(equipped, newMode);
PacketHandler.INSTANCE.sendToServer(new YetaWrenchPacketProcessor(player.inventory.currentItem, newMode));
} else if(equipped.getItem() == EnderIO.itemConduitProbe) {
int newMeta = equipped.getItemDamage() == 0 ? 1 : 0;