Start of new texturesm, again

This commit is contained in:
modmuss50 2016-11-28 12:54:44 +00:00
parent 360d9c2756
commit 83ef3e7577
1733 changed files with 3934 additions and 2931 deletions

View file

@ -23,7 +23,7 @@ import techreborn.tiles.TileMachineCasing;
import java.util.Random;
public class BlockMachineCasing extends BlockMultiblockBase implements ITexturedBlock {
public class BlockMachineCasing extends BlockMultiblockBase {
public static final String[] types = new String[] { "standard", "reinforced", "advanced" };
public static final PropertyInteger METADATA = PropertyInteger.create("type", 0, types.length);
@ -91,14 +91,5 @@ public class BlockMachineCasing extends BlockMultiblockBase implements ITextured
return b != this && super.shouldSideBeRendered(blockState, worldIn, pos, side);
}
@Override
public String getTextureNameFromState(IBlockState blockState, EnumFacing facing) {
return "techreborn:blocks/machine/machine_blocks/casing" + types[getMetaFromState(blockState)] + "_full";
}
@Override
public int amountOfStates() {
return types.length;
}
}

View file

@ -129,7 +129,7 @@ public class BlockPlayerDetector extends BlockMachineBase implements ITexturedBl
@Override
public String getTextureNameFromState(IBlockState blockState, EnumFacing facing) {
return "techreborn:blocks/machine/greg_machines/player_detector_" + types[getMetaFromState(blockState)];
return "techreborn:blocks/machines/tier1_machines/player_detector_" + types[getMetaFromState(blockState)].toLowerCase();
}
@Override

View file

@ -18,7 +18,7 @@ import techreborn.tiles.generator.TileSolarPanel;
/**
* Created by modmuss50 on 25/02/2016.
*/
public class BlockSolarPanel extends BaseTileBlock implements ITexturedBlock {
public class BlockSolarPanel extends BaseTileBlock {
public static PropertyBool ACTIVE = PropertyBool.create("active");
private final String prefix = "techreborn:blocks/machine/generators/";
@ -79,19 +79,4 @@ public class BlockSolarPanel extends BaseTileBlock implements ITexturedBlock {
}
}
@Override
public String getTextureNameFromState(IBlockState state, EnumFacing side) {
boolean isActive = state.getValue(ACTIVE);
if (side == EnumFacing.UP) {
return prefix + "solar_panel_top_" + (isActive ? "on" : "off");
} else if (side == EnumFacing.DOWN) {
return prefix + "generator_machine_bottom";
}
return prefix + "solar_panel_side_" + (isActive ? "on" : "off");
}
@Override
public int amountOfStates() {
return 2;
}
}

View file

@ -14,7 +14,7 @@ import techreborn.tiles.generator.TileWaterMill;
/**
* Created by modmuss50 on 25/02/2016.
*/
public class BlockWaterMill extends BaseTileBlock implements ITexturedBlock {
public class BlockWaterMill extends BaseTileBlock {
private final String prefix = "techreborn:blocks/machine/generators/";
@ -31,20 +31,4 @@ public class BlockWaterMill extends BaseTileBlock implements ITexturedBlock {
return new TileWaterMill();
}
@Override
public String getTextureNameFromState(IBlockState state, EnumFacing side) {
boolean isActive = false;
if (side == EnumFacing.UP) {
return prefix + "generator_machine_bottom";// + (isActive ? "on" :
// "off");
} else if (side == EnumFacing.DOWN) {
return prefix + "generator_machine_bottom";
}
return prefix + "solar_panel_side_" + (isActive ? "on" : "off");
}
@Override
public int amountOfStates() {
return 2;
}
}

View file

@ -14,7 +14,7 @@ import techreborn.tiles.generator.TileWindMill;
/**
* Created by modmuss50 on 25/02/2016.
*/
public class BlockWindMill extends BaseTileBlock implements ITexturedBlock {
public class BlockWindMill extends BaseTileBlock {
private final String prefix = "techreborn:blocks/machine/generators/";
@ -31,20 +31,4 @@ public class BlockWindMill extends BaseTileBlock implements ITexturedBlock {
return new TileWindMill();
}
@Override
public String getTextureNameFromState(IBlockState state, EnumFacing side) {
boolean isActive = false;
if (side == EnumFacing.UP) {
return prefix + "generator_machine_bottom";// + (isActive ? "on" :
// "off");
} else if (side == EnumFacing.DOWN) {
return prefix + "generator_machine_bottom";
}
return prefix + "solar_panel_side_" + (isActive ? "on" : "off");
}
@Override
public int amountOfStates() {
return 2;
}
}

View file

@ -27,7 +27,7 @@ import java.util.Random;
*/
public abstract class BlockEnergyStorage extends BaseTileBlock implements IRotationTexture, ITexturedBlock {
public static PropertyDirection FACING = PropertyDirection.create("facing", Facings.ALL);
protected final String prefix = "techreborn:blocks/machine/storage/";
protected final String prefix = "techreborn:blocks/machines/energy/";
public String name;
public int guiID;
@ -119,27 +119,27 @@ public abstract class BlockEnergyStorage extends BaseTileBlock implements IRotat
@Override
public String getFrontOff() {
return prefix + name.toLowerCase() + "_front";
return prefix + getSimpleName(name.toLowerCase()) + "_front";
}
@Override
public String getFrontOn() {
return prefix + name.toLowerCase() + "_front";
return prefix + getSimpleName(name.toLowerCase()) + "_front";
}
@Override
public String getSide() {
return prefix + name.toLowerCase() + "_side";
return prefix + getSimpleName(name.toLowerCase()) + "_side";
}
@Override
public String getTop() {
return prefix + name.toLowerCase() + "_top";
return prefix + getSimpleName(name.toLowerCase()) + "_side";
}
@Override
public String getBottom() {
return prefix + name.toLowerCase() + "_bottom";
return prefix + getSimpleName(name.toLowerCase()) + "_side";
}
@Override
@ -191,4 +191,26 @@ public abstract class BlockEnergyStorage extends BaseTileBlock implements IRotat
}
}
public String getSimpleName(String fullName) {
if (fullName.equalsIgnoreCase("Batbox")) {
return "lv_storage";
}
if (fullName.equalsIgnoreCase("MFE")) {
return "mv_storage";
}
if (fullName.equalsIgnoreCase("MFSU")) {
return "hv_storage";
}
if (fullName.equalsIgnoreCase("AESU")) {
return "ev_storage_adjust";
}
if (fullName.equalsIgnoreCase("IDSU")) {
return "ev_storage_transmitter";
}
if (fullName.equalsIgnoreCase("LESU")) {
return "ev_multi";
}
return fullName.toLowerCase();
}
}

View file

