Fusion Reactor - CJ-MC-Mods/Overloaded GitHub Wiki

WIP

11x11 Sphere Enitty in the middle. Surrounded by casing / glass. The glass should be opaque but should allow the entity in the middle to be visible. If any of the casing is broken (Not unloaded) bad things happen.

  • If any of the block is unloaded should just turn off nicely
  • Top / Bottom are for fluid input
  • Horizontal directions are for Energy Input/Output.
  • Any block inside the inner chamber should be destroyed on startup, past that don't really care to watch / check for those events.

Code Comments

  • Ticking TE for the controller
  • Non-Ticking TE on every corner / cardinal direction to detect unloads
  • TE spawns Entity in middle just for rendering (Client side)

Punishment:

  • Need to track all blocks that are apart of Multiblock but not a TE.
    • Going to have to have my own HashMap of all included blocks
  • On Breaking of outer block should just fry normal blocks in a area around it.
  • On breaking of inner block should fry everything in a large area
    • Boss Method
      • Spawn a Boss Entity
      • Immune to physical damage
      • This entity will remove normal blocks
      • RF capable blocks will be Charged, if cannot be charged (Rate Limited or at capacity) Explode with a force comparable to the amount of RF stored.
        • This goes for entities also and the items they carry.
      • Boss is "Killed" by draining it of all its power. Need to figure out how I want to do this / balance it with my infinity containers
    • Physics Method
      • Just fry everything within range (200ish blocks?)