protected void processOff() { isActive = false; wasActive = true; tracker.markTime(world); }
protected void processOff() { processRem = 0; isActive = false; wasActive = true; clearRecipe(); if (world != null) { tracker.markTime(world); } }
public void updateIcon() { World world = CoFHCore.proxy.getClientWorld(); if (CoreUtils.isClient() && iconTracker.hasDelayPassed(world, 80)) { iconIndex = MathHelper.RANDOM.nextInt(utilList.size()); iconTracker.markTime(world); } }
public void updateIcon() { World world = CoFHCore.proxy.getClientWorld(); if (CoreUtils.isClient() && iconTracker.hasDelayPassed(world, 80)) { iconIndex = MathHelper.RANDOM.nextInt(blockList.size()); iconTracker.markTime(world); } }
public void updateIcon() { World world = CoFHCore.proxy.getClientWorld(); if (CoreUtils.isClient() && iconTracker.hasDelayPassed(world, 80)) { int next = MathHelper.RANDOM.nextInt(TDDucts.ductList.size() - 1); iconIndex = next >= iconIndex ? next + 1 : next; iconTracker.markTime(world); } }
public void updateIcon() { World world = CoFHCore.proxy.getClientWorld(); if (CoreUtils.isClient() && iconTracker.hasDelayPassed(world, 80)) { iconIndex = MathHelper.RANDOM.nextInt(itemList.size()); iconTracker.markTime(world); } }
public void updateIcon() { World world = CoFHCore.proxy.getClientWorld(); if (CoreUtils.isClient() && iconTracker.hasDelayPassed(world, 80)) { iconIndex = MathHelper.RANDOM.nextInt(miscList.size()); iconTracker.markTime(world); } }
public void updateIcon() { World world = CoFHCore.proxy.getClientWorld(); if (CoreUtils.isClient() && iconTracker.hasDelayPassed(world, 80)) { int next = MathHelper.RANDOM.nextInt(ItemMorb.morbList.size() - 1); iconIndex = next >= iconIndex ? next + 1 : next; iconTracker.markTime(world); } }
public void updateIcon() { World world = CoFHCore.proxy.getClientWorld(); if (CoreUtils.isClient() && iconTracker.hasDelayPassed(world, 80)) { iconIndex = MathHelper.RANDOM.nextInt(toolList.size()); iconTracker.markTime(world); } }
public void updateIcon() { World world = CoFHCore.proxy.getClientWorld(); if (CoreUtils.isClient() && iconTracker.hasDelayPassed(world, 80)) { int next = MathHelper.RANDOM.nextInt(ItemFlorb.florbList.size() - 1); iconIndex = next >= iconIndex ? next + 1 : next; iconTracker.markTime(world); } }
public void updateIcon() { World world = CoFHCore.proxy.getClientWorld(); if (CoreUtils.isClient() && iconTracker.hasDelayPassed(world, 80)) { int next = MathHelper.RANDOM.nextInt(ItemCover.getCoverList().size() - 1); iconIndex = next >= iconIndex ? next + 1 : next; iconTracker.markTime(world); } }
@Override public void setInventorySlotContents(int slot, ItemStack stack) { if (ServerHelper.isServerWorld(world) && slot == 1) { if (isActive && !inventory[slot].isEmpty()) { if (stack.isEmpty() || !stack.isItemEqual(inventory[slot]) || !hasValidInput()) { isActive = false; wasActive = true; tracker.markTime(world); processRem = 0; } } containerItem = null; hasContainerItem = false; handler = null; hasEnergyHandler = false; hasRepairItem = false; } inventory[slot] = stack; // if (!stack.isEmpty() && stack.getCount() > getInventoryStackLimit()) { // stack.setCount(getInventoryStackLimit()); // } markChunkDirty(); }
renderFluidLevel = FluidRenderType.EMPTY; recentRenderUpdate = true; myTracker.markTime(worldGrid.worldObj); return true;