@ -34,7 +34,7 @@ import java.util.Random;
*/
public abstract class BlockTransformer extends BaseTileBlock implements IRotationTexture, ITexturedBlock {
public static PropertyDirection FACING = PropertyDirection.create("facing", Facings.ALL);
protected final String prefix = "techreborn:blocks/machine/storage/";
protected final String prefix = "techreborn:blocks/machines/energy/";
public String name;
public BlockTransformer(String name) {
@ -188,27 +188,27 @@ public abstract class BlockTransformer extends BaseTileBlock implements IRotatio
@Override
public String getFrontOff() {
return prefix + name.toLowerCase() + "_front";
return prefix + name.toLowerCase().replace("transformer", "") + "_transformer_front";
}
@Override
public String getFrontOn() {
return prefix + name.toLowerCase() + "_front";
return prefix + name.toLowerCase().replace("transformer", "") + "_transformer_front";
}
@Override
public String getSide() {
return prefix + name.toLowerCase() + "_side";
return prefix + name.toLowerCase().replace("transformer", "") + "_transformer_side";
}
@Override
public String getTop() {
return prefix + name.toLowerCase() + "_side";
return prefix + name.toLowerCase().replace("transformer", "") + "_transformer_side";
}
@Override
public String getBottom() {
return prefix + name.toLowerCase() + "_side";
return prefix + name.toLowerCase().replace("transformer", "") + "_transformer_side";
}
@Override

View file

@ -120,55 +120,67 @@ public class ModBlocks {
thermalGenerator = new BlockThermalGenerator();
registerBlock(thermalGenerator, "techreborn.thermalGenerator");
GameRegistry.registerTileEntity(TileThermalGenerator.class, "TileThermalGeneratorTR");
Core.proxy.registerCustomBlockStateLocation(thermalGenerator, "machines/generators/thermal_generator");
quantumTank = new BlockQuantumTank();
registerBlock(quantumTank, ItemBlockQuantumTank.class, "techreborn.quantumTank");
GameRegistry.registerTileEntity(TileQuantumTank.class, "TileQuantumTankTR");
Core.proxy.registerCustomBlockStateLocation(quantumTank, "machines/tier3_machines/quantum_tank");
quantumChest = new BlockQuantumChest();
registerBlock(quantumChest, ItemBlockQuantumChest.class, "techreborn.quantumChest");
GameRegistry.registerTileEntity(TileQuantumChest.class, "TileQuantumChestTR");
Core.proxy.registerCustomBlockStateLocation(quantumChest, "machines/tier3_machines/quantum_chest");
digitalChest = new BlockDigitalChest();
registerBlock(digitalChest, ItemBlockDigitalChest.class, "techreborn.digitalChest");
GameRegistry.registerTileEntity(TileDigitalChest.class, "TileDigitalChestTR");
Core.proxy.registerCustomBlockStateLocation(digitalChest, "machines/tier2_machines/digital_chest");
centrifuge = new BlockCentrifuge();
registerBlock(centrifuge, "techreborn.centrifuge");
GameRegistry.registerTileEntity(TileCentrifuge.class, "TileCentrifugeTR");
Core.proxy.registerCustomBlockSateLocation(centrifuge, "machines/centrifuge");
Core.proxy.registerCustomBlockStateLocation(centrifuge, "machines/tier2_machines/industrial_centrifuge");
RollingMachine = new BlockRollingMachine(Material.ROCK);
registerBlock(RollingMachine, "rollingmachine");
GameRegistry.registerTileEntity(TileRollingMachine.class, "TileRollingMachineTR");
Core.proxy.registerCustomBlockStateLocation(RollingMachine, "machines/tier1_machines/rolling_machine");
BlastFurnace = new BlockBlastFurnace(Material.ROCK);
registerBlock(BlastFurnace, "blastFurnace");
GameRegistry.registerTileEntity(TileBlastFurnace.class, "TileBlastFurnaceTR");
Core.proxy.registerCustomBlockStateLocation(BlastFurnace, "machines/tier2_machines/industrial_blast_furnace");
AlloySmelter = new BlockAlloySmelter(Material.ROCK);
registerBlock(AlloySmelter, "alloySmelter");
GameRegistry.registerTileEntity(TileAlloySmelter.class, "TileAlloySmalterTR");
Core.proxy.registerCustomBlockStateLocation(AlloySmelter, "machines/tier1_machines/electric_alloy_smelter");
IndustrialGrinder = new BlockIndustrialGrinder(Material.ROCK);
registerBlock(IndustrialGrinder, "grinder");
GameRegistry.registerTileEntity(TileIndustrialGrinder.class, "TileIndustrialGrinderTR");
Core.proxy.registerCustomBlockStateLocation(IndustrialGrinder, "machines/tier2_machines/industrial_grinder");
ImplosionCompressor = new BlockImplosionCompressor(Material.ROCK);
registerBlock(ImplosionCompressor, "implosioncompressor");
GameRegistry.registerTileEntity(TileImplosionCompressor.class, "TileImplosionCompressorTR");
Core.proxy.registerCustomBlockStateLocation(ImplosionCompressor, "machines/tier2_machines/implosion_compressor");
MatterFabricator = new BlockMatterFabricator(Material.ROCK);
registerBlock(MatterFabricator, "matterfabricator");
GameRegistry.registerTileEntity(TileMatterFabricator.class, "TileMatterFabricatorTR");
Core.proxy.registerCustomBlockStateLocation(MatterFabricator, "machines/tier3_machines/matter_fabricator");
ChunkLoader = new BlockChunkLoader(Material.ROCK);
registerBlock(ChunkLoader, "chunkloader");
GameRegistry.registerTileEntity(TileChunkLoader.class, "TileChunkLoaderTR");
Core.proxy.registerCustomBlockStateLocation(ChunkLoader, "machines/tier3_machines/industrial_chunk_loader");
chargeBench = new BlockChargeBench(Material.ROCK);
registerBlock(chargeBench, "chargebench");
GameRegistry.registerTileEntity(TileChargeBench.class, "TileChargeBench");
Core.proxy.registerCustomBlockStateLocation(chargeBench, "machines/tier2_machines/charge_bench");
playerDetector = new BlockPlayerDetector();
registerBlock(playerDetector, ItemBlockPlayerDetector.class, "playerDetector");
@ -177,56 +189,83 @@ public class ModBlocks {
MachineCasing = new BlockMachineCasing(Material.ROCK);
registerBlock(MachineCasing, ItemBlockMachineCasing.class, "machinecasing");
GameRegistry.registerTileEntity(TileMachineCasing.class, "TileMachineCasingTR");
Core.proxy.registerCustomBlockStateLocation(MachineCasing, "machines/structure/machine_casing");
ore = new BlockOre(Material.ROCK);
registerBlock(ore, ItemBlockOre.class, "techreborn.ore");
for (int i = 0; i < BlockOre.ores.length; i++) {
Core.proxy.registerSubBlockInventoryLocation(ore, i, "storage/ores", BlockOre.ores[i]);
}
ore2 = new BlockOre2(Material.ROCK);
registerBlock(ore2, ItemBlockOre2.class, "techreborn.ore2");
for (int i = 0; i < BlockOre2.ores.length; i++) {
Core.proxy.registerSubBlockInventoryLocation(ore2, i, "storage/ores", BlockOre2.ores[i]);
}
storage = new BlockStorage(Material.IRON);
registerBlock(storage, ItemBlockStorage.class, "techreborn.storage");
for (int i = 0; i < BlockStorage.types.length; i++) {
Core.proxy.registerSubBlockInventoryLocation(storage, i, "storage/storage", BlockStorage.types[i]);
}
storage2 = new BlockStorage2(Material.IRON);
registerBlock(storage2, ItemBlockStorage2.class, "techreborn.storage2");
for (int i = 0; i < BlockStorage2.types.length; i++) {
Core.proxy.registerSubBlockInventoryLocation(storage2, i, "storage/storage", BlockStorage2.types[i]);
}
Dragoneggenergysiphoner = new BlockDragonEggSiphoner(Material.ROCK);
registerBlock(Dragoneggenergysiphoner, "dragoneggenergsiphon");
GameRegistry.registerTileEntity(TileDragonEggSiphoner.class, "TileDragonEggSiphonerTR");
Core.proxy.registerCustomBlockStateLocation(Dragoneggenergysiphoner, "machines/generators/dragon_egg_syphon");
Magicenergeyconverter = new BlockMagicEnergyConverter(Material.ROCK);
registerBlock(Magicenergeyconverter, "magicenergyconverter");
Core.proxy.registerCustomBlockStateLocation(Magicenergeyconverter, "machines/generators/magic_energy_converter");
AssemblyMachine = new BlockAssemblingMachine(Material.ROCK);
registerBlock(AssemblyMachine, "assemblymachine");
GameRegistry.registerTileEntity(TileAssemblingMachine.class, "TileAssemblyMachineTR");
Core.proxy.registerCustomBlockStateLocation(AssemblyMachine, "machines/tier1_machines/assembly_machine");
DieselGenerator = new BlockDieselGenerator(Material.ROCK);
registerBlock(DieselGenerator, "dieselgenerator");
GameRegistry.registerTileEntity(TileDieselGenerator.class, "TileDieselGeneratorTR");
Core.proxy.registerCustomBlockStateLocation(DieselGenerator, "machines/generators/diesel_generator");
IndustrialElectrolyzer = new BlockIndustrialElectrolyzer(Material.ROCK);
registerBlock(IndustrialElectrolyzer, "industrialelectrolyzer");
GameRegistry.registerTileEntity(TileIndustrialElectrolyzer.class, "TileIndustrialElectrolyzerTR");
Core.proxy.registerCustomBlockStateLocation(IndustrialElectrolyzer, "machines/tier1_machines/industrial_electrolyzer");
MagicalAbsorber = new BlockMagicEnergyAbsorber(Material.ROCK);
registerBlock(MagicalAbsorber, "magicrnergyabsorber");
Core.proxy.registerCustomBlockStateLocation(MagicalAbsorber, "machines/generators/magic_energy_absorber");
Semifluidgenerator = new BlockSemiFluidGenerator(Material.ROCK);
registerBlock(Semifluidgenerator, "semifluidgenerator");
GameRegistry.registerTileEntity(TileSemifluidGenerator.class, "TileSemifluidGeneratorTR");
Core.proxy.registerCustomBlockStateLocation(Semifluidgenerator, "machines/generators/semi_fluid_generator");
Gasturbine = new BlockGasTurbine(Material.ROCK);
registerBlock(Gasturbine, "gasturbine");
GameRegistry.registerTileEntity(TileGasTurbine.class, "TileGassTurbineTR");
Core.proxy.registerCustomBlockStateLocation(Gasturbine, "machines/generators/gas_turbine");
AlloyFurnace = new BlockAlloyFurnace(Material.ROCK);
registerBlock(AlloyFurnace, "alloyfurnace");
GameRegistry.registerTileEntity(TileAlloyFurnace.class, "TileAlloyFurnaceTR");
Core.proxy.registerCustomBlockStateLocation(AlloyFurnace, "machines/tier0_machines/alloy_furnace");
ChemicalReactor = new BlockChemicalReactor(Material.ROCK);
registerBlock(ChemicalReactor, "chemicalreactor");
GameRegistry.registerTileEntity(TileChemicalReactor.class, "TileChemicalReactorTR");
Core.proxy.registerCustomBlockStateLocation(ChemicalReactor, "machines/tier1_machines/chemical_reactor");
Idsu = new BlockIDSU();
registerBlock(Idsu, "idsu");
@ -246,33 +285,46 @@ public class ModBlocks {
LesuStorage = new BlockLESUStorage(Material.ROCK);
registerBlock(LesuStorage, "lesustorage");
GameRegistry.registerTileEntity(TileLesuStorage.class, "TileLesuStorageTR");
if (Core.proxy.isCTMAvailable()) {
Core.proxy.registerCustomBlockStateLocation(LesuStorage, "machines/energy/ev_multi_storage_ctm");
} else {
Core.proxy.registerCustomBlockStateLocation(LesuStorage, "machines/energy/ev_multi_storage");
}
Distillationtower = new BlockDistillationTower(Material.ROCK);
registerBlock(Distillationtower, "distillationtower");
Core.proxy.registerCustomBlockStateLocation(Distillationtower, "machines/tier2_machines/distillation_tower");
ElectricCraftingTable = new BlockElectricCraftingTable(Material.ROCK);
registerBlock(ElectricCraftingTable, "electriccraftingtable");
Core.proxy.registerCustomBlockStateLocation(ElectricCraftingTable, "machines/tier1_machines/electric_crafting_table");
VacuumFreezer = new BlockVacuumFreezer(Material.ROCK);
registerBlock(VacuumFreezer, "vacuumfreezer");
GameRegistry.registerTileEntity(TileVacuumFreezer.class, "TileVacuumFreezerTR");
Core.proxy.registerCustomBlockStateLocation(VacuumFreezer, "machines/tier2_machines/vacuum_freezer");
PlasmaGenerator = new BlockPlasmaGenerator(Material.ROCK);
registerBlock(PlasmaGenerator, "plasmagenerator");
ComputerCube = new BlockComputerCube(Material.ROCK);
registerBlock(ComputerCube, "computercube");
Core.proxy.registerCustomBlockStateLocation(ComputerCube, "machines/machines/tier2_machines/computer_cube");
FusionControlComputer = new BlockFusionControlComputer(Material.ROCK);
registerBlock(FusionControlComputer, "fusioncontrolcomputer");
GameRegistry.registerTileEntity(TileEntityFusionController.class, "TileEntityFustionControllerTR");
Core.proxy.registerCustomBlockStateLocation(FusionControlComputer, "machines/generators/fusion_reactor");
FusionCoil = new BlockFusionCoil(Material.ROCK);
registerBlock(FusionCoil, "fusioncoil");
Core.proxy.registerCustomBlockStateLocation(FusionCoil, "machines/generators/fusion_coil");
LightningRod = new BlockLightningRod(Material.ROCK);
registerBlock(LightningRod, "lightningrod");
GameRegistry.registerTileEntity(TileLightningRod.class, "TileLightningRodTR");
Core.proxy.registerCustomBlockStateLocation(LightningRod, "machines/generators/lightning_rod");
heatGenerator = new BlockHeatGenerator(Material.ROCK);
registerBlock(heatGenerator, "heatgenerator");
@ -281,6 +333,7 @@ public class ModBlocks {
industrialSawmill = new BlockIndustrialSawmill(Material.ROCK);
registerBlock(industrialSawmill, "industrialSawmill");
GameRegistry.registerTileEntity(TileIndustrialSawmill.class, "TileIndustrialSawmillTR");
Core.proxy.registerCustomBlockStateLocation(industrialSawmill, "machines/tier2_machines/industrial_saw_mill");
machineframe = new BlockMachineFrame(Material.IRON);
registerBlock(machineframe, ItemBlockMachineFrame.class, "techreborn.machineFrame");
@ -288,34 +341,42 @@ public class ModBlocks {
Grinder = new BlockGrinder(Material.IRON);
registerBlock(Grinder, "techreborn.grinder");
GameRegistry.registerTileEntity(TileGrinder.class, "TileGrinderTR");
Core.proxy.registerCustomBlockStateLocation(Grinder, "machines/tier1_machines/grinder");
Generator = new BlockGenerator();
registerBlock(Generator, "techreborn.generator");
GameRegistry.registerTileEntity(TileGenerator.class, "TileGeneratorTR");
Core.proxy.registerCustomBlockStateLocation(Generator, "machines/generators/generator");
Extractor = new BlockExtractor(Material.IRON);
registerBlock(Extractor, "techreborn.extractor");
GameRegistry.registerTileEntity(TileExtractor.class, "TileExtractorTR");
Core.proxy.registerCustomBlockStateLocation(Extractor, "machines/tier1_machines/extractor");
Compressor = new BlockCompressor(Material.IRON);
registerBlock(Compressor, "techreborn.compressor");
GameRegistry.registerTileEntity(TileCompressor.class, "TileCompressorTR");
Core.proxy.registerCustomBlockStateLocation(Compressor, "machines/tier1_machines/compressor");
ElectricFurnace = new BlockElectricFurnace(Material.IRON);
registerBlock(ElectricFurnace, "techreborn.electricfurnace");
GameRegistry.registerTileEntity(TileElectricFurnace.class, "TileElectricFurnaceTR");
Core.proxy.registerCustomBlockStateLocation(ElectricFurnace, "machines/tier1_machines/electric_furnace");
solarPanel = new BlockSolarPanel();
registerBlock(solarPanel, "techreborn.solarpanel");
GameRegistry.registerTileEntity(TileSolarPanel.class, "TileSolarPanel");
Core.proxy.registerCustomBlockStateLocation(solarPanel, "machines/generators/solar_panel");
waterMill = new BlockWaterMill();
registerBlock(waterMill, "techreborn.watermill");
GameRegistry.registerTileEntity(TileWaterMill.class, "TileWaterMill");
Core.proxy.registerCustomBlockStateLocation(waterMill, "machines/generators/water_mill");
windMill = new BlockWindMill();
registerBlock(windMill, "techreborn.windmill");
GameRegistry.registerTileEntity(TileWindMill.class, "TileWindMill");
Core.proxy.registerCustomBlockStateLocation(windMill, "machines/generators/wind_mill");
GameRegistry.registerTileEntity(TileMachineBase.class, "TileMachineBaseTR");
@ -340,6 +401,7 @@ public class ModBlocks {
recycler = new BlockRecycler(Material.IRON);
registerBlock(recycler, "recycler");
GameRegistry.registerTileEntity(TileRecycler.class, "TileRecyclerTR");
Core.proxy.registerCustomBlockStateLocation(recycler, "machines/tier1_machines/recycler");
batBox = new BlockBatBox();
registerBlock(batBox, "batBox");
@ -372,6 +434,7 @@ public class ModBlocks {
ironFurnace = new BlockIronFurnace();
registerBlock(ironFurnace, "ironfurnace");
GameRegistry.registerTileEntity(TileIronFurnace.class, "TileIronFurnaceTR");
Core.proxy.registerCustomBlockStateLocation(ironFurnace, "machines/tier0_machines/furnace");
nuke = new BlockNuke();
registerBlock(nuke, "nuke");
@ -379,6 +442,7 @@ public class ModBlocks {
scrapboxinator = new BlockScrapboxinator(Material.IRON);
registerBlock(scrapboxinator, "scrapboxinator");
GameRegistry.registerTileEntity(TileScrapboxinator.class, "TileScrapboxinatorTR");
Core.proxy.registerCustomBlockStateLocation(scrapboxinator, "machines/tier1_machines/scrapboxinator");
//TODO enable when done
// flare = new BlockFlare();

View file

@ -75,7 +75,7 @@ public class ItemParts extends ItemTextureBase {
@Override
public String getTextureName(int damage) {
return ModInfo.MOD_ID + ":items/part/" + types[damage];
return ModInfo.MOD_ID + ":items/part/" + types[damage].toLowerCase();
}
@Override

View file

@ -146,9 +146,9 @@ public class ClientProxy extends CommonProxy {
}
@Override
public void registerCustomBlockSateLocation(Block block, String resourceLocation) {
public void registerCustomBlockStateLocation(Block block, String resourceLocation) {
resourceLocation = resourceLocation.toLowerCase();
super.registerCustomBlockSateLocation(block, resourceLocation);
super.registerCustomBlockStateLocation(block, resourceLocation);
String finalResourceLocation = resourceLocation;
ModelLoader.setCustomStateMapper(block, new DefaultStateMapper() {
@Override
@ -161,4 +161,30 @@ public class ClientProxy extends CommonProxy {
String resourceDomain = Block.REGISTRY.getNameForObject(block).getResourceDomain();
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), 0, new ModelResourceLocation(resourceDomain + ':' + resourceLocation, "inventory"));
}
@Override
public void registerCustomBlockStateLocation(Block block, String resourceLocation, boolean item) {
resourceLocation = resourceLocation.toLowerCase();
super.registerCustomBlockStateLocation(block, resourceLocation, item);
String finalResourceLocation = resourceLocation;
ModelLoader.setCustomStateMapper(block, new DefaultStateMapper() {
@Override
protected ModelResourceLocation getModelResourceLocation(IBlockState state) {
String resourceDomain = Block.REGISTRY.getNameForObject(state.getBlock()).getResourceDomain();
String propertyString = getPropertyString(state.getProperties());
return new ModelResourceLocation(resourceDomain + ':' + finalResourceLocation, propertyString);
}
});
if (item) {
String resourceDomain = Block.REGISTRY.getNameForObject(block).getResourceDomain();
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), 0, new ModelResourceLocation(resourceDomain + ':' + resourceLocation, "inventory"));
}
}
@Override
public boolean isCTMAvailable() {
return isChiselAround;
}
}

View file

@ -1,17 +1,24 @@
package techreborn.proxies;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import techreborn.Core;
import techreborn.compat.ICompatModule;
public class CommonProxy implements ICompatModule {
public static boolean isChiselAround;
@Override
public void preInit(FMLPreInitializationEvent event) {
isChiselAround = Loader.isModLoaded("chisel");
if (isChiselAround) {
Core.logHelper.info("Hello chisel, shiny things will be enabled in techreborn");
}
}
@Override
@ -33,8 +40,25 @@ public class CommonProxy implements ICompatModule {
}
public void registerCustomBlockSateLocation(Block block, String name) {
public void registerCustomBlockStateLocation(Block block, String name) {
}
public void registerCustomBlockStateLocation(Block block, String name, boolean item) {
}
public void registerSubItemInventoryLocation(Item item, int meta, String location, String name) {
}
public void registerSubBlockInventoryLocation(Block block, int meta, String location, String name) {
registerSubItemInventoryLocation(Item.getItemFromBlock(block), meta, location, name);
}
public boolean isCTMAvailable() {
return false;
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/iron_machines/iron_machine_side",
"top":"techreborn:blocks/machine/iron_machines/iron_machine_top",
"side":"techreborn:blocks/machine/iron_machines/iron_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/iron_machines/alloy_furnace_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/iron_machines/alloy_furnace_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/iron_machines/alloy_furnace_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/iron_machines/iron_machine_side",
"top": "techreborn:blocks/machine/iron_machines/iron_machine_top",
"side": "techreborn:blocks/machine/iron_machines/iron_machine_side",
"front": "techreborn:blocks/machine/iron_machines/alloy_furnace_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top":"techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side":"techreborn:blocks/machine/tier1_machines/tier1_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/electric_alloy_furnace_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/electric_alloy_furnace_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/electric_alloy_furnace_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top": "techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"front": "techreborn:blocks/machine/tier1_machines/electric_alloy_furnace_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/machine_side",
"top":"techreborn:blocks/machine/greg_machines/machine_top",
"side":"techreborn:blocks/machine/greg_machines/machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/assembling_machine_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/assembling_machine_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/assembling_machine_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/machine_side",
"top": "techreborn:blocks/machine/greg_machines/machine_top",
"side": "techreborn:blocks/machine/greg_machines/machine_side",
"front": "techreborn:blocks/machine/greg_machines/assembling_machine_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"top":"techreborn:blocks/machine/advanced_machines/advanced_machine_top",
"side":"techreborn:blocks/machine/advanced_machines/advanced_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_blast_furnace_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_blast_furnace_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_blast_furnace_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"top": "techreborn:blocks/machine/advanced_machines/advanced_machine_top",
"side": "techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"front": "techreborn:blocks/machine/advanced_machines/industrial_blast_furnace_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/chargeBench_side",
"top":"techreborn:blocks/machine/greg_machines/chargeBench_side",
"side":"techreborn:blocks/machine/greg_machines/chargeBench_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/chargeBench_side"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/chargeBench_side"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/chargeBench_side"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/chargeBench_side",
"top": "techreborn:blocks/machine/greg_machines/chargeBench_side",
"side": "techreborn:blocks/machine/greg_machines/chargeBench_side",
"front": "techreborn:blocks/machine/greg_machines/chargeBench_side"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/machine_side",
"top":"techreborn:blocks/machine/greg_machines/machine_top",
"side":"techreborn:blocks/machine/greg_machines/machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/chemical_reactor_side_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/chemical_reactor_side_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/chemical_reactor_side_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/machine_side",
"top": "techreborn:blocks/machine/greg_machines/machine_top",
"side": "techreborn:blocks/machine/greg_machines/machine_side",
"front": "techreborn:blocks/machine/greg_machines/chemical_reactor_side_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/industrial_chunk_loader_side",
"top":"techreborn:blocks/machine/greg_machines/machine_top",
"side":"techreborn:blocks/machine/greg_machines/industrial_chunk_loader_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/industrial_chunk_loader_side"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/industrial_chunk_loader_side"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/industrial_chunk_loader_side"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/industrial_chunk_loader_side",
"top": "techreborn:blocks/machine/greg_machines/machine_top",
"side": "techreborn:blocks/machine/greg_machines/industrial_chunk_loader_side",
"front": "techreborn:blocks/machine/greg_machines/industrial_chunk_loader_side"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/computer_cube",
"top":"techreborn:blocks/machine/greg_machines/computer_cube",
"side":"techreborn:blocks/machine/greg_machines/computer_cube"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/computer_cube"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/computer_cube"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/computer_cube"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/computer_cube",
"top": "techreborn:blocks/machine/greg_machines/computer_cube",
"side": "techreborn:blocks/machine/greg_machines/computer_cube",
"front": "techreborn:blocks/machine/greg_machines/computer_cube"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/generator_machine_side",
"top":"techreborn:blocks/machine/generators/diesel_generator_top_off",
"side":"techreborn:blocks/machine/generators/generator_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/generator_machine_side"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/generator_machine_side"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/generator_machine_side"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/generator_machine_side",
"top": "techreborn:blocks/machine/generators/diesel_generator_top_off",
"side": "techreborn:blocks/machine/generators/generator_machine_side",
"front": "techreborn:blocks/machine/generators/generator_machine_side"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"top":"techreborn:blocks/machine/advanced_machines/industrial_centrifuge_top_off",
"side":"techreborn:blocks/machine/advanced_machines/advanced_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/distillation_tower_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/distillation_tower_front_off"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/distillation_tower_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"top": "techreborn:blocks/machine/advanced_machines/industrial_centrifuge_top_off",
"side": "techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"front": "techreborn:blocks/machine/advanced_machines/distillation_tower_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/dragon_egg_energy_siphon_side_off",
"top":"techreborn:blocks/machine/generators/dragon_egg_energy_siphon_top",
"side":"techreborn:blocks/machine/generators/dragon_egg_energy_siphon_side_off"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/dragon_egg_energy_siphon_side_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/dragon_egg_energy_siphon_side_off"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/dragon_egg_energy_siphon_side_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/dragon_egg_energy_siphon_side_off",
"top": "techreborn:blocks/machine/generators/dragon_egg_energy_siphon_top",
"side": "techreborn:blocks/machine/generators/dragon_egg_energy_siphon_side_off",
"front": "techreborn:blocks/machine/generators/dragon_egg_energy_siphon_side_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/machine_side",
"top":"techreborn:blocks/machine/greg_machines/electric_crafting_table_top",
"side":"techreborn:blocks/machine/greg_machines/machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/electric_crafting_table_front"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/electric_crafting_table_front"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/electric_crafting_table_front"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/machine_side",
"top": "techreborn:blocks/machine/greg_machines/electric_crafting_table_top",
"side": "techreborn:blocks/machine/greg_machines/machine_side",
"front": "techreborn:blocks/machine/greg_machines/electric_crafting_table_front"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/fusion_coil",
"top":"techreborn:blocks/machine/greg_machines/fusion_coil",
"side":"techreborn:blocks/machine/greg_machines/fusion_coil"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/fusion_coil"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/fusion_coil"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/fusion_coil"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/fusion_coil",
"top": "techreborn:blocks/machine/greg_machines/fusion_coil",
"side": "techreborn:blocks/machine/greg_machines/fusion_coil",
"front": "techreborn:blocks/machine/greg_machines/fusion_coil"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/machine_side",
"top":"techreborn:blocks/machine/greg_machines/machine_side",
"side":"techreborn:blocks/machine/greg_machines/machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/fusion_control_computer_front"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/fusion_control_computer_front"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/fusion_control_computer_front"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/machine_side",
"top": "techreborn:blocks/machine/greg_machines/machine_side",
"side": "techreborn:blocks/machine/greg_machines/machine_side",
"front": "techreborn:blocks/machine/greg_machines/fusion_control_computer_front"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/generator_machine_side",
"top":"techreborn:blocks/machine/generators/gas_generator_top",
"side":"techreborn:blocks/machine/generators/generator_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/generator_machine_side"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/generator_machine_side"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/generator_machine_side"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/generator_machine_side",
"top": "techreborn:blocks/machine/generators/gas_generator_top",
"side": "techreborn:blocks/machine/generators/generator_machine_side",
"front": "techreborn:blocks/machine/generators/generator_machine_side"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/advanced_machines/machine_side",
"top":"techreborn:blocks/machine/advanced_machines/industrial_grinder_top_off",
"side":"techreborn:blocks/machine/advanced_machines/machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_grinder_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_grinder_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_grinder_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/advanced_machines/machine_side",
"top": "techreborn:blocks/machine/advanced_machines/industrial_grinder_top_off",
"side": "techreborn:blocks/machine/advanced_machines/machine_side",
"front": "techreborn:blocks/machine/advanced_machines/industrial_grinder_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/heat_generator_side",
"top":"techreborn:blocks/machine/generators/heat_generator_top",
"side":"techreborn:blocks/machine/generators/heat_generator_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/heat_generator_side"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/heat_generator_side"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/heat_generator_side"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/heat_generator_side",
"top": "techreborn:blocks/machine/generators/heat_generator_top",
"side": "techreborn:blocks/machine/generators/heat_generator_side",
"front": "techreborn:blocks/machine/generators/heat_generator_side"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"top":"techreborn:blocks/machine/advanced_machines/industrial_centrifuge_top_off",
"side":"techreborn:blocks/machine/advanced_machines/advanced_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/implosion_compressor_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/implosion_compressor_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/implosion_compressor_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"top": "techreborn:blocks/machine/advanced_machines/industrial_centrifuge_top_off",
"side": "techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"front": "techreborn:blocks/machine/advanced_machines/implosion_compressor_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/industrial_electrolyzer_front_off",
"top":"techreborn:blocks/machine/advanced_machines/machine_top",
"side":"techreborn:blocks/machine/greg_machines/industrial_electrolyzer_front_off"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/industrial_electrolyzer_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/industrial_electrolyzer_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/industrial_electrolyzer_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/industrial_electrolyzer_front_off",
"top": "techreborn:blocks/machine/advanced_machines/machine_top",
"side": "techreborn:blocks/machine/greg_machines/industrial_electrolyzer_front_off",
"front": "techreborn:blocks/machine/greg_machines/industrial_electrolyzer_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"top":"techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"side":"techreborn:blocks/machine/advanced_machines/advanced_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_sawmill_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_sawmill_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_sawmill_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"top": "techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"side": "techreborn:blocks/machine/advanced_machines/advanced_machine_side",
"front": "techreborn:blocks/machine/advanced_machines/industrial_sawmill_front_off"
}
}
}
}

View file

@ -1,17 +0,0 @@
{
"multipart": [
{ "apply": { "model": "techreborn:iron_fence_post" }},
{ "when": { "north": "true" },
"apply": { "model": "techreborn:iron_fence_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "techreborn:iron_fence_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "techreborn:iron_fence_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "techreborn:iron_fence_side", "y": 270, "uvlock": true }
}
]
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/iron_machines/iron_machine_side",
"top":"techreborn:blocks/machine/iron_machines/iron_machine_top",
"side":"techreborn:blocks/machine/iron_machines/iron_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/iron_machines/iron_furnace_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/iron_machines/iron_furnace_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/iron_machines/iron_furnace_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/iron_machines/iron_machine_side",
"top": "techreborn:blocks/machine/iron_machines/iron_machine_top",
"side": "techreborn:blocks/machine/iron_machines/iron_machine_side",
"front": "techreborn:blocks/machine/iron_machines/iron_furnace_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/storage/lesu_block",
"top":"techreborn:blocks/machine/storage/lesu_block",
"side":"techreborn:blocks/machine/storage/lesu_block"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/storage/lesu_block"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/storage/lesu_block"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/storage/lesu_block"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/storage/lesu_block",
"top": "techreborn:blocks/machine/storage/lesu_block",
"side": "techreborn:blocks/machine/storage/lesu_block",
"front": "techreborn:blocks/machine/storage/lesu_block"
}
}
}
}

View file

@ -1,54 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle": "techreborn:blocks/machine/generators/lightning_rod_side_off",
"top": "techreborn:blocks/machine/greg_machines/machine_top",
"side": "techreborn:blocks/machine/generators/lightning_rod_side_off",
"down":"techreborn:blocks/machine/generators/lightning_rod_side_off",
"front":"techreborn:blocks/machine/generators/plasma_generator_front"
}
},
"variants":{
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"down":"techreborn:blocks/machine/generators/lightning_rod_side_on",
"side":"techreborn:blocks/machine/generators/lightning_rod_side_on"
}
},
"false":{
"textures":{
"down":"techreborn:blocks/machine/generators/lightning_rod_side_off",
"side":"techreborn:blocks/machine/generators/lightning_rod_side_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/lightning_rod_side_off",
"top": "techreborn:blocks/machine/greg_machines/machine_top",
"side": "techreborn:blocks/machine/generators/lightning_rod_side_off",
"down":"techreborn:blocks/machine/generators/lightning_rod_side_off",
"front":"techreborn:blocks/machine/generators/plasma_generator_front"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/advanced_machines/industrial_centrifuge_side_off",
"top":"techreborn:blocks/machine/advanced_machines/industrial_centrifuge_top_off",
"side":"techreborn:blocks/machine/advanced_machines/industrial_centrifuge_side_off"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_centrifuge_side_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_centrifuge_side_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/advanced_machines/industrial_centrifuge_side_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/advanced_machines/industrial_centrifuge_side_off",
"top": "techreborn:blocks/machine/advanced_machines/industrial_centrifuge_top_off",
"side": "techreborn:blocks/machine/advanced_machines/industrial_centrifuge_side_off",
"front": "techreborn:blocks/machine/advanced_machines/industrial_centrifuge_side_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/magic_energy_converter_side",
"top":"techreborn:blocks/machine/generators/magic_energy_converter_top",
"side":"techreborn:blocks/machine/generators/magic_energy_converter_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/magic_energy_converter_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/magic_energy_converter_front_off"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/magic_energy_converter_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/magic_energy_converter_side",
"top": "techreborn:blocks/machine/generators/magic_energy_converter_top",
"side": "techreborn:blocks/machine/generators/magic_energy_converter_side",
"front": "techreborn:blocks/machine/generators/magic_energy_converter_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/magic_energy_absorber_side",
"top":"techreborn:blocks/machine/generators/magic_energy_absorber_top",
"side":"techreborn:blocks/machine/generators/magic_energy_absorber_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/magic_energy_absorber_side"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/magic_energy_absorber_side"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/magic_energy_absorber_side"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/magic_energy_absorber_side",
"top": "techreborn:blocks/machine/generators/magic_energy_absorber_top",
"side": "techreborn:blocks/machine/generators/magic_energy_absorber_side",
"front": "techreborn:blocks/machine/generators/magic_energy_absorber_side"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/matter_fabricator_off",
"top":"techreborn:blocks/machine/greg_machines/matter_fabricator_off",
"side":"techreborn:blocks/machine/greg_machines/matter_fabricator_off"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/matter_fabricator_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/matter_fabricator_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/matter_fabricator_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/matter_fabricator_off",
"top": "techreborn:blocks/machine/greg_machines/matter_fabricator_off",
"side": "techreborn:blocks/machine/greg_machines/matter_fabricator_off",
"front": "techreborn:blocks/machine/greg_machines/matter_fabricator_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/plasma_generator_side_off",
"top":"techreborn:blocks/machine/generators/plasma_generator_side_off",
"side":"techreborn:blocks/machine/generators/plasma_generator_side_off"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/plasma_generator_front"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/plasma_generator_front"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/plasma_generator_front"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/plasma_generator_side_off",
"top": "techreborn:blocks/machine/generators/plasma_generator_side_off",
"side": "techreborn:blocks/machine/generators/plasma_generator_side_off",
"front": "techreborn:blocks/machine/generators/plasma_generator_front"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/player_detector_all",
"top":"techreborn:blocks/machine/greg_machines/player_detector_all",
"side":"techreborn:blocks/machine/greg_machines/player_detector_all"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/player_detector_all"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/player_detector_all"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/player_detector_all"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/player_detector_all",
"top": "techreborn:blocks/machine/greg_machines/player_detector_all",
"side": "techreborn:blocks/machine/greg_machines/player_detector_all",
"front": "techreborn:blocks/machine/greg_machines/player_detector_all"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top":"techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side":"techreborn:blocks/machine/tier1_machines/tier1_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/recycler_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/recycler_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/recycler_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top": "techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"front": "techreborn:blocks/machine/tier1_machines/recycler_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/machine_side",
"top":"techreborn:blocks/machine/greg_machines/machine_top",
"side":"techreborn:blocks/machine/greg_machines/machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/rolling_machine_side_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/rolling_machine_side_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/rolling_machine_side_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/machine_side",
"top": "techreborn:blocks/machine/greg_machines/machine_top",
"side": "techreborn:blocks/machine/greg_machines/machine_side",
"front": "techreborn:blocks/machine/greg_machines/rolling_machine_side_off"
}
}
}
}

View file

@ -1,5 +0,0 @@
{
"variants": {
"normal": { "model": "techreborn:rubberLeaves" }
}
}

View file

@ -1,10 +0,0 @@
{
"variants": {
"stage=0,type=oak": {
"model": "techreborn:rubberSapling"
},
"stage=1,type=oak": {
"model": "techreborn:rubberSapling"
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/machine_side",
"top":"techreborn:blocks/machine/greg_machines/machine_top",
"side":"techreborn:blocks/machine/greg_machines/machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/scrapboxinator_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/scrapboxinator_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/scrapboxinator_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/machine_side",
"top": "techreborn:blocks/machine/greg_machines/machine_top",
"side": "techreborn:blocks/machine/greg_machines/machine_side",
"front": "techreborn:blocks/machine/greg_machines/scrapboxinator_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/semifluid_generator_side",
"top":"techreborn:blocks/machine/generators/generator_machine_top",
"side":"techreborn:blocks/machine/generators/semifluid_generator_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/semifluid_generator_side"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/semifluid_generator_side"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/semifluid_generator_side"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/semifluid_generator_side",
"top": "techreborn:blocks/machine/generators/generator_machine_top",
"side": "techreborn:blocks/machine/generators/semifluid_generator_side",
"front": "techreborn:blocks/machine/generators/semifluid_generator_side"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/supercondensator_side",
"top":"techreborn:blocks/machine/greg_machines/supercondensator_side",
"side":"techreborn:blocks/machine/greg_machines/supercondensator_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/supercondensator_front"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/supercondensator_front"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/supercondensator_front"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/supercondensator_side",
"top": "techreborn:blocks/machine/greg_machines/supercondensator_side",
"side": "techreborn:blocks/machine/greg_machines/supercondensator_side",
"front": "techreborn:blocks/machine/greg_machines/supercondensator_front"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top":"techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side":"techreborn:blocks/machine/tier1_machines/tier1_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/compressor_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/compressor_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/compressor_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top": "techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"front": "techreborn:blocks/machine/tier1_machines/compressor_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/qchest_side",
"top":"techreborn:blocks/machine/greg_machines/quantum_top",
"side":"techreborn:blocks/machine/greg_machines/qchest_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/quantum_chest"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/quantum_chest"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/quantum_chest"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/qchest_side",
"top": "techreborn:blocks/machine/greg_machines/quantum_top",
"side": "techreborn:blocks/machine/greg_machines/qchest_side",
"front": "techreborn:blocks/machine/greg_machines/quantum_chest"
}
}
}
}

View file

@ -1,5 +0,0 @@
{
"variants": {
"normal": { "model": "techreborn:techreborn.distributor" }
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top":"techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side":"techreborn:blocks/machine/tier1_machines/tier1_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/electric_furnace_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/electric_furnace_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/electric_furnace_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top": "techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"front": "techreborn:blocks/machine/tier1_machines/electric_furnace_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top":"techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side":"techreborn:blocks/machine/tier1_machines/tier1_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/extractor_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/extractor_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/extractor_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top": "techreborn:blocks/machine/tier1_machines/tier1_machine_top",
"side": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"front": "techreborn:blocks/machine/tier1_machines/extractor_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/generator_machine_side",
"top":"techreborn:blocks/machine/generators/generator_machine_top",
"side":"techreborn:blocks/machine/generators/generator_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/generator_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/generator_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/generator_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/generator_machine_side",
"top": "techreborn:blocks/machine/generators/generator_machine_top",
"side": "techreborn:blocks/machine/generators/generator_machine_side",
"front": "techreborn:blocks/machine/generators/generator_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top":"techreborn:blocks/machine/tier1_machines/grinder_top_off",
"side":"techreborn:blocks/machine/tier1_machines/tier1_machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/grinder_front_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/grinder_front_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/tier1_machines/grinder_front_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"top": "techreborn:blocks/machine/tier1_machines/grinder_top_off",
"side": "techreborn:blocks/machine/tier1_machines/tier1_machine_side",
"front": "techreborn:blocks/machine/tier1_machines/grinder_front_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/qchest_side",
"top":"techreborn:blocks/machine/greg_machines/quantum_top",
"side":"techreborn:blocks/machine/greg_machines/qchest_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/quantum_chest"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/quantum_chest"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/quantum_chest"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/qchest_side",
"top": "techreborn:blocks/machine/greg_machines/quantum_top",
"side": "techreborn:blocks/machine/greg_machines/qchest_side",
"front": "techreborn:blocks/machine/greg_machines/quantum_chest"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/thermal_generator_side_off",
"top":"techreborn:blocks/machine/greg_machines/quantum_top",
"side":"techreborn:blocks/machine/generators/thermal_generator_side_off"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/thermal_generator_side_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/thermal_generator_side_off"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/thermal_generator_side_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/thermal_generator_side_off",
"top": "techreborn:blocks/machine/greg_machines/quantum_top",
"side": "techreborn:blocks/machine/generators/thermal_generator_side_off",
"front": "techreborn:blocks/machine/generators/thermal_generator_side_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/generators/thermal_generator_side_off",
"top":"techreborn:blocks/machine/generators/thermal_generator_top_off",
"side":"techreborn:blocks/machine/generators/thermal_generator_side_off"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/generators/thermal_generator_side_off"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/generators/thermal_generator_side_on"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/generators/thermal_generator_side_off"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/generators/thermal_generator_side_off",
"top": "techreborn:blocks/machine/generators/thermal_generator_top_off",
"side": "techreborn:blocks/machine/generators/thermal_generator_side_off",
"front": "techreborn:blocks/machine/generators/thermal_generator_side_off"
}
}
}
}

View file

@ -1,55 +0,0 @@
{
"forge_marker":1,
"defaults":{
"transform":"forge:default-block",
"model":"orientable",
"textures":{
"particle":"techreborn:blocks/machine/greg_machines/machine_side",
"top":"techreborn:blocks/machine/greg_machines/vacuum_freezer_top",
"side":"techreborn:blocks/machine/greg_machines/machine_side"
}
},
"variants":{
"inventory":{
"transform":"forge:default-block",
"textures":{
"front":"techreborn:blocks/machine/greg_machines/vacuum_freezer_front"
}
},
"facing":{
"north":{
},
"east":{
"y":90
},
"south":{
"y":180
},
"west":{
"y":270
}
},
"active":{
"true":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/vacuum_freezer_front"
}
},
"false":{
"textures":{
"front":"techreborn:blocks/machine/greg_machines/vacuum_freezer_front"
}
}
},
"inventory": {
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/machine/greg_machines/machine_side",
"top": "techreborn:blocks/machine/greg_machines/vacuum_freezer_top",
"side": "techreborn:blocks/machine/greg_machines/machine_side",
"front": "techreborn:blocks/machine/greg_machines/vacuum_freezer_front"
}
}
}
}

View file

@ -1,8 +0,0 @@
Save pages as json files:
List page, that has a list of sub pages
Crafting page
Picture Page
Language support
Automatic deploy from a git repo
Versioning to allow diffrent mod versions, also dev version
Basic validator on save and deploy

