Formatting + set proper frame drop for advanced machines

This commit is contained in:
drcrazy 2018-04-28 13:16:50 +03:00
parent 649a6bf67f
commit 45669e8aa9
43 changed files with 149 additions and 98 deletions

View file

@ -39,7 +39,7 @@ public class BlockChunkLoader extends BlockMachineBase {
public BlockChunkLoader() {
super();
this.setCreativeTab(TechRebornCreativeTab.instance);
setCreativeTab(TechRebornCreativeTab.instance);
ShootingStar.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
}
@ -52,4 +52,9 @@ public class BlockChunkLoader extends BlockMachineBase {
public IMachineGuiHandler getGui() {
return EGui.CHUNK_LOADER;
}
@Override
public boolean isAdvanced() {
return true;
}
}

View file

@ -39,7 +39,7 @@ public class BlockMatterFabricator extends BlockMachineBase {
public BlockMatterFabricator() {
super();
this.setCreativeTab(TechRebornCreativeTab.instance);
setCreativeTab(TechRebornCreativeTab.instance);
ShootingStar.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
}

View file

@ -50,8 +50,7 @@ public class BlockQuantumChest extends BlockMachineBase {
public BlockQuantumChest() {
super();
this.setUnlocalizedName("techreborn.quantumChest");
this.setCreativeTab(TechRebornCreativeTab.instance);
this.setHardness(2.0F);
setCreativeTab(TechRebornCreativeTab.instance);
ShootingStar.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
}

View file

@ -39,8 +39,7 @@ public class BlockQuantumTank extends BlockMachineBase {
public BlockQuantumTank() {
super();
this.setHardness(2.0F);
this.setCreativeTab(TechRebornCreativeTab.instance);
setCreativeTab(TechRebornCreativeTab.instance);
ShootingStar.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
}
@ -53,4 +52,9 @@ public class BlockQuantumTank extends BlockMachineBase {
public IMachineGuiHandler getGui() {
return EGui.QUANTUM_TANK;
}
@Override
public boolean isAdvanced() {
return true;
}
}