Skip to content

computers

Sergey edited this page Dec 6, 2023 · 5 revisions

Nuclearcraft processors supports computer methods:

  • getSlotContent(int id) - returns table with item/fluid and amount
  • voidSlotContent(int id) - deletes items/fluids in slot
  • int getSlotsCount()
  • int getSlotMode(int slotId, int direction) - returns input/output/disabled... mode setting for selected slot and direction
  • int toggleSlotMode(int slotId, int direction) - changes mode (push, pull, default, disabled..) for slot and returns resulted mode
  • int getRecipeProgress()
  • boolean hasRecipe()

Fission reactor methods

  • boolean hasRecipe()
  • int getDepletionProgress() - same as getRecipeProgress()
  • double getMaxHeatCapacity()
  • enableReactor() - turn reactor on (does not override redstone input)
  • disableReactor() - turn reactor off (disables reactor even if redstone input)
  • int getEnergyPerTick()
  • int getEnergyStored()
  • double getHeatMultiplier()
  • int getModeratorsCount() - active moderators
  • int getHeatSinksCount() - active heatsinks
  • int getFuelCellsCount()
  • int getCooling() - total of active heatsinks cooling per tick
  • int getHeat() - resulted reaction heat per tick
  • int getHeatStored()
  • void voidFuel() - removes fuel from reactor
  • Object[] getFuelInSlot() - returns table with item name and qty

Fusion reactor methods

  • boolean hasRecipe()
  • enableReactor() - turn reactor on (does not override redstone input)
  • disableReactor() - turn reactor off (disables reactor even if redstone input)
  • int getPlasmaStability()
  • int getEnergyPerTick()
  • int getEnergyStored()
  • int getHeatStored()
  • int getMaxHeatCapacity()
  • int setRFAmplification(int val) - value range 1 - 100
  • void voidFuel() - removes fuel from reactor
  • Object[] getFuelInSlot() - returns table with item name and qty
Clone this wiki locally