Moved generators to enum

This commit is contained in:
drcrazy 2018-09-24 16:49:44 +03:00
parent 86a2612b97
commit 809c02934a
16 changed files with 51 additions and 87 deletions

View file

@ -150,7 +150,7 @@ public class GuiFusionReactor extends GuiBase {
private void updateMultiBlockRender(){
final Multiblock multiblock = new Multiblock();
IBlockState coil = TRContent.FUSION_COIL.getDefaultState();
IBlockState coil = TRContent.Machine.FUSION_COIL.block.getDefaultState();
List<BlockPos> coils = Torus.generate(new BlockPos(0, 0, 0), tile.size);
coils.forEach(pos -> addComponent(pos.getX(), pos.getY(), pos.getZ(), coil, multiblock));