Initial work on ores flattening
This commit is contained in:
parent
35669641ba
commit
916c8c5ba4
13 changed files with 248 additions and 450 deletions
|
@ -24,12 +24,10 @@
|
|||
|
||||
package techreborn.blocks;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.BlockStateContainer;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -38,35 +36,27 @@ import net.minecraft.util.math.BlockPos;
|
|||
import net.minecraft.util.math.RayTraceResult;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.PropertyString;
|
||||
import reborncore.common.registration.RebornRegistry;
|
||||
import reborncore.common.registration.impl.ConfigRegistry;
|
||||
import reborncore.common.util.ArrayUtils;
|
||||
import reborncore.common.util.OreDrop;
|
||||
import reborncore.common.util.StringUtils;
|
||||
import techreborn.events.TRRecipeHandler;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.init.TRIngredients;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
import techreborn.world.config.IOreNameProvider;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@RebornRegistry(modID = ModInfo.MOD_ID)
|
||||
public class BlockOre extends Block implements IOreNameProvider {
|
||||
|
||||
public static final String[] ores = new String[] {
|
||||
"galena", "iridium", "ruby", "sapphire", "bauxite", "pyrite",
|
||||
"cinnabar", "sphalerite", "tungsten", "sheldonite", "peridot", "sodalite",
|
||||
"lead", "silver" };
|
||||
public static List<String> oreNamesList = Lists.newArrayList(ArrayUtils.arrayToLowercase(ores));
|
||||
// public static final String[] ores = new String[] {
|
||||
// "galena", "iridium", "ruby", "sapphire", "bauxite", "pyrite",
|
||||
// "cinnabar", "sphalerite", "tungsten", "sheldonite", "peridot", "sodalite",
|
||||
// "lead", "silver" };
|
||||
// public static List<String> oreNamesList = Lists.newArrayList(ArrayUtils.arrayToLowercase(ores));
|
||||
public static final PropertyString VARIANTS = getVarients();
|
||||
@ConfigRegistry(config = "misc", category = "blocks", key = "rubyMinQuatity", comment = "Minimum quantity of Ruby gems per Ruby ore")
|
||||
public static int rubyMinQuatity = 1;
|
||||
|
@ -98,41 +88,40 @@ public class BlockOre extends Block implements IOreNameProvider {
|
|||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
setHardness(2.0f);
|
||||
setHarvestLevel("pickaxe", 2);
|
||||
this.setDefaultState(this.getStateFromMeta(0));
|
||||
for (int i = 0; i < ores.length; i++) {
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, i).setInvVariant("type=" + OreBlockStateManager.convert(ores[i])).setFileName("ores"));
|
||||
}
|
||||
TRRecipeHandler.hideEntry(this);
|
||||
// TODO: Fix block
|
||||
// for (int i = 0; i < ores.length; i++) {
|
||||
// RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, i).setInvVariant("type=" + OreBlockStateManager.convert(ores[i])).setFileName("ores"));
|
||||
// }
|
||||
}
|
||||
|
||||
public static ItemStack getOreByName(String name, int count) {
|
||||
name = OreBlockStateManager.invert(name);
|
||||
for (int i = 0; i < ores.length; i++) {
|
||||
if (ores[i].equalsIgnoreCase(name)) {
|
||||
return new ItemStack(ModBlocks.ORE, count, i);
|
||||
}
|
||||
}
|
||||
return BlockOre2.getOreByName(name, count);
|
||||
}
|
||||
// public static ItemStack getOreByName(String name, int count) {
|
||||
// name = OreBlockStateManager.invert(name);
|
||||
// for (int i = 0; i < ores.length; i++) {
|
||||
// if (ores[i].equalsIgnoreCase(name)) {
|
||||
// return new ItemStack(ModBlocks.ORE, count, i);
|
||||
// }
|
||||
// }
|
||||
// return BlockOre2.getOreByName(name, count);
|
||||
// }
|
||||
|
||||
public static ItemStack getOreByName(String name) {
|
||||
return getOreByName(name, 1);
|
||||
}
|
||||
// public static ItemStack getOreByName(String name) {
|
||||
// return getOreByName(name, 1);
|
||||
// }
|
||||
|
||||
public IBlockState getBlockStateFromName(String name) {
|
||||
name = OreBlockStateManager.invert(name);
|
||||
int index = -1;
|
||||
for (int i = 0; i < ores.length; i++) {
|
||||
if (ores[i].equalsIgnoreCase(name)) {
|
||||
index = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (index == -1) {
|
||||
return ModBlocks.ORE2.getBlockStateFromName(name);
|
||||
}
|
||||
return getStateFromMeta(index);
|
||||
}
|
||||
// public IBlockState getBlockStateFromName(String name) {
|
||||
// name = OreBlockStateManager.invert(name);
|
||||
// int index = -1;
|
||||
// for (int i = 0; i < ores.length; i++) {
|
||||
// if (ores[i].equalsIgnoreCase(name)) {
|
||||
// index = i;
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// if (index == -1) {
|
||||
// return ModBlocks.ORE2.getBlockStateFromName(name);
|
||||
// }
|
||||
// return getStateFromMeta(index);
|
||||
// }
|
||||
|
||||
@Override
|
||||
public void getDrops(NonNullList<ItemStack> drops, IBlockAccess world, BlockPos pos, IBlockState state, int fortune) {
|
||||
|
@ -171,13 +160,13 @@ public class BlockOre extends Block implements IOreNameProvider {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubBlocks(CreativeTabs creativeTabs, NonNullList<ItemStack> list) {
|
||||
for (int meta = 0; meta < ores.length; meta++) {
|
||||
list.add(new ItemStack(this, 1, meta));
|
||||
}
|
||||
}
|
||||
// @Override
|
||||
// @SideOnly(Side.CLIENT)
|
||||
// public void getSubBlocks(CreativeTabs creativeTabs, NonNullList<ItemStack> list) {
|
||||
// for (int meta = 0; meta < ores.length; meta++) {
|
||||
// list.add(new ItemStack(this, 1, meta));
|
||||
// }
|
||||
// }
|
||||
|
||||
@Override
|
||||
public ItemStack getPickBlock(IBlockState state, RayTraceResult target, World world, BlockPos pos, EntityPlayer player) {
|
||||
|
@ -189,36 +178,38 @@ public class BlockOre extends Block implements IOreNameProvider {
|
|||
return getMetaFromState(state);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBlockState getStateFromMeta(int meta) {
|
||||
if (meta > ores.length) {
|
||||
meta = 0;
|
||||
}
|
||||
return getBlockState().getBaseState().withProperty(VARIANTS, oreNamesList.get(meta));
|
||||
}
|
||||
// @Override
|
||||
// public IBlockState getStateFromMeta(int meta) {
|
||||
// if (meta > ores.length) {
|
||||
// meta = 0;
|
||||
// }
|
||||
// return getBlockState().getBaseState().withProperty(VARIANTS, oreNamesList.get(meta));
|
||||
// }
|
||||
|
||||
@Override
|
||||
public int getMetaFromState(IBlockState state) {
|
||||
return oreNamesList.indexOf(state.getValue(VARIANTS));
|
||||
}
|
||||
|
||||
@Override
|
||||
protected BlockStateContainer createBlockState() {
|
||||
return new BlockStateContainer(this, VARIANTS);
|
||||
}
|
||||
// @Override
|
||||
// public int getMetaFromState(IBlockState state) {
|
||||
// return oreNamesList.indexOf(state.getValue(VARIANTS));
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// protected BlockStateContainer createBlockState() {
|
||||
// return new BlockStateContainer(this, VARIANTS);
|
||||
// }
|
||||
|
||||
@Override
|
||||
public String getUserLoclisedName(IBlockState state) {
|
||||
return StringUtils.toFirstCapital(oreNamesList.get(getMetaFromState(state)));
|
||||
// return StringUtils.toFirstCapital(oreNamesList.get(getMetaFromState(state)));
|
||||
return null;
|
||||
}
|
||||
|
||||
public static PropertyString getVarients() {
|
||||
if (OreBlockStateManager.endOreStone) {
|
||||
oreNamesList = BlockOre.oreNamesList.stream().map(OreBlockStateManager::convert).collect(Collectors.toList());
|
||||
return new PropertyString("type", oreNamesList);
|
||||
} else {
|
||||
return new PropertyString("type", BlockOre.oreNamesList);
|
||||
}
|
||||
// if (OreBlockStateManager.endOreStone) {
|
||||
// oreNamesList = BlockOre.oreNamesList.stream().map(OreBlockStateManager::convert).collect(Collectors.toList());
|
||||
// return new PropertyString("type", oreNamesList);
|
||||
// } else {
|
||||
// return new PropertyString("type", BlockOre.oreNamesList);
|
||||
// }
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,164 +0,0 @@
|
|||
/*
|
||||
* This file is part of TechReborn, licensed under the MIT License (MIT).
|
||||
*
|
||||
* Copyright (c) 2018 TechReborn
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package techreborn.blocks;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.state.BlockStateContainer;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.NonNullList;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.RayTraceResult;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import reborncore.common.blocks.PropertyString;
|
||||
import reborncore.common.util.ArrayUtils;
|
||||
import reborncore.common.util.StringUtils;
|
||||
import techreborn.events.TRRecipeHandler;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.utils.TechRebornCreativeTab;
|
||||
import techreborn.world.config.IOreNameProvider;
|
||||
|
||||
import java.security.InvalidParameterException;
|
||||
import java.util.List;
|
||||
|
||||
public class BlockOre2 extends Block implements IOreNameProvider {
|
||||
|
||||
public static final String[] ores = new String[] { "copper", "tin" };
|
||||
static List<String> oreNamesList = Lists.newArrayList(ArrayUtils.arrayToLowercase(ores));
|
||||
public PropertyString VARIANTS;
|
||||
|
||||
public BlockOre2() {
|
||||
super(Material.ROCK);
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
setHardness(2.0f);
|
||||
setHarvestLevel("pickaxe", 1);
|
||||
this.setDefaultState(this.getStateFromMeta(0));
|
||||
for (int i = 0; i < ores.length; i++) {
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, this, i).setInvVariant("type=" + ores[i]).setFileName("ores"));
|
||||
}
|
||||
TRRecipeHandler.hideEntry(this);
|
||||
}
|
||||
|
||||
public static ItemStack getOreByName(String name, int count) {
|
||||
for (int i = 0; i < ores.length; i++) {
|
||||
if (ores[i].equalsIgnoreCase(name)) {
|
||||
return new ItemStack(ModBlocks.ORE2, count, i);
|
||||
}
|
||||
}
|
||||
throw new InvalidParameterException("The ore block " + name + " could not be found.");
|
||||
}
|
||||
|
||||
public static ItemStack getOreByName(String name) {
|
||||
return getOreByName(name, 1);
|
||||
}
|
||||
|
||||
public IBlockState getBlockStateFromName(String name) {
|
||||
int index = -1;
|
||||
for (int i = 0; i < ores.length; i++) {
|
||||
if (ores[i].equalsIgnoreCase(name)) {
|
||||
index = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (index == -1) {
|
||||
throw new InvalidParameterException("The ore block " + name + " could not be found.");
|
||||
}
|
||||
return getStateFromMeta(index);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean canSilkHarvest() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void getSubBlocks(CreativeTabs creativeTabs, NonNullList<ItemStack> list) {
|
||||
for (int meta = 0; meta < ores.length; meta++) {
|
||||
list.add(new ItemStack(this, 1, meta));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getPickBlock(IBlockState state, RayTraceResult target, World world, BlockPos pos,
|
||||
EntityPlayer player) {
|
||||
return new ItemStack(this, 1, getMetaFromState(state));
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public int damageDropped(IBlockState state)
|
||||
// {
|
||||
// int meta = getMetaFromState(state);
|
||||
// if (meta == 2)
|
||||
// {
|
||||
// return 0;
|
||||
// } else if (meta == 3)
|
||||
// {
|
||||
// return 1;
|
||||
// } else if (meta == 5)
|
||||
// {
|
||||
// return 60;
|
||||
// }
|
||||
// return meta;
|
||||
// }
|
||||
|
||||
@Override
|
||||
public int damageDropped(IBlockState state) {
|
||||
return getMetaFromState(state);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBlockState getStateFromMeta(int meta) {
|
||||
if (meta > ores.length) {
|
||||
meta = 0;
|
||||
}
|
||||
return getBlockState().getBaseState().withProperty(VARIANTS, oreNamesList.get(meta));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMetaFromState(IBlockState state) {
|
||||
return oreNamesList.indexOf(state.getValue(VARIANTS));
|
||||
}
|
||||
|
||||
@Override
|
||||
protected BlockStateContainer createBlockState() {
|
||||
VARIANTS = new PropertyString("type", oreNamesList);
|
||||
return new BlockStateContainer(this, VARIANTS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUserLoclisedName(IBlockState state) {
|
||||
return StringUtils.toFirstCapital(oreNamesList.get(getMetaFromState(state)));
|
||||
}
|
||||
}
|
|
@ -34,7 +34,6 @@ import net.minecraft.util.ResourceLocation;
|
|||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import reborncore.RebornRegistry;
|
||||
import reborncore.common.util.OreUtil;
|
||||
import reborncore.common.util.StringUtils;
|
||||
import techreborn.Core;
|
||||
import techreborn.blocks.*;
|
||||
import techreborn.blocks.cable.BlockCable;
|
||||
|
@ -57,96 +56,107 @@ import techreborn.lib.ModInfo;
|
|||
* Registers all TR blocks
|
||||
*/
|
||||
public class ModBlocks {
|
||||
|
||||
public static Block THERMAL_GENERATOR;
|
||||
public static Block QUANTUM_TANK;
|
||||
public static Block CREATIVE_QUANTUM_TANK;
|
||||
public static Block QUANTUM_CHEST;
|
||||
public static Block CREATIVE_QUANTUM_CHEST;
|
||||
public static Block DIGITAL_CHEST;
|
||||
public static Block INDUSTRIAL_CENTRIFUGE;
|
||||
public static Block ROLLING_MACHINE;
|
||||
public static Block MACHINE_CASINGS;
|
||||
public static Block INDUSTRIAL_BLAST_FURNACE;
|
||||
public static Block ALLOY_SMELTER;
|
||||
public static Block INDUSTRIAL_GRINDER;
|
||||
public static Block IMPLOSION_COMPRESSOR;
|
||||
public static Block MATTER_FABRICATOR;
|
||||
public static Block CHUNK_LOADER;
|
||||
public static Block DRAGON_EGG_SYPHON;
|
||||
public static Block MAGIC_ENERGY_CONVERTER;
|
||||
public static Block ASSEMBLY_MACHINE;
|
||||
public static Block DIESEL_GENERATOR;
|
||||
public static Block INDUSTRIAL_ELECTROLYZER;
|
||||
public static Block MAGICAL_ABSORBER;
|
||||
public static Block SEMI_FLUID_GENERATOR;
|
||||
public static Block GAS_TURBINE;
|
||||
public static Block IRON_ALLOY_FURNACE;
|
||||
public static Block CHEMICAL_REACTOR;
|
||||
public static Block INTERDIMENSIONAL_SU;
|
||||
public static Block ADJUSTABLE_SU;
|
||||
public static Block LAPOTRONIC_SU;
|
||||
public static Block LSU_STORAGE;
|
||||
public static Block DISTILLATION_TOWER;
|
||||
public static Block VACUUM_FREEZER;
|
||||
public static Block FUSION_CONTROL_COMPUTER;
|
||||
public static Block FUSION_COIL;
|
||||
public static Block LIGHTNING_ROD;
|
||||
public static Block INDUSTRIAL_SAWMILL;
|
||||
public static Block CHARGE_O_MAT;
|
||||
public static Block PLAYER_DETECTOR;
|
||||
public static Block GRINDER;
|
||||
public static Block SOLID_FUEL_GENEREATOR;
|
||||
public static Block COMPRESSOR;
|
||||
public static Block EXTRACTOR;
|
||||
public static Block ELECTRIC_FURNACE;
|
||||
public static Block SOLAR_PANEL;
|
||||
public static Block CREATIVE_SOLAR_PANEL;
|
||||
public static Block WATER_MILL;
|
||||
public static Block WIND_MILL;
|
||||
public static Block RECYCLER;
|
||||
public static Block LOW_VOLTAGE_SU;
|
||||
public static Block MEDIUM_VOLTAGE_SU;
|
||||
public static Block HIGH_VOLTAGE_SU;
|
||||
public static Block SCRAPBOXINATOR;
|
||||
public static Block LV_TRANSFORMER;
|
||||
public static Block MV_TRANSFORMER;
|
||||
public static Block HV_TRANSFORMER;
|
||||
public static Block AUTO_CRAFTING_TABLE;
|
||||
|
||||
public static BlockOre ORE;
|
||||
public static BlockOre2 ORE2;
|
||||
|
||||
// Storage Blocks
|
||||
public static Block STORAGE;
|
||||
public static Block STORAGE2;
|
||||
public static Block MACHINE_FRAMES;
|
||||
public static Block REINFORCED_GLASS;
|
||||
|
||||
// Misc Blocks
|
||||
public static Block CABLE;
|
||||
public static Block COMPUTER_CUBE;
|
||||
public static Block FLARE;
|
||||
public static Block IRON_FURNACE;
|
||||
public static Block NUKE;
|
||||
|
||||
public static Block REFINED_IRON_FENCE;
|
||||
public static Block REINFORCED_GLASS;
|
||||
public static Block RUBBER_LEAVES;
|
||||
public static Block RUBBER_LOG;
|
||||
public static Block RUBBER_LOG_SLAB_HALF;
|
||||
public static Block RUBBER_LOG_SLAB_DOUBLE;
|
||||
public static Block RUBBER_LOG_STAIR;
|
||||
public static Block RUBBER_LEAVES;
|
||||
public static Block RUBBER_SAPLING;
|
||||
public static Block RUBBER_PLANKS;
|
||||
|
||||
public static Block REFINED_IRON_FENCE;
|
||||
public static Block FLARE;
|
||||
public static Block CABLE;
|
||||
|
||||
public static Block COMPUTER_CUBE;
|
||||
// Machines - machines
|
||||
public static Block ALLOY_SMELTER;
|
||||
public static Block ASSEMBLY_MACHINE;
|
||||
public static Block AUTO_CRAFTING_TABLE;
|
||||
public static Block CHEMICAL_REACTOR;
|
||||
public static Block COMPRESSOR;
|
||||
public static Block DISTILLATION_TOWER;
|
||||
public static Block ELECTRIC_FURNACE;
|
||||
public static Block EXTRACTOR;
|
||||
public static Block FLUID_REPLICATOR;
|
||||
public static Block GRINDER;
|
||||
public static Block IMPLOSION_COMPRESSOR;
|
||||
public static Block INDUSTRIAL_BLAST_FURNACE;
|
||||
public static Block INDUSTRIAL_CENTRIFUGE;
|
||||
public static Block INDUSTRIAL_ELECTROLYZER;
|
||||
public static Block INDUSTRIAL_GRINDER;
|
||||
public static Block INDUSTRIAL_SAWMILL;
|
||||
public static Block IRON_ALLOY_FURNACE;
|
||||
public static Block MATTER_FABRICATOR;
|
||||
public static Block RECYCLER;
|
||||
public static Block ROLLING_MACHINE;
|
||||
public static Block SCRAPBOXINATOR;
|
||||
public static Block VACUUM_FREEZER;
|
||||
|
||||
// Machines - generators
|
||||
public static Block CREATIVE_SOLAR_PANEL;
|
||||
public static Block DIESEL_GENERATOR;
|
||||
public static Block DRAGON_EGG_SYPHON;
|
||||
public static Block FUSION_COIL;
|
||||
public static Block FUSION_CONTROL_COMPUTER;
|
||||
public static Block GAS_TURBINE;
|
||||
public static Block LIGHTNING_ROD;
|
||||
public static Block PLASMA_GENERATOR;
|
||||
public static Block SEMI_FLUID_GENERATOR;
|
||||
public static Block SOLAR_PANEL;
|
||||
public static Block SOLID_FUEL_GENEREATOR;
|
||||
public static Block THERMAL_GENERATOR;
|
||||
public static Block WATER_MILL;
|
||||
public static Block WIND_MILL;
|
||||
|
||||
// Machines - storage
|
||||
public static Block CREATIVE_QUANTUM_CHEST;
|
||||
public static Block CREATIVE_QUANTUM_TANK;
|
||||
public static Block DIGITAL_CHEST;
|
||||
public static Block QUANTUM_CHEST;
|
||||
public static Block QUANTUM_TANK;
|
||||
|
||||
// Machines - energy storage & transformers
|
||||
public static Block ADJUSTABLE_SU;
|
||||
public static Block CHARGE_O_MAT;
|
||||
public static Block INTERDIMENSIONAL_SU;
|
||||
public static Block LAPOTRONIC_SU;
|
||||
public static Block LSU_STORAGE;
|
||||
public static Block LOW_VOLTAGE_SU;
|
||||
public static Block MEDIUM_VOLTAGE_SU;
|
||||
public static Block HIGH_VOLTAGE_SU;
|
||||
public static Block LV_TRANSFORMER;
|
||||
public static Block MV_TRANSFORMER;
|
||||
public static Block HV_TRANSFORMER;
|
||||
|
||||
// Machines - misc
|
||||
public static Block ALARM;
|
||||
public static Block CHUNK_LOADER;
|
||||
public static Block LAMP_INCANDESCENT;
|
||||
public static Block LAMP_LED;
|
||||
public static Block ALARM;
|
||||
public static Block FLUID_REPLICATOR;
|
||||
public static Block MAGICAL_ABSORBER;
|
||||
public static Block MAGIC_ENERGY_CONVERTER;
|
||||
public static Block PLAYER_DETECTOR;
|
||||
|
||||
|
||||
public static Block MACHINE_CASINGS;
|
||||
public static Block MACHINE_FRAMES;
|
||||
|
||||
|
||||
/**
|
||||
* Register blocks
|
||||
*/
|
||||
public static void init() {
|
||||
TRIngredients.registerBlocks();
|
||||
|
||||
THERMAL_GENERATOR = new BlockThermalGenerator();
|
||||
registerBlock(THERMAL_GENERATOR, "thermal_generator");
|
||||
|
||||
|
@ -201,11 +211,11 @@ public class ModBlocks {
|
|||
MACHINE_CASINGS = new BlockMachineCasing();
|
||||
registerBlock(MACHINE_CASINGS, ItemBlockMachineCasing.class, "machine_casing");
|
||||
|
||||
ORE = new BlockOre();
|
||||
registerBlock(ORE, ItemBlockOre.class, "ore");
|
||||
|
||||
ORE2 = new BlockOre2();
|
||||
registerBlock(ORE2, ItemBlockOre2.class, "ore2");
|
||||
// ORE = new BlockOre();
|
||||
// registerBlock(ORE, ItemBlockOre.class, "ore");
|
||||
//
|
||||
// ORE2 = new BlockOre2();
|
||||
// registerBlock(ORE2, ItemBlockOre2.class, "ore2");
|
||||
|
||||
STORAGE = new BlockStorage();
|
||||
registerBlock(STORAGE, ItemBlockStorage.class, "storage");
|
||||
|
@ -433,13 +443,11 @@ public class ModBlocks {
|
|||
* Register ores and ore blocks
|
||||
*/
|
||||
public static void registerOreDict() {
|
||||
for (String ore : BlockOre.ores) {
|
||||
OreUtil.registerOre("ore" + StringUtils.toFirstCapital(ore), BlockOre.getOreByName(ore));
|
||||
}
|
||||
// TODO: Fix block
|
||||
// for (String ore : BlockOre.ores) {
|
||||
// OreUtil.registerOre("ore" + StringUtils.toFirstCapital(ore), BlockOre.getOreByName(ore));
|
||||
// }
|
||||
|
||||
for (String ore : BlockOre2.ores) {
|
||||
OreUtil.registerOre("ore" + StringUtils.toFirstCapital(ore), BlockOre2.getOreByName(ore));
|
||||
}
|
||||
|
||||
OreUtil.registerOre("blockSilver", BlockStorage.getStorageBlockByName("silver"));
|
||||
OreUtil.registerOre("blockAluminum", BlockStorage.getStorageBlockByName("aluminum"));
|
||||
|
|
|
@ -149,21 +149,25 @@ public class SubItemRetriever implements ISubItemRetriever {
|
|||
|
||||
@Override
|
||||
public ItemStack getOreByName(String name) {
|
||||
return BlockOre.getOreByName(name);
|
||||
// return BlockOre.getOreByName(name);
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getOreByName(String name, int count) {
|
||||
return BlockOre.getOreByName(name, count);
|
||||
// return BlockOre.getOreByName(name, count);
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getStorageBlockByName(String name) {
|
||||
return BlockStorage.getStorageBlockByName(name);
|
||||
// return BlockStorage.getStorageBlockByName(name);
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getStorageBlockByName(String name, int count) {
|
||||
return BlockStorage.getStorageBlockByName(name, count);
|
||||
// return BlockStorage.getStorageBlockByName(name, count);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@ import java.util.Arrays;
|
|||
|
||||
import com.google.common.base.CaseFormat;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -36,6 +37,9 @@ import net.minecraftforge.client.model.ModelLoader;
|
|||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.RebornRegistry;
|
||||
import reborncore.client.models.ModelCompound;
|
||||
import reborncore.client.models.RebornModelRegistry;
|
||||
import techreborn.blocks.BlockOre;
|
||||
import techreborn.events.TRRecipeHandler;
|
||||
import techreborn.items.ItemTR;
|
||||
import techreborn.lib.ModInfo;
|
||||
|
@ -46,7 +50,14 @@ import techreborn.lib.ModInfo;
|
|||
*/
|
||||
public class TRIngredients {
|
||||
|
||||
public static void register() {
|
||||
public static void registerBlocks() {
|
||||
Arrays.stream(Ores.values()).forEach(value -> RebornRegistry.registerBlock(value.block));
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public static void registerItems() {
|
||||
Arrays.stream(Dusts.values()).forEach(value -> RebornRegistry.registerItem(value.item));
|
||||
Arrays.stream(DustsSmall.values()).forEach(value -> RebornRegistry.registerItem(value.item));
|
||||
Arrays.stream(Gems.values()).forEach(value -> RebornRegistry.registerItem(value.item));
|
||||
|
@ -56,6 +67,7 @@ public class TRIngredients {
|
|||
Arrays.stream(Plates.values()).forEach(value -> RebornRegistry.registerItem(value.item));
|
||||
}
|
||||
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static void registerModel() {
|
||||
ResourceLocation dustsRL = new ResourceLocation(ModInfo.MOD_ID, "items/materials/dusts");
|
||||
|
@ -86,6 +98,29 @@ public class TRIngredients {
|
|||
Arrays.stream(Plates.values()).forEach(value -> ModelLoader.setCustomModelResourceLocation(value.item, 0,
|
||||
new ModelResourceLocation(platesRL, "type=" + value.name)));
|
||||
}
|
||||
|
||||
public static enum Ores implements IStringSerializable {
|
||||
BAUXITE, CINNABAR, COPPER, GALENA, IRIDIUM, LEAD, PERIDOT, PYRITE, RUBY, SAPPHIRE, SHELDONITE, SILVER, SODALITE,
|
||||
SPHALERITE, TIN, TUNGSTEN;
|
||||
|
||||
public final String name;
|
||||
public final Block block;
|
||||
|
||||
private Ores() {
|
||||
name = CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "ORE_" + this.toString());
|
||||
block = new BlockOre();
|
||||
block.setRegistryName(new ResourceLocation(ModInfo.MOD_ID, name));
|
||||
block.setTranslationKey(ModInfo.MOD_ID + ".ore." + this.toString().toLowerCase());
|
||||
RebornModelRegistry.registerModel(new ModelCompound(ModInfo.MOD_ID, block).setInvVariant("type=" + name).setFileName("ores"));
|
||||
TRRecipeHandler.hideEntry(block);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static enum Dusts implements IStringSerializable {
|
||||
ALMANDINE, ALUMINUM, ANDESITE, ANDRADITE, ASHES, BASALT, BAUXITE, BRASS, BRONZE, CALCITE, CHARCOAL, CHROME,
|
||||
|
|
|
@ -160,7 +160,7 @@ public class TRItems {
|
|||
|
||||
public static void init() {
|
||||
|
||||
TRIngredients.register();
|
||||
TRIngredients.registerItems();
|
||||
|
||||
// Armor
|
||||
CLOAKING_DEVICE = new ItemCloakingDevice();
|
||||
|
|
|
@ -42,7 +42,8 @@ public class FusionReactorRecipes extends RecipeMethods {
|
|||
ItemCells.getCellByName("deuterium"), ItemCells.getCellByName("helium3"), 60000000, 16384, 2048));
|
||||
FusionReactorRecipeHelper.registerRecipe(new FusionReactorRecipe(ItemCells.getCellByName("wolframium"),
|
||||
ItemCells.getCellByName("Berylium"), TRIngredients.Dusts.PLATINUM.getStack(), 80000000, -2048, 1024));
|
||||
FusionReactorRecipeHelper.registerRecipe(new FusionReactorRecipe(ItemCells.getCellByName("wolframium"),
|
||||
ItemCells.getCellByName("lithium"), BlockOre.getOreByName("iridium"), 90000000, -2048, 1024));
|
||||
// TODO: Fix recipe
|
||||
// FusionReactorRecipeHelper.registerRecipe(new FusionReactorRecipe(ItemCells.getCellByName("wolframium"),
|
||||
// ItemCells.getCellByName("lithium"), BlockOre.getOreByName("iridium"), 90000000, -2048, 1024));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,8 +68,8 @@ public abstract class RecipeMethods {
|
|||
return BlockMachineCasing.getStackByName(name, count);
|
||||
// } else if (type == Type.UPGRADE) {
|
||||
// return ItemUpgrades.getUpgradeByName(name, count);
|
||||
} else if (type == Type.ORE) {
|
||||
return BlockOre.getOreByName(name, count);
|
||||
// } else if (type == Type.ORE) {
|
||||
// return BlockOre.getOreByName(name, count);
|
||||
}
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,6 @@ import net.minecraft.init.Items;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import reborncore.common.util.RebornCraftingHelper;
|
||||
import techreborn.blocks.BlockOre;
|
||||
import techreborn.blocks.BlockOre2;
|
||||
import techreborn.init.TRIngredients;
|
||||
|
||||
/**
|
||||
|
@ -40,8 +39,8 @@ public class SmeltingRecipes extends RecipeMethods {
|
|||
register(getStack(Items.IRON_INGOT), TRIngredients.Ingots.REFINED_IRON.getStack());
|
||||
register(TRIngredients.Parts.SAP.getStack(), TRIngredients.Parts.RUBBER.getStack());
|
||||
register(TRIngredients.Ingots.MIXED_METAL.getStack(), TRIngredients.Ingots.ADVANCED_ALLOY.getStack());
|
||||
register(BlockOre.getOreByName("silver"), TRIngredients.Ingots.SILVER.getStack());
|
||||
register(BlockOre2.getOreByName("tin"), TRIngredients.Ingots.TIN.getStack());
|
||||
// register(BlockOre.getOreByName("silver"), TRIngredients.Ingots.SILVER.getStack());
|
||||
// register(BlockOre2.getOreByName("tin"), TRIngredients.Ingots.TIN.getStack());
|
||||
|
||||
// TODO: Fix recipe
|
||||
// register(BlockOre2.getOreByName("copper"), getMaterial("copper", Type.INGOT));
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* This file is part of TechReborn, licensed under the MIT License (MIT).
|
||||
*
|
||||
* Copyright (c) 2018 TechReborn
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package techreborn.itemblocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import reborncore.common.itemblock.ItemBlockBase;
|
||||
import techreborn.blocks.BlockOre;
|
||||
import techreborn.init.ModBlocks;
|
||||
|
||||
public class ItemBlockOre extends ItemBlockBase {
|
||||
|
||||
public ItemBlockOre(Block block) {
|
||||
super(ModBlocks.ORE, ModBlocks.ORE, BlockOre.ores);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* This file is part of TechReborn, licensed under the MIT License (MIT).
|
||||
*
|
||||
* Copyright (c) 2018 TechReborn
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package techreborn.itemblocks;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import reborncore.common.itemblock.ItemBlockBase;
|
||||
import techreborn.blocks.BlockOre2;
|
||||
import techreborn.init.ModBlocks;
|
||||
|
||||
public class ItemBlockOre2 extends ItemBlockBase {
|
||||
|
||||
public ItemBlockOre2(Block block) {
|
||||
super(ModBlocks.ORE2, ModBlocks.ORE2, BlockOre2.ores);
|
||||
}
|
||||
|
||||
}
|
|
@ -70,25 +70,25 @@ public class TechRebornWorldGen implements IWorldGenerator {
|
|||
defaultConfig.overworldOres = new ArrayList<>();
|
||||
defaultConfig.endOres = new ArrayList<>();
|
||||
defaultConfig.neatherOres = new ArrayList<>();
|
||||
|
||||
defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Galena"), 8, 16, 10, 60));
|
||||
defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Iridium"), 3, 3, 5, 60));
|
||||
defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Ruby"), 6, 3, 10, 60));
|
||||
defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Sapphire"), 6, 3, 10, 60));
|
||||
defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Bauxite"), 6, 10, 10, 60));
|
||||
defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Lead"), 6, 16, 20, 60));
|
||||
defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Silver"), 6, 16, 20, 60));
|
||||
defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("copper"), 8, 16, 20, 60));
|
||||
defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("tin"), 8, 16, 20, 60));
|
||||
|
||||
defaultConfig.neatherOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Pyrite"), 6, 3, 10, 126));
|
||||
defaultConfig.neatherOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Cinnabar"), 6, 3, 10, 126));
|
||||
defaultConfig.neatherOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Sphalerite"), 6, 3, 10, 126));
|
||||
|
||||
defaultConfig.endOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Tungsten"), 6, 3, 10, 250));
|
||||
defaultConfig.endOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Sheldonite"), 6, 3, 10, 250));
|
||||
defaultConfig.endOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Peridot"), 6, 3, 10, 250));
|
||||
defaultConfig.endOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Sodalite"), 6, 3, 10, 250));
|
||||
// TODO: Fix block
|
||||
// defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Galena"), 8, 16, 10, 60));
|
||||
// defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Iridium"), 3, 3, 5, 60));
|
||||
// defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Ruby"), 6, 3, 10, 60));
|
||||
// defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Sapphire"), 6, 3, 10, 60));
|
||||
// defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Bauxite"), 6, 10, 10, 60));
|
||||
// defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Lead"), 6, 16, 20, 60));
|
||||
// defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Silver"), 6, 16, 20, 60));
|
||||
// defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("copper"), 8, 16, 20, 60));
|
||||
// defaultConfig.overworldOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("tin"), 8, 16, 20, 60));
|
||||
//
|
||||
// defaultConfig.neatherOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Pyrite"), 6, 3, 10, 126));
|
||||
// defaultConfig.neatherOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Cinnabar"), 6, 3, 10, 126));
|
||||
// defaultConfig.neatherOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Sphalerite"), 6, 3, 10, 126));
|
||||
//
|
||||
// defaultConfig.endOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Tungsten"), 6, 3, 10, 250));
|
||||
// defaultConfig.endOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Sheldonite"), 6, 3, 10, 250));
|
||||
// defaultConfig.endOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Peridot"), 6, 3, 10, 250));
|
||||
// defaultConfig.endOres.add(new OreConfig(ModBlocks.ORE.getBlockStateFromName("Sodalite"), 6, 3, 10, 250));
|
||||
}
|
||||
|
||||
public void load() {
|
||||
|
|
|
@ -10,102 +10,102 @@
|
|||
{}
|
||||
],
|
||||
"type": {
|
||||
"galena": {
|
||||
"oregalena": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/galena_ore"
|
||||
}
|
||||
},
|
||||
"iridium": {
|
||||
"oreiridium": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/iridium_ore"
|
||||
}
|
||||
},
|
||||
"ruby": {
|
||||
"oreruby": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/ruby_ore"
|
||||
}
|
||||
},
|
||||
"sapphire": {
|
||||
"oresapphire": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/sapphire_ore"
|
||||
}
|
||||
},
|
||||
"bauxite": {
|
||||
"orebauxite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/bauxite_ore"
|
||||
}
|
||||
},
|
||||
"pyrite": {
|
||||
"orepyrite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/pyrite_ore"
|
||||
}
|
||||
},
|
||||
"cinnabar": {
|
||||
"orecinnabar": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/cinnabar_ore"
|
||||
}
|
||||
},
|
||||
"sphalerite": {
|
||||
"oresphalerite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/sphalerite_ore"
|
||||
}
|
||||
},
|
||||
"tungsten": {
|
||||
"oretungsten": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/tungsten_ore"
|
||||
}
|
||||
},
|
||||
"tungsten_stone": {
|
||||
"oretungstenstone": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/tungsten_ore_stone"
|
||||
}
|
||||
},
|
||||
"sheldonite": {
|
||||
"oresheldonite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/sheldonite_ore"
|
||||
}
|
||||
},
|
||||
"sheldonite_stone": {
|
||||
"oresheldonitestone": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/sheldonite_ore_stone"
|
||||
}
|
||||
},
|
||||
"peridot": {
|
||||
"oreperidot": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/peridot_ore"
|
||||
}
|
||||
},
|
||||
"peridot_stone": {
|
||||
"oreperidotstone": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/peridot_ore_stone"
|
||||
}
|
||||
},
|
||||
"sodalite": {
|
||||
"oresodalite": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/sodalite_ore"
|
||||
}
|
||||
},
|
||||
"sodalite_stone": {
|
||||
"oresodalitestone": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/sodalite_ore_stone"
|
||||
}
|
||||
},
|
||||
"lead": {
|
||||
"orelead": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/lead_ore"
|
||||
}
|
||||
},
|
||||
"silver": {
|
||||
"oresilver": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/silver_ore"
|
||||
}
|
||||
},
|
||||
"copper": {
|
||||
"orecopper": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/copper_ore"
|
||||
}
|
||||
},
|
||||
"tin": {
|
||||
"oretin": {
|
||||
"textures": {
|
||||
"all": "techreborn:blocks/ore/tin_ore"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue