Blockstate+models for ores

This commit is contained in:
drcrazy 2019-03-04 17:37:01 +03:00
parent f64229efb4
commit d6d0515a1b
72 changed files with 307 additions and 446 deletions

View file

@ -62,7 +62,6 @@ public class TechReborn {
public static final String MOD_ID = "techreborn";
public static final Logger LOGGER = LogManager.getLogger(MOD_ID);
// @SidedProxy(clientSide = TechReborn.CLIENT_PROXY_CLASS, serverSide = TechReborn.SERVER_PROXY_CLASS)
public static CommonProxy proxy = new CommonProxy();
public static TechReborn INSTANCE;
@ -80,13 +79,7 @@ public class TechReborn {
}
private void setup(FMLCommonSetupEvent event) {
// if(!RebornCore.LOADED){
// throw new RuntimeException("RebornCore has not loaded!");
// } else {
// System.out.println("Hello Reborn Core, I see you are loaded and ready.");
// }
MinecraftForge.EVENT_BUS.register(this);
INSTANCE = this;
RegistrationManager registrationManager = new RegistrationManager("techreborn");

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/bauxite_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/cinnabar_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/copper_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/galena_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/iridium_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/lead_ore" }
}
}

View file

@ -1,34 +1,5 @@
{
"forge_marker": 1,
"defaults": {
"transform": "forge:default-block",
"model": "orientable",
"textures": {
"particle": "techreborn:blocks/nuke_side",
"bottom": "techreborn:blocks/nuke_top",
"top": "techreborn:blocks/nuke_top",
"front": "techreborn:blocks/nuke_front",
"side": "techreborn:blocks/nuke_side"
}
},
"variants": {
"inventory": {
"transform": "forge:default-block",
"textures": {
}
},
"normal": [
{}
],
"overlay": {
"true": {
"textures": {
}
},
"false": {
"textures": {
}
}
}
}
}
{
"variants": {
"": { "model": "techreborn:block/nuke" }
}
}

View file

@ -1,115 +0,0 @@
{
"forge_marker": 1,
"defaults": {
"textures": {},
"transform": "forge:default-block",
"model": "cube_all"
},
"variants": {
"inventory": [
{}
],
"type": {
"galena": {
"textures": {
"all": "techreborn:blocks/ore/galena_ore"
}
},
"iridium": {
"textures": {
"all": "techreborn:blocks/ore/iridium_ore"
}
},
"ruby": {
"textures": {
"all": "techreborn:blocks/ore/ruby_ore"
}
},
"sapphire": {
"textures": {
"all": "techreborn:blocks/ore/sapphire_ore"
}
},
"bauxite": {
"textures": {
"all": "techreborn:blocks/ore/bauxite_ore"
}
},
"pyrite": {
"textures": {
"all": "techreborn:blocks/ore/pyrite_ore"
}
},
"cinnabar": {
"textures": {
"all": "techreborn:blocks/ore/cinnabar_ore"
}
},
"sphalerite": {
"textures": {
"all": "techreborn:blocks/ore/sphalerite_ore"
}
},
"tungsten": {
"textures": {
"all": "techreborn:blocks/ore/tungsten_ore"
}
},
"tungsten_stone": {
"textures": {
"all": "techreborn:blocks/ore/tungsten_ore_stone"
}
},
"sheldonite": {
"textures": {
"all": "techreborn:blocks/ore/sheldonite_ore"
}
},
"sheldonite_stone": {
"textures": {
"all": "techreborn:blocks/ore/sheldonite_ore_stone"
}
},
"peridot": {
"textures": {
"all": "techreborn:blocks/ore/peridot_ore"
}
},
"peridot_stone": {
"textures": {
"all": "techreborn:blocks/ore/peridot_ore_stone"
}
},
"sodalite": {
"textures": {
"all": "techreborn:blocks/ore/sodalite_ore"
}
},
"sodalite_stone": {
"textures": {
"all": "techreborn:blocks/ore/sodalite_ore_stone"
}
},
"lead": {
"textures": {
"all": "techreborn:blocks/ore/lead_ore"
}
},
"silver": {
"textures": {
"all": "techreborn:blocks/ore/silver_ore"
}
},
"copper": {
"textures": {
"all": "techreborn:blocks/ore/copper_ore"
}
},
"tin": {
"textures": {
"all": "techreborn:blocks/ore/tin_ore"
}
}
}
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/peridot_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/pyrite_ore" }
}
}

View file

@ -2,7 +2,7 @@
"multipart": [
{
"apply": {
"model": "techreborn:refined_iron_fence_post"
"model": "techreborn:block/refined_iron_fence_post"
}
},
{
@ -10,7 +10,7 @@
"north": "true"
},
"apply": {
"model": "techreborn:refined_iron_fence_side",
"model": "techreborn:block/refined_iron_fence_side",
"uvlock": true
}
},
@ -19,7 +19,7 @@
"east": "true"
},
"apply": {
"model": "techreborn:refined_iron_fence_side",
"model": "techreborn:block/refined_iron_fence_side",
"y": 90,
"uvlock": true
}
@ -29,7 +29,7 @@
"south": "true"
},
"apply": {
"model": "techreborn:refined_iron_fence_side",
"model": "techreborn:block/refined_iron_fence_side",
"y": 180,
"uvlock": true
}
@ -39,7 +39,7 @@
"west": "true"
},
"apply": {
"model": "techreborn:refined_iron_fence_side",
"model": "techreborn:block/refined_iron_fence_side",
"y": 270,
"uvlock": true
}

View file

@ -1,18 +1,5 @@
{
"forge_marker": 1,
"defaults": {
"textures": {
"all": "techreborn:blocks/reinforced_glass"
},
"transform": "forge:default-block",
"model": "cube_all"
},
"variants": {
"inventory": [
{}
],
"normal": [
{}
]
}
}
"variants": {
"": { "model": "techreborn:block/reinforced_glass" }
}
}

View file

@ -1,18 +1,5 @@
{
"forge_marker": 1,
"defaults": {
"textures": {
"all": "techreborn:blocks/rubber_leaves"
},
"model": "cube_all",
"uvlock": true
},
"variants": {
"inventory": [
{}
],
"normal": [
{}
]
}
"variants": {
"": { "model": "techreborn:block/rubber_leaves" }
}
}

View file

@ -39,7 +39,6 @@
"facing=east,half=top,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "uvlock": true },
"facing=west,half=top,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 180, "uvlock": true },
"facing=south,half=top,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 90, "uvlock": true },
"facing=north,half=top,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 270, "uvlock": true },
"inventory": [{ "model": "techreborn:block/rubber_plank_stair" }]
"facing=north,half=top,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 270, "uvlock": true }
}
}

View file

@ -1,18 +1,5 @@
{
"forge_marker": 1,
"defaults": {
"textures": {
"all": "techreborn:blocks/rubber_planks"
},
"transform": "forge:default-block",
"model": "cube_all"
},
"variants": {
"inventory": [
{}
],
"normal": [
{}
]
}
}
{
"variants": {
"": { "model": "techreborn:block/rubber_planks" }
}
}

View file

@ -1,66 +1,5 @@
{
"forge_marker": 1,
"defaults": {
"model": "cross",
"textures": {
"cross": "techreborn:blocks/rubber_sapling"
}
},
"variants": {
"type": {
"oak": {
"model": "cross"
},
"birch": {
"model": "cross"
},
"spruce": {
"model": "cross"
},
"jungle": {
"model": "cross"
},
"acacia": {
"model": "cross"
},
"dark_oak": {
"model": "cross"
}
},
"stage": {
"0": {
"model": "cross"
},
"1": {
"model": "cross"
},
"2": {
"model": "cross"
},
"3": {
"model": "cross"
},
"4": {
"model": "cross"
},
"5": {
"model": "cross"
},
"6": {
"model": "cross"
}
},
"normal": {
"parent": "item/generated",
"textures": {
"layer0": "techreborn:blocks/rubber_sapling"
}
},
"inventory": {
"parent": "item/generated",
"textures": {
"layer0": "techreborn:blocks/rubber_sapling"
}
}
}
}
{
"variants": {
"": { "model": "techreborn:block/rubber_sapling" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/ruby_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/sapphire_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/sheldonite_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/silver_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/sodalite_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/sphalerite_ore" }
}
}

View file

@ -1,154 +0,0 @@
{
"forge_marker": 1,
"defaults": {
"textures": {
},
"transform": "forge:default-block",
"model": "cube_all"
},
"variants": {
"inventory": [
{
}
],
"type": {
"aluminum": {
"textures": {
"all": "techreborn:blocks/storage/aluminum_block"
}
},
"brass": {
"textures": {
"all": "techreborn:blocks/storage/brass_block"
}
},
"bronze": {
"textures": {
"all": "techreborn:blocks/storage/bronze_block"
}
},
"chrome": {
"textures": {
"all": "techreborn:blocks/storage/chrome_block"
}
},
"copper": {
"textures": {
"all": "techreborn:blocks/storage/copper_block"
}
},
"electrum": {
"textures": {
"all": "techreborn:blocks/storage/electrum_block"
}
},
"invar": {
"textures": {
"all": "techreborn:blocks/storage/invar_block"
}
},
"iridium": {
"textures": {
"all": "techreborn:blocks/storage/iridium_block"
}
},
"iridium_reinforced_stone": {
"textures": {
"all": "techreborn:blocks/storage/iridium_reinforced_stone_block"
}
},
"iridium_reinforced_tungstensteel": {
"textures": {
"all": "techreborn:blocks/storage/iridium_reinforced_tungstensteel_block"
}
},
"lead": {
"textures": {
"all": "techreborn:blocks/storage/lead_block"
}
},
"nickel": {
"textures": {
"all": "techreborn:blocks/storage/nickel_block"
}
},
"osmium": {
"textures": {
"all": "techreborn:blocks/storage/osmium_block"
}
},
"peridot": {
"textures": {
"all": "techreborn:blocks/storage/peridot_block"
}
},
"platinum": {
"textures": {
"all": "techreborn:blocks/storage/platinum_block"
}
},
"red_garnet": {
"textures": {
"all": "techreborn:blocks/storage/redgarnet_block"
}
},
"refined_iron": {
"textures": {
"all": "techreborn:blocks/storage/refinediron_block"
}
},
"ruby": {
"textures": {
"all": "techreborn:blocks/storage/ruby_block"
}
},
"sapphire": {
"textures": {
"all": "techreborn:blocks/storage/sapphire_block"
}
},
"silver": {
"textures": {
"all": "techreborn:blocks/storage/silver_block"
}
},
"steel": {
"textures": {
"all": "techreborn:blocks/storage/steel_block"
}
},
"tin": {
"textures": {
"all": "techreborn:blocks/storage/tin_block"
}
},
"titanium": {
"textures": {
"all": "techreborn:blocks/storage/titanium_block"
}
},
"tungsten": {
"textures": {
"all": "techreborn:blocks/storage/tungsten_block"
}
},
"tungstensteel": {
"textures": {
"all": "techreborn:blocks/storage/tungstensteel_block"
}
},
"yellow_garnet": {
"textures": {
"all": "techreborn:blocks/storage/yellowgarnet_block"
}
},
"zinc": {
"textures": {
"all": "techreborn:blocks/storage/zinc_block"
}
}
}
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/tin_ore" }
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/tungsten_ore" }
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/bauxite_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/cinnabar_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/copper_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/galena_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/iridium_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/lead_ore"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/orientable",
"textures": {
"top": "techreborn:block/nuke_top",
"front": "techreborn:block/nuke_front",
"side": "techreborn:block/nuke_side"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/peridot_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/pyrite_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/reinforced_glass"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/leaves",
"textures": {
"all": "techreborn:block/rubber_leaves"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/rubber_planks"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "techreborn:block/rubber_sapling"
}
}

View file

@ -1,6 +0,0 @@
{
"parent": "block/leaves",
"textures": {
"all": "techreborn:blocks/rubber_leaves"
}
}

View file

@ -1,6 +0,0 @@
{
"parent": "block/cross",
"textures": {
"cross": "techreborn:blocks/rubber_sapling"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/ruby_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/sapphire_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/sheldonite_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/silver_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/sodalite_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/sphalerite_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/tin_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "techreborn:block/ore/tungsten_ore"
}
}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "techreborn:block/rubber_sapling"
}
}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "techreborn:block/sphalerite_ore" }
}
}