Refactoring & cleaning
This commit is contained in:
parent
874559c21e
commit
e5736669ca
200 changed files with 1382 additions and 1596 deletions
|
@ -49,7 +49,7 @@ import reborncore.client.models.RebornModelRegistry;
|
|||
import reborncore.common.BaseTileBlock;
|
||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||
import reborncore.common.items.WrenchHelper;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.tiles.TileAlarm;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -67,7 +67,7 @@ public class BlockAlarm extends BaseTileBlock {
|
|||
this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH).withProperty(ACTIVE, false));
|
||||
this.bbs = GenBoundingBoxes(0.19, 0.81);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/lighting"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/lighting"));
|
||||
BlockWrenchEventHandler.wrenableBlocks.add(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -38,9 +38,9 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.init.ModSounds;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
public class BlockComputerCube extends BlockMachineBase {
|
||||
|
@ -49,7 +49,7 @@ public class BlockComputerCube extends BlockMachineBase {
|
|||
super();
|
||||
this.setTranslationKey("techreborn.computercube");
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -42,9 +42,9 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
|||
import reborncore.api.ToolManager;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.init.ModSounds;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
@ -57,7 +57,7 @@ public class BlockFusionCoil extends Block {
|
|||
setHardness(2f);
|
||||
setSoundType(SoundType.METAL);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -38,9 +38,9 @@ import reborncore.client.models.ModelCompound;
|
|||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import reborncore.common.util.Torus;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.fusionReactor.TileFusionControlComputer;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
import techreborn.utils.damageSources.FusionDamageSource;
|
||||
|
@ -52,7 +52,7 @@ public class BlockFusionControlComputer extends BlockMachineBase {
|
|||
public BlockFusionControlComputer() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -43,8 +43,8 @@ import reborncore.common.RebornCoreConfig;
|
|||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||
import reborncore.common.items.WrenchHelper;
|
||||
import reborncore.common.multiblock.BlockMultiblockBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileMachineCasing;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -58,7 +58,7 @@ public class BlockMachineCasing extends BlockMultiblockBase {
|
|||
super(Material.IRON);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
setHardness(2F);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/structure"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/structure"));
|
||||
// this.setDefaultState(this.getDefaultState().withProperty(TYPE, "standard"));
|
||||
// for (int i = 0; i < types.length; i++) {
|
||||
// RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, i, "machines/structure").setInvVariant("type=" + types[i]));
|
||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.block.material.Material;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.BaseBlock;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
public class BlockMachineFrames extends BaseBlock {
|
||||
|
@ -40,7 +40,7 @@ public class BlockMachineFrames extends BaseBlock {
|
|||
super(Material.IRON);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
setHardness(1f);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/structure"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/structure"));
|
||||
}
|
||||
|
||||
// public static ItemStack getFrameByName(String name, int count) {
|
||||
|
|
|
@ -43,8 +43,8 @@ import net.minecraft.world.World;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.BaseBlock;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.entities.EntityNukePrimed;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
/**
|
||||
|
@ -58,7 +58,7 @@ public class BlockNuke extends BaseBlock {
|
|||
setTranslationKey("techreborn.nuke");
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
this.setDefaultState(this.blockState.getBaseState().withProperty(OVERLAY, false));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));
|
||||
}
|
||||
|
||||
public void ignite(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase igniter) {
|
||||
|
|
|
@ -33,15 +33,16 @@ import net.minecraft.util.NonNullList;
|
|||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import reborncore.common.blocks.PropertyString;
|
||||
import reborncore.common.registration.RebornRegistry;
|
||||
import reborncore.common.registration.RebornRegister;
|
||||
import reborncore.common.registration.impl.ConfigRegistry;
|
||||
import reborncore.common.util.OreDrop;
|
||||
import techreborn.init.TRIngredients;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.TRContent;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
@RebornRegistry(modID = ModInfo.MOD_ID)
|
||||
@RebornRegister(modID = TechReborn.MOD_ID)
|
||||
public class BlockOre extends Block {
|
||||
|
||||
public static final PropertyString VARIANTS = getVarients();
|
||||
|
@ -114,22 +115,22 @@ public class BlockOre extends Block {
|
|||
|
||||
// Secondary drop, like peridot from sapphire ore added via event handler.
|
||||
if (variant.equalsIgnoreCase("Ruby")) {
|
||||
OreDrop ruby = new OreDrop(TRIngredients.Gems.RUBY.getStack(rubyMinQuatity), rubyMaxQuantity);
|
||||
OreDrop ruby = new OreDrop(TRContent.Gems.RUBY.getStack(rubyMinQuatity), rubyMaxQuantity);
|
||||
drops.add(ruby.getDrops(fortune, random));
|
||||
} else if (variant.equalsIgnoreCase("Sapphire")) {
|
||||
OreDrop sapphire = new OreDrop(TRIngredients.Gems.SAPPHIRE.getStack(sapphireMinQuantity), sapphireMaxQuantity);
|
||||
OreDrop sapphire = new OreDrop(TRContent.Gems.SAPPHIRE.getStack(sapphireMinQuantity), sapphireMaxQuantity);
|
||||
drops.add(sapphire.getDrops(fortune, random));
|
||||
} else if (variant.equalsIgnoreCase("Pyrite")) {
|
||||
OreDrop pyriteDust = new OreDrop(TRIngredients.Dusts.PYRITE.getStack(pyriteMinQuatity), pyriteMaxQuantity);
|
||||
OreDrop pyriteDust = new OreDrop(TRContent.Dusts.PYRITE.getStack(pyriteMinQuatity), pyriteMaxQuantity);
|
||||
drops.add(pyriteDust.getDrops(fortune, random));
|
||||
} else if (variant.equalsIgnoreCase("Sodalite")) {
|
||||
OreDrop sodalite = new OreDrop(TRIngredients.Dusts.SODALITE.getStack(sodaliteMinQuatity), sodaliteMaxQuantity);
|
||||
OreDrop sodalite = new OreDrop(TRContent.Dusts.SODALITE.getStack(sodaliteMinQuatity), sodaliteMaxQuantity);
|
||||
drops.add(sodalite.getDrops(fortune, random));
|
||||
} else if (variant.equalsIgnoreCase("Cinnabar")) {
|
||||
OreDrop cinnabar = new OreDrop(TRIngredients.Dusts.CINNABAR.getStack(cinnabarMinQuatity), cinnabarMaxQuantity);
|
||||
OreDrop cinnabar = new OreDrop(TRContent.Dusts.CINNABAR.getStack(cinnabarMinQuatity), cinnabarMaxQuantity);
|
||||
drops.add(cinnabar.getDrops(fortune, random));
|
||||
} else if (variant.equalsIgnoreCase("Sphalerite")) {
|
||||
OreDrop sphalerite = new OreDrop(TRIngredients.Dusts.SPHALERITE.getStack(sphaleriteMinQuatity), sphaleriteMaxQuantity);
|
||||
OreDrop sphalerite = new OreDrop(TRContent.Dusts.SPHALERITE.getStack(sphaleriteMinQuatity), sphaleriteMaxQuantity);
|
||||
drops.add(sphalerite.getDrops(fortune, random));
|
||||
} else {
|
||||
drops.add(new ItemStack(Item.getItemFromBlock(this), 1, meta));
|
||||
|
|
|
@ -33,7 +33,7 @@ import net.minecraftforge.fml.relauncher.Side;
|
|||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import java.util.Random;
|
||||
|
@ -46,7 +46,7 @@ public class BlockReinforcedGlass extends BlockGlass {
|
|||
setSoundType(SoundType.STONE);
|
||||
setHardness(4.0F);
|
||||
setResistance(60F);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -40,9 +40,8 @@ import net.minecraftforge.fml.relauncher.Side;
|
|||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import techreborn.Core;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -56,7 +55,7 @@ public class BlockRubberLeaves extends BlockLeaves {
|
|||
this.setDefaultState(this.getDefaultState().withProperty(CHECK_DECAY, true)
|
||||
.withProperty(DECAYABLE, true));
|
||||
Blocks.FIRE.setFireInfo(this, 30, 60);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, CHECK_DECAY, DECAYABLE));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, CHECK_DECAY, DECAYABLE));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -139,6 +138,6 @@ public class BlockRubberLeaves extends BlockLeaves {
|
|||
}
|
||||
|
||||
public boolean fancyLeaves(){
|
||||
return Core.proxy.fancyGraphics();
|
||||
return TechReborn.proxy.fancyGraphics();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,12 +46,12 @@ import net.minecraftforge.energy.IEnergyStorage;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.util.WorldUtils;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.events.TRRecipeHandler;
|
||||
import techreborn.init.ModSounds;
|
||||
import techreborn.init.TRIngredients;
|
||||
import techreborn.init.TRContent;
|
||||
import techreborn.items.tools.ItemElectricTreetap;
|
||||
import techreborn.items.tools.ItemTreeTap;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -75,7 +75,7 @@ public class BlockRubberLog extends Block {
|
|||
this.setTickRandomly(true);
|
||||
this.setSoundType(SoundType.WOOD);
|
||||
Blocks.FIRE.setFireInfo(this, 5, 5);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -186,8 +186,8 @@ public class BlockRubberLog extends Block {
|
|||
} else {
|
||||
playerIn.getHeldItem(EnumHand.MAIN_HAND).damageItem(1, playerIn);
|
||||
}
|
||||
if (!playerIn.inventory.addItemStackToInventory(TRIngredients.Parts.SAP.getStack())) {
|
||||
WorldUtils.dropItem(TRIngredients.Parts.SAP.getStack(), worldIn, pos.offset(side));
|
||||
if (!playerIn.inventory.addItemStackToInventory(TRContent.Parts.SAP.getStack())) {
|
||||
WorldUtils.dropItem(TRContent.Parts.SAP.getStack(), worldIn, pos.offset(side));
|
||||
}
|
||||
if (playerIn instanceof EntityPlayerMP) {
|
||||
TRRecipeHandler.unlockTRRecipes((EntityPlayerMP) playerIn);
|
||||
|
@ -210,7 +210,7 @@ public class BlockRubberLog extends Block {
|
|||
drops.add(new ItemStack(this));
|
||||
if (state.getValue(HAS_SAP)) {
|
||||
if (new Random().nextInt(4) == 0) {
|
||||
drops.add(TRIngredients.Parts.SAP.getStack());
|
||||
drops.add(TRContent.Parts.SAP.getStack());
|
||||
}
|
||||
}
|
||||
return drops;
|
||||
|
|
|
@ -30,7 +30,7 @@ import net.minecraft.block.material.Material;
|
|||
import net.minecraft.init.Blocks;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
/**
|
||||
|
@ -44,6 +44,6 @@ public class BlockRubberPlank extends Block {
|
|||
this.setHardness(2.0F);
|
||||
this.setSoundType(SoundType.WOOD);
|
||||
Blocks.FIRE.setFireInfo(this, 5, 20);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ import net.minecraft.world.IBlockAccess;
|
|||
import net.minecraft.world.World;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import java.util.Random;
|
||||
|
@ -67,7 +67,7 @@ public abstract class BlockRubberPlankSlab extends BlockSlab {
|
|||
setSoundType(SoundType.WOOD);
|
||||
this.setDefaultState(iblockstate.withProperty(VARIANT, BlockRubberPlankSlab.Variant.DEFAULT));
|
||||
useNeighborBrightness = true;
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.block.BlockStairs;
|
|||
import net.minecraft.block.state.IBlockState;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
public class BlockRubberPlankStair extends BlockStairs {
|
||||
|
@ -37,6 +37,6 @@ public class BlockRubberPlankStair extends BlockStairs {
|
|||
super(modelState);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
useNeighborBrightness = true;
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));
|
||||
}
|
||||
}
|
|
@ -34,7 +34,7 @@ import net.minecraft.util.math.BlockPos;
|
|||
import net.minecraft.world.World;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
import techreborn.world.RubberTreeGenerator;
|
||||
|
||||
|
@ -49,7 +49,7 @@ public class BlockRubberSapling extends BlockSapling {
|
|||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
this.setDefaultState(this.getDefaultState().withProperty(STAGE, 0));
|
||||
setSoundType(SoundType.PLANT);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -24,13 +24,12 @@
|
|||
|
||||
package techreborn.blocks;
|
||||
|
||||
import reborncore.common.registration.RebornRegistry;
|
||||
import reborncore.common.registration.RebornRegister;
|
||||
import reborncore.common.registration.impl.ConfigRegistry;
|
||||
import techreborn.lib.ModInfo;
|
||||
|
||||
import techreborn.TechReborn;
|
||||
|
||||
//This is in its own class as not to load the block class before
|
||||
@RebornRegistry(modID = ModInfo.MOD_ID, priority = 1, earlyReg = true)
|
||||
@RebornRegister(modID = TechReborn.MOD_ID, priority = 1, earlyReg = true)
|
||||
public class OreBlockStateManager {
|
||||
//This is a one off config, dont worry about it
|
||||
@ConfigRegistry(config = "misc", category = "misc", key = "endOreStone", comment = "Set to true to render the end ores with a stone background")
|
||||
|
|
|
@ -50,11 +50,11 @@ import reborncore.api.ToolManager;
|
|||
import reborncore.common.RebornCoreConfig;
|
||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||
import reborncore.common.items.WrenchHelper;
|
||||
import reborncore.common.registration.RebornRegistry;
|
||||
import reborncore.common.registration.RebornRegister;
|
||||
import reborncore.common.registration.impl.ConfigRegistry;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.init.ModSounds;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.cable.TileCable;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
import techreborn.utils.damageSources.ElectrialShockSource;
|
||||
|
@ -65,7 +65,7 @@ import java.security.InvalidParameterException;
|
|||
/**
|
||||
* Created by modmuss50 on 19/05/2017.
|
||||
*/
|
||||
@RebornRegistry(modID = ModInfo.MOD_ID)
|
||||
@RebornRegister(modID = TechReborn.MOD_ID)
|
||||
public class BlockCable extends BlockContainer {
|
||||
|
||||
public static final PropertyBool EAST = PropertyBool.create("east");
|
||||
|
|
|
@ -30,8 +30,8 @@ import net.minecraftforge.common.config.Configuration;
|
|||
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
||||
import reborncore.api.power.EnumPowerTier;
|
||||
import reborncore.common.registration.impl.ConfigRegistryFactory;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.lib.ModInfo;
|
||||
|
||||
public enum EnumCableType implements IStringSerializable {
|
||||
COPPER("copper", "techreborn:blocks/cables/copper_cable", 128, 12.0, true, EnumPowerTier.MEDIUM),
|
||||
|
@ -75,7 +75,7 @@ public enum EnumCableType implements IStringSerializable {
|
|||
|
||||
@SubscribeEvent
|
||||
public static void handleConfig(ConfigRegistryFactory.RebornRegistryEvent event){
|
||||
Configuration config = event.getConfiguration(ModInfo.MOD_ID, "misc");
|
||||
Configuration config = event.getConfiguration(TechReborn.MOD_ID, "misc");
|
||||
for(EnumCableType cableType : values()){
|
||||
cableType.transferRate = config.getInt(cableType.friendlyName + "_transfer_rate", "cable", cableType.defaultTransferRate, 0, Integer.MAX_VALUE, "Cable transfer rate");
|
||||
cableType.canKill = config.getBoolean(cableType.friendlyName + "_do_damage", "cable", cableType.defaultCanKill, "Set to true to allow cable to do damge to enties that come in contact with it");
|
||||
|
|
|
@ -42,8 +42,8 @@ import reborncore.common.BaseTileBlock;
|
|||
import reborncore.common.RebornCoreConfig;
|
||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||
import reborncore.common.items.WrenchHelper;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.generator.TileCreativeSolarPanel;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -56,7 +56,7 @@ public class BlockCreativeSolarPanel extends BaseTileBlock {
|
|||
super(Material.IRON);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
setHardness(2.0F);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
BlockWrenchEventHandler.wrenableBlocks.add(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.generator.TileDieselGenerator;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -43,7 +43,7 @@ public class BlockDieselGenerator extends BlockMachineBase {
|
|||
public BlockDieselGenerator() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,7 +30,7 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.tiles.generator.TileDragonEggSyphon;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -39,7 +39,7 @@ public class BlockDragonEggSyphon extends BlockMachineBase {
|
|||
public BlockDragonEggSyphon() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.generator.TileGasTurbine;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockGasTurbine extends BlockMachineBase {
|
|||
public BlockGasTurbine() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,7 +30,7 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.tiles.generator.TileLightningRod;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -39,7 +39,7 @@ public class BlockLightningRod extends BlockMachineBase {
|
|||
public BlockLightningRod() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -32,7 +32,7 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -42,7 +42,7 @@ public class BlockMagicEnergyAbsorber extends BlockMachineBase {
|
|||
public BlockMagicEnergyAbsorber() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -32,7 +32,7 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -42,7 +42,7 @@ public class BlockMagicEnergyConverter extends BlockMachineBase {
|
|||
public BlockMagicEnergyConverter() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.generator.TilePlasmaGenerator;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -43,7 +43,7 @@ public class BlockPlasmaGenerator extends BlockMachineBase {
|
|||
public BlockPlasmaGenerator() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.generator.TileSemiFluidGenerator;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockSemiFluidGenerator extends BlockMachineBase {
|
|||
public BlockSemiFluidGenerator() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.generator.TileSolidFuelGenerator;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockSolidFuelGenerator extends BlockMachineBase {
|
|||
public BlockSolidFuelGenerator() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.generator.TileThermalGenerator;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockThermalGenerator extends BlockMachineBase {
|
|||
public BlockThermalGenerator() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,7 +30,7 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.tiles.generator.TileWaterMill;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class BlockWaterMill extends BlockMachineBase {
|
|||
public BlockWaterMill() {
|
||||
super(false);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,7 +30,7 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.tiles.generator.TileWindMill;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class BlockWindMill extends BlockMachineBase {
|
|||
public BlockWindMill() {
|
||||
super(false);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/generators"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/generators"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -45,7 +45,7 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.tiles.generator.TileSolarPanel;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -63,7 +63,7 @@ public class BlockSolarPanel extends BlockMachineBase {
|
|||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
this.setDefaultState(this.getBlockState().getBaseState().withProperty(ACTIVE, false).withProperty(TYPE, EnumPanelType.Basic));
|
||||
for (int i = 0; i < panes.length; i++) {
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, i, "machines/generators").setInvVariant("active=false,type=" + panes[i]));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, i, "machines/generators").setInvVariant("active=false,type=" + panes[i]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ import reborncore.client.models.RebornModelRegistry;
|
|||
import reborncore.common.BaseTileBlock;
|
||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||
import reborncore.common.items.WrenchHelper;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.tiles.lighting.TileLamp;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -67,7 +67,7 @@ public class BlockLamp extends BaseTileBlock {
|
|||
this.bbs = GenBoundingBoxes(depth, width);
|
||||
this.cost = cost;
|
||||
this.brightness = brightness;
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/lighting"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/lighting"));
|
||||
BlockWrenchEventHandler.wrenableBlocks.add(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -45,8 +45,7 @@ import reborncore.client.models.RebornModelRegistry;
|
|||
import reborncore.common.BaseTileBlock;
|
||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||
import reborncore.common.items.WrenchHelper;
|
||||
import techreborn.Core;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
@ -67,7 +66,7 @@ public abstract class BlockEnergyStorage extends BaseTileBlock {
|
|||
this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH));
|
||||
this.name = name;
|
||||
this.guiID = guiID;
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/energy"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/energy"));
|
||||
BlockWrenchEventHandler.wrenableBlocks.add(this);
|
||||
}
|
||||
|
||||
|
@ -172,7 +171,7 @@ public abstract class BlockEnergyStorage extends BaseTileBlock {
|
|||
}
|
||||
|
||||
if (!playerIn.isSneaking()) {
|
||||
playerIn.openGui(Core.INSTANCE, guiID, worldIn, pos.getX(), pos.getY(), pos.getZ());
|
||||
playerIn.openGui(TechReborn.INSTANCE, guiID, worldIn, pos.getX(), pos.getY(), pos.getZ());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,8 +44,8 @@ import reborncore.common.BaseTileBlock;
|
|||
import reborncore.common.RebornCoreConfig;
|
||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||
import reborncore.common.items.WrenchHelper;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.lesu.TileLSUStorage;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -57,7 +57,7 @@ public class BlockLSUStorage extends BaseTileBlock {
|
|||
public BlockLSUStorage() {
|
||||
super(Material.IRON);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/energy"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/energy"));
|
||||
BlockWrenchEventHandler.wrenableBlocks.add(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -34,8 +34,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier0.TileIronAlloyFurnace;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -47,7 +47,7 @@ public class BlockIronAlloyFurnace extends BlockMachineBase {
|
|||
public BlockIronAlloyFurnace() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier0_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier0_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -38,8 +38,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier0.TileIronFurnace;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -52,7 +52,7 @@ public class BlockIronFurnace extends BlockMachineBase {
|
|||
public BlockIronFurnace() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier0_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier0_machines"));
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileAlloySmelter;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockAlloySmelter extends BlockMachineBase {
|
|||
public BlockAlloySmelter() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileAssemblingMachine;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockAssemblingMachine extends BlockMachineBase {
|
|||
public BlockAssemblingMachine() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -32,8 +32,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileAutoCraftingTable;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -43,7 +43,7 @@ public class BlockAutoCraftingTable extends BlockMachineBase {
|
|||
super(true);
|
||||
setTranslationKey("techreborn.electriccraftingtable");
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileCompressor;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockCompressor extends BlockMachineBase {
|
|||
public BlockCompressor() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileElectricFurnace;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockElectricFurnace extends BlockMachineBase {
|
|||
public BlockElectricFurnace() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileExtractor;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockExtractor extends BlockMachineBase {
|
|||
public BlockExtractor() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileGrinder;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockGrinder extends BlockMachineBase {
|
|||
public BlockGrinder() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -56,9 +56,9 @@ import reborncore.common.blocks.PropertyString;
|
|||
import reborncore.common.util.ArrayUtils;
|
||||
import reborncore.common.util.ChatUtils;
|
||||
import reborncore.common.util.StringUtils;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.lib.MessageIDs;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TilePlayerDectector;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -76,7 +76,7 @@ public class BlockPlayerDetector extends BlockMachineBase {
|
|||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
this.setDefaultState(this.getStateFromMeta(0));
|
||||
for (int i = 0; i < types.length; i++) {
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, i, "machines/tier1_machines").setInvVariant("type=" + types[i]));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, i, "machines/tier1_machines").setInvVariant("type=" + types[i]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileRecycler;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockRecycler extends BlockMachineBase {
|
|||
public BlockRecycler() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileRollingMachine;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockRollingMachine extends BlockMachineBase {
|
|||
public BlockRollingMachine() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileScrapboxinator;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockScrapboxinator extends BlockMachineBase {
|
|||
public BlockScrapboxinator() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier1_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier1_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileChargeOMat;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockChargeOMat extends BlockMachineBase {
|
|||
public BlockChargeOMat() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileChemicalReactor;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockChemicalReactor extends BlockMachineBase {
|
|||
public BlockChemicalReactor() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -34,8 +34,8 @@ import reborncore.client.models.ModelCompound;
|
|||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import reborncore.common.util.WorldUtils;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileDigitalChest;
|
||||
import techreborn.tiles.TileTechStorageBase;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
@ -48,7 +48,7 @@ public class BlockDigitalChest extends BlockMachineBase {
|
|||
super();
|
||||
this.setTranslationKey("techreborn.digitalChest");
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.multiblock.TileDistillationTower;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockDistillationTower extends BlockMachineBase {
|
|||
public BlockDistillationTower() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.multiblock.TileImplosionCompressor;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockImplosionCompressor extends BlockMachineBase {
|
|||
public BlockImplosionCompressor() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.multiblock.TileIndustrialBlastFurnace;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockIndustrialBlastFurnace extends BlockMachineBase {
|
|||
public BlockIndustrialBlastFurnace() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileIndustrialCentrifuge;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockIndustrialCentrifuge extends BlockMachineBase {
|
|||
public BlockIndustrialCentrifuge() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.tier1.TileIndustrialElectrolyzer;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockIndustrialElectrolyzer extends BlockMachineBase {
|
|||
public BlockIndustrialElectrolyzer() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.multiblock.TileIndustrialGrinder;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockIndustrialGrinder extends BlockMachineBase {
|
|||
public BlockIndustrialGrinder() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.multiblock.TileIndustrialSawmill;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockIndustrialSawmill extends BlockMachineBase {
|
|||
public BlockIndustrialSawmill() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.multiblock.TileVacuumFreezer;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockVacuumFreezer extends BlockMachineBase {
|
|||
public BlockVacuumFreezer() {
|
||||
super();
|
||||
this.setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier2_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileChunkLoader;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockChunkLoader extends BlockMachineBase {
|
|||
public BlockChunkLoader() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -33,8 +33,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileCreativeQuantumChest;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -44,7 +44,7 @@ public class BlockCreativeQuantumChest extends BlockMachineBase {
|
|||
super();
|
||||
this.setTranslationKey("techreborn.creativeQuantumChest");
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileCreativeQuantumTank;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockCreativeQuantumTank extends BlockMachineBase {
|
|||
public BlockCreativeQuantumTank() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.multiblock.TileFluidReplicator;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockFluidReplicator extends BlockMachineBase {
|
|||
public BlockFluidReplicator() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileMatterFabricator;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockMatterFabricator extends BlockMachineBase {
|
|||
public BlockMatterFabricator() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -34,8 +34,8 @@ import reborncore.client.models.ModelCompound;
|
|||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import reborncore.common.util.WorldUtils;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileQuantumChest;
|
||||
import techreborn.tiles.TileTechStorageBase;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
@ -48,7 +48,7 @@ public class BlockQuantumChest extends BlockMachineBase {
|
|||
super();
|
||||
this.setTranslationKey("techreborn.quantumChest");
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,8 +30,8 @@ import reborncore.api.tile.IMachineGuiHandler;
|
|||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.client.EGui;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.tiles.TileQuantumTank;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class BlockQuantumTank extends BlockMachineBase {
|
|||
public BlockQuantumTank() {
|
||||
super();
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier3_machines"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/tier3_machines"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -45,7 +45,7 @@ import reborncore.client.models.RebornModelRegistry;
|
|||
import reborncore.common.BaseTileBlock;
|
||||
import reborncore.common.blocks.BlockWrenchEventHandler;
|
||||
import reborncore.common.items.WrenchHelper;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
@ -64,7 +64,7 @@ public abstract class BlockTransformer extends BaseTileBlock {
|
|||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH));
|
||||
this.name = name;
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/energy"));
|
||||
RebornModelRegistry.registerModel(new ModelCompound(TechReborn.MOD_ID, this, "machines/energy"));
|
||||
BlockWrenchEventHandler.wrenableBlocks.add(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue