Removed excessive setCreativeTab from blocks

This commit is contained in:
drcrazy 2018-09-25 13:56:59 +03:00
parent f600432f05
commit 1e9cfa07b6
69 changed files with 15 additions and 169 deletions

View file

@ -33,13 +33,11 @@ import reborncore.common.blocks.BlockMachineBase;
import techreborn.TechReborn;
import techreborn.client.EGui;
import techreborn.tiles.TileChunkLoader;
import techreborn.utils.TechRebornCreativeTab;
public class BlockChunkLoader extends BlockMachineBase {
public BlockChunkLoader() {
super();
setCreativeTab(TechRebornCreativeTab.instance);
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
}

View file

@ -36,14 +36,11 @@ import reborncore.common.blocks.BlockMachineBase;
import techreborn.TechReborn;
import techreborn.client.EGui;
import techreborn.tiles.TileCreativeQuantumChest;
import techreborn.utils.TechRebornCreativeTab;
public class BlockCreativeQuantumChest extends BlockMachineBase {
public BlockCreativeQuantumChest() {
super();
this.setTranslationKey("techreborn.creativeQuantumChest");
setCreativeTab(TechRebornCreativeTab.instance);
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
}

View file

@ -33,13 +33,11 @@ import reborncore.common.blocks.BlockMachineBase;
import techreborn.TechReborn;
import techreborn.client.EGui;
import techreborn.tiles.TileCreativeQuantumTank;
import techreborn.utils.TechRebornCreativeTab;
public class BlockCreativeQuantumTank extends BlockMachineBase {
public BlockCreativeQuantumTank() {
super();
setCreativeTab(TechRebornCreativeTab.instance);
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
}

View file

@ -33,13 +33,11 @@ import reborncore.common.blocks.BlockMachineBase;
import techreborn.TechReborn;
import techreborn.client.EGui;
import techreborn.tiles.machine.multiblock.TileFluidReplicator;
import techreborn.utils.TechRebornCreativeTab;
public class BlockFluidReplicator extends BlockMachineBase {
public BlockFluidReplicator() {
super();
setCreativeTab(TechRebornCreativeTab.instance);
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
}

View file

@ -33,13 +33,11 @@ import reborncore.common.blocks.BlockMachineBase;
import techreborn.TechReborn;
import techreborn.client.EGui;
import techreborn.tiles.TileMatterFabricator;
import techreborn.utils.TechRebornCreativeTab;
public class BlockMatterFabricator extends BlockMachineBase {
public BlockMatterFabricator() {
super();
setCreativeTab(TechRebornCreativeTab.instance);
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
}

View file

@ -38,16 +38,12 @@ import techreborn.TechReborn;
import techreborn.client.EGui;
import techreborn.tiles.TileQuantumChest;
import techreborn.tiles.TileTechStorageBase;
import techreborn.utils.TechRebornCreativeTab;
import java.util.List;
public class BlockQuantumChest extends BlockMachineBase {
public BlockQuantumChest() {
super();
this.setTranslationKey("techreborn.quantumChest");
setCreativeTab(TechRebornCreativeTab.instance);
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
}

View file

@ -33,13 +33,11 @@ import reborncore.common.blocks.BlockMachineBase;
import techreborn.TechReborn;
import techreborn.client.EGui;
import techreborn.tiles.TileQuantumTank;
import techreborn.utils.TechRebornCreativeTab;
public class BlockQuantumTank extends BlockMachineBase {
public BlockQuantumTank() {
super();
setCreativeTab(TechRebornCreativeTab.instance);
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
}