View file

@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.TreeView?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.VBox?>
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="550.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/8.0.72" xmlns:fx="http://javafx.com/fxml/1" fx:controller="techreborn.manual.designer.windows.MainWindowController">
<children>
<MenuBar fx:id="menuBar">
<menus>
<Menu mnemonicParsing="false" text="File">
<items>
<MenuItem mnemonicParsing="false" onAction="#save" text="Save" />
<MenuItem mnemonicParsing="false" onAction="#open" text="Open" />
<MenuItem mnemonicParsing="false" onAction="#close" text="Close" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Edit">
<items>
<MenuItem mnemonicParsing="false" text="New" />
<MenuItem mnemonicParsing="false" text="Delete" />
</items>
</Menu>
</menus>
</MenuBar>
<SplitPane fx:id="splitPane" dividerPositions="0.29797979797979796" prefHeight="388.0" prefWidth="600.0" VBox.vgrow="ALWAYS">
<items>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
<children>
<VBox prefHeight="200.0" prefWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<TreeView fx:id="treeList" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS" />
<AnchorPane prefHeight="49.0" prefWidth="175.0">
<children>
<Button fx:id="buttonNew" layoutX="8.0" layoutY="12.0" mnemonicParsing="false" onMouseClicked="#newItem" text="New" />
<Button fx:id="buttonDelete" layoutX="54.0" layoutY="12.0" mnemonicParsing="false" onMouseClicked="#deleteItem" text="Delete" />
</children>
</AnchorPane>
</children>
</VBox>
</children>
</AnchorPane>
<AnchorPane fx:id="renderPane" minHeight="0.0" minWidth="0.0" prefHeight="358.0" prefWidth="417.0">
<children>
<ImageView fx:id="image" fitHeight="298.0" fitWidth="417.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="75.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
<ImageView fx:id="pageimage" fitHeight="234.0" fitWidth="359.0" layoutX="14.0" layoutY="14.0" pickOnBounds="true" preserveRatio="true" />
<AnchorPane prefHeight="98.0" prefWidth="627.0" style="-fx-background-color: lightgrey;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<children>
<Label fx:id="infoLabel" layoutY="6.0" text="Settings" />
<TextArea fx:id="textInput" layoutX="43.0" layoutY="8.0" maxWidth="250.0" prefHeight="59.0" prefWidth="250.0" AnchorPane.bottomAnchor="8.0" AnchorPane.rightAnchor="8.0" AnchorPane.topAnchor="8.0" />
<TextField fx:id="nameTextArea" layoutX="88.0" layoutY="25.0" />
<Label layoutX="6.0" layoutY="29.0" text="Registry Name" />
<Label layoutX="11.0" layoutY="59.0" text="Image Name" />
<TextField fx:id="imageTextArea" layoutX="88.0" layoutY="55.0" />
</children>
</AnchorPane>
</children>
</AnchorPane>
</items>
</SplitPane>
</children>
</VBox>

View file

@ -1,6 +0,0 @@
{
"parent": "block/fence_inventory",
"textures": {
"texture": "blocks/iron_block"
}
}

View file

@ -1,6 +0,0 @@
{
"parent": "block/fence_post",
"textures": {
"texture": "blocks/iron_block"
}
}

View file

@ -1,6 +0,0 @@
{
"parent": "block/fence_side",
"textures": {
"texture": "blocks/iron_block"
}
}

View file

@ -1,18 +0,0 @@
{ "parent": "block/thin_block",
"textures": {
"particle": "blocks/stone"
},
"elements": [
{ "from": [ 1, 0, 1 ],
"to": [ 15, 1, 15 ],
"faces": {
"down": { "uv": [ 1, 1, 15, 15 ], "texture": "blocks/stone", "cullface": "down" },
"up": { "uv": [ 1, 1, 15, 15 ], "texture": "blocks/stone" },
"north": { "uv": [ 1, 15, 15, 16 ], "texture": "blocks/stone" },
"south": { "uv": [ 1, 15, 15, 16 ], "texture": "blocks/stone" },
"west": { "uv": [ 1, 15, 15, 16 ], "texture": "blocks/stone" },
"east": { "uv": [ 1, 15, 15, 16 ], "texture": "blocks/stone" }
}
}
]
}

View file

@ -1,6 +0,0 @@
{
"parent": "item/generated",
"textures": {
"layer0": "forge:items/bucket_base"
}
}

View file

@ -1,14 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/energyCrystal"
},
"overrides": [
{
"predicate": {
"techreborn:empty": 1
},
"model": "techreborn:item/energyCrystalEmpty"
}
]
}

View file

@ -1,6 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/energyCrystal"
}
}

View file

@ -1,3 +0,0 @@
{
"parent": "techreborn:block/iron_fence_inventory"
}

View file

@ -1,14 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/lapotronCrystal"
},
"overrides": [
{
"predicate": {
"techreborn:empty": 1
},
"model": "techreborn:item/lapotronCrystalEmpty"
}
]
}

View file

@ -1,6 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/lapotronCrystal"
}
}

View file

@ -1,14 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/lithiumBattery"
},
"overrides": [
{
"predicate": {
"techreborn:empty": 1
},
"model": "techreborn:item/lithiumBatteryEmpty"
}
]
}

View file

@ -1,6 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/lithiumBatteryEmpty"
}
}

View file

@ -1,14 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/nanosaber_off"
},
"overrides": [
{
"predicate": {
"techreborn:active": 1
},
"model": "techreborn:item/nanosaberActive"
}
]
}

View file

@ -1,6 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/nanosaber_on"
}
}

View file

@ -1,14 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/reBattery"
},
"overrides": [
{
"predicate": {
"techreborn:empty": 1
},
"model": "techreborn:item/reBatteryEmpty"
}
]
}

View file

@ -1,6 +0,0 @@
{
"parent": "techreborn:item/techrebornItem",
"textures": {
"layer0": "techreborn:items/tool/reBatteryEmpty"
}
}

View file

@ -1,3 +0,0 @@
{
"parent": "item/generated"
}

View file

@ -1,5 +0,0 @@
{
"sap_extract": { "category": "block", "sounds":["techreborn:sap_extract"] },
"block_dismantle": { "category": "block", "sounds":["techreborn:block_dismantle"] },
"cable_shock": { "category": "block", "sounds":["techreborn:cable_shock"] }
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

Some files were not shown because too many files have changed in this diff Show more