Default ID fix, renames
This commit is contained in:
parent
720103bd45
commit
e1f88b453a
88 changed files with 482 additions and 561 deletions
|
@ -165,9 +165,9 @@ public class EChestBlockEntityRenderer extends BlockEntityRenderer<EChestBlockEn
|
|||
|
||||
static {
|
||||
defaultLayer = new RenderLayer[] {
|
||||
RenderLayer.getEntitySolid(new Identifier(BetterEnd.MOD_ID, "entity/chest/normal.png")),
|
||||
RenderLayer.getEntitySolid(new Identifier(BetterEnd.MOD_ID, "entity/chest/normal_left.png")),
|
||||
RenderLayer.getEntitySolid(new Identifier(BetterEnd.MOD_ID, "entity/chest/normal_right.png"))
|
||||
RenderLayer.getEntitySolid(new Identifier("entity/chest/normal.png")),
|
||||
RenderLayer.getEntitySolid(new Identifier("entity/chest/normal_left.png")),
|
||||
RenderLayer.getEntitySolid(new Identifier("entity/chest/normal_right.png"))
|
||||
};
|
||||
|
||||
ItemRegistry.getModBlocks().forEach((item) -> {
|
||||
|
|
|
@ -105,7 +105,7 @@ public class ESignBlockEntityRenderer extends BlockEntityRenderer<ESignBlockEnti
|
|||
}
|
||||
|
||||
static {
|
||||
defaultLayer = RenderLayer.getEntitySolid(new Identifier(BetterEnd.MOD_ID, "entity/chest/normal.png"));
|
||||
defaultLayer = RenderLayer.getEntitySolid(new Identifier("entity/sign/oak.png"));
|
||||
|
||||
ItemRegistry.getModBlocks().forEach((item) -> {
|
||||
if (item instanceof BlockItem) {
|
||||
|
|
|
@ -30,13 +30,17 @@ public class Helper
|
|||
|
||||
public static final String[] BLOCKS = new String[] {
|
||||
"%name%_bark.json",
|
||||
"%name%_barrel.json",
|
||||
"%name%_barrel_open.json",
|
||||
"%name%_button.json",
|
||||
"%name%_button_inventory.json",
|
||||
"%name%_button_pressed.json",
|
||||
"%name%_crafting_table.json",
|
||||
"%name%_door_bottom.json",
|
||||
"%name%_door_bottom_hinge.json",
|
||||
"%name%_door_top.json",
|
||||
"%name%_door_top_hinge.json",
|
||||
"%name%_empty.json",
|
||||
"%name%_fence_gate_closed.json",
|
||||
"%name%_fence_gate_open.json",
|
||||
"%name%_fence_inventory.json",
|
||||
|
@ -51,19 +55,11 @@ public class Helper
|
|||
"%name%_pressure_plate_down.json",
|
||||
"%name%_pressure_plate_up.json",
|
||||
"%name%_stairs.json",
|
||||
"%name%_striped_bark.json",
|
||||
"%name%_striped_log.json",
|
||||
"%name%_trapdoor.json",
|
||||
"%name%_wall_gate_closed.json",
|
||||
"%name%_wall_gate_open.json",
|
||||
"barrel_%name%.json",
|
||||
"barrel_%name%_open.json",
|
||||
"bar_stool_%name%.json",
|
||||
"chair_%name%.json",
|
||||
"chair_%name%_top.json",
|
||||
"crafting_table_%name%.json",
|
||||
"empty_%name%.json",
|
||||
"striped_bark_%name%.json",
|
||||
"striped_log_%name%.json",
|
||||
"taburet_%name%.json"
|
||||
"%name%_wall_gate_open.json"
|
||||
};
|
||||
|
||||
public static final String[] ITEMS = new String[] {
|
||||
|
|
8
utility_res/block/%name%_barrel.json
Normal file
8
utility_res/block/%name%_barrel.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_bottom_top",
|
||||
"textures": {
|
||||
"top": "betternether:block/%name%_barrel_top",
|
||||
"bottom": "betternether:block/%name%_barrel_bottom",
|
||||
"side": "betternether:block/%name%_barrel_side"
|
||||
}
|
||||
}
|
8
utility_res/block/%name%_barrel_open.json
Normal file
8
utility_res/block/%name%_barrel_open.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_bottom_top",
|
||||
"textures": {
|
||||
"top": "betternether:block/%name%_barrel_top_open",
|
||||
"bottom": "betternether:block/%name%_barrel_bottom",
|
||||
"side": "betternether:block/%name%_barrel_side"
|
||||
}
|
||||
}
|
12
utility_res/block/%name%_crafting_table.json
Normal file
12
utility_res/block/%name%_crafting_table.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube",
|
||||
"textures": {
|
||||
"particle": "betternether:block/%name%_crafting_table_front",
|
||||
"north": "betternether:block/%name%_crafting_table_front",
|
||||
"south": "betternether:block/%name%_crafting_table_side",
|
||||
"east": "betternether:block/%name%_crafting_table_side",
|
||||
"west": "betternether:block/%name%_crafting_table_front",
|
||||
"up": "betternether:block/%name%_crafting_table_top",
|
||||
"down": "betternether:block/%name%_crafting_table_bottom"
|
||||
}
|
||||
}
|
5
utility_res/block/%name%_empty.json
Normal file
5
utility_res/block/%name%_empty.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"textures": {
|
||||
"particle": "betternether:block/%name%_planks"
|
||||
}
|
||||
}
|
6
utility_res/block/%name%_striped_bark.json
Normal file
6
utility_res/block/%name%_striped_bark.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "betternether:block/%name%_striped_log_side"
|
||||
}
|
||||
}
|
12
utility_res/block/%name%_striped_log.json
Normal file
12
utility_res/block/%name%_striped_log.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"parent": "block/cube",
|
||||
"textures": {
|
||||
"particle": "betternether:block/%name%_striped_log_side",
|
||||
"down": "betternether:block/%name%_striped_log_top",
|
||||
"up": "betternether:block/%name%_striped_log_top",
|
||||
"north": "betternether:block/%name%_striped_log_side",
|
||||
"east": "betternether:block/%name%_striped_log_side",
|
||||
"south": "betternether:block/%name%_striped_log_side",
|
||||
"west": "betternether:block/%name%_striped_log_side"
|
||||
}
|
||||
}
|
|
@ -1,68 +1,6 @@
|
|||
{
|
||||
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||
"parent": "block/block",
|
||||
"parent": "block/template_orientable_trapdoor_bottom",
|
||||
"textures": {
|
||||
"particle": "betternether:block/%name%_trapdoor",
|
||||
"texture": "betternether:block/%name%_trapdoor",
|
||||
"side": "betternether:block/%name%_planks"
|
||||
"texture": "betternether:block/%name%_trapdoor"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 2, 3, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 2, 16 ], "texture": "#texture", "cullface": "down" },
|
||||
"up": { "uv": [ 0, 0, 2, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 14, 12, 16, 15 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 12, 2, 15 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 12, 16, 15 ], "texture": "#side", "cullface": "west" },
|
||||
"east": { "uv": [ 0, 12, 16, 15 ], "texture": "#side" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"from": [ 14, 0, 0 ],
|
||||
"to": [ 16, 3, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 14, 0, 16, 16 ], "texture": "#texture", "cullface": "down" },
|
||||
"up": { "uv": [ 14, 0, 16, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 0, 12, 2, 15 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 14, 12, 16, 15 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 12, 16, 15 ], "texture": "#side" },
|
||||
"east": { "uv": [ 0, 12, 16, 15 ], "texture": "#side", "cullface": "east" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"from": [ 2, 0, 0 ],
|
||||
"to": [ 14, 3, 2 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 14, 14, 16 ], "texture": "#texture", "cullface": "down" },
|
||||
"up": { "uv": [ 2, 0, 14, 2 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 2, 12, 14, 15 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 2, 12, 14, 15 ], "texture": "#side" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"from": [ 2, 0, 14 ],
|
||||
"to": [ 14, 3, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 0, 14, 2 ], "texture": "#texture", "cullface": "down" },
|
||||
"up": { "uv": [ 2, 14, 14, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 2, 12, 14, 15 ], "texture": "#side" },
|
||||
"south": { "uv": [ 2, 12, 14, 15 ], "texture": "#side", "cullface": "south" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"from": [ 2, 1, 2 ],
|
||||
"to": [ 14, 2, 14 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 2, 14, 14 ], "texture": "#texture" },
|
||||
"up": { "uv": [ 2, 2, 14, 14 ], "texture": "#texture" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_bottom_top",
|
||||
"textures": {
|
||||
"top": "betternether:block/barrel_%name%_top",
|
||||
"bottom": "betternether:block/barrel_%name%_bottom",
|
||||
"side": "betternether:block/barrel_%name%_side"
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_bottom_top",
|
||||
"textures": {
|
||||
"top": "betternether:block/barrel_%name%_top_open",
|
||||
"bottom": "betternether:block/barrel_%name%_bottom",
|
||||
"side": "betternether:block/barrel_%name%_side"
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube",
|
||||
"textures": {
|
||||
"particle": "betternether:block/crafting_table_%name%_front",
|
||||
"north": "betternether:block/crafting_table_%name%_front",
|
||||
"south": "betternether:block/crafting_table_%name%_side",
|
||||
"east": "betternether:block/crafting_table_%name%_side",
|
||||
"west": "betternether:block/crafting_table_%name%_front",
|
||||
"up": "betternether:block/crafting_table_%name%_top",
|
||||
"down": "betternether:block/crafting_table_%name%_bottom"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "betternether:block/striped_log_%name%_side"
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"parent": "block/cube",
|
||||
"textures": {
|
||||
"particle": "betternether:block/striped_log_%name%_side",
|
||||
"down": "betternether:block/striped_log_%name%_top",
|
||||
"up": "betternether:block/striped_log_%name%_top",
|
||||
"north": "betternether:block/striped_log_%name%_side",
|
||||
"east": "betternether:block/striped_log_%name%_side",
|
||||
"south": "betternether:block/striped_log_%name%_side",
|
||||
"west": "betternether:block/striped_log_%name%_side"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": { "model": "betternether:block/empty_%name%" }
|
||||
"": { "model": "betternether:block/%name%_empty" }
|
||||
}
|
||||
}
|
3
utility_res/item/%name%_barrel.json
Normal file
3
utility_res/item/%name%_barrel.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "betternether:block/barrel_%name%"
|
||||
}
|
6
utility_res/item/%name%_chest.json
Normal file
6
utility_res/item/%name%_chest.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "betternether:block/chest_item",
|
||||
"textures": {
|
||||
"texture": "betternether:entity/chest/%name%_chest"
|
||||
}
|
||||
}
|
3
utility_res/item/%name%_crafting_table.json
Normal file
3
utility_res/item/%name%_crafting_table.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "betternether:block/crafting_table_%name%"
|
||||
}
|
6
utility_res/item/%name%_sign.json
Normal file
6
utility_res/item/%name%_sign.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "betternether:item/sign_%name%"
|
||||
}
|
||||
}
|
3
utility_res/item/%name%_striped_bark.json
Normal file
3
utility_res/item/%name%_striped_bark.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "betternether:block/striped_bark_%name%"
|
||||
}
|
3
utility_res/item/%name%_striped_log.json
Normal file
3
utility_res/item/%name%_striped_log.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "betternether:block/striped_log_%name%"
|
||||
}
|
3
utility_res/item/%name%_taburet.json
Normal file
3
utility_res/item/%name%_taburet.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "betternether:block/taburet_%name%"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "betternether:block/bar_stool_%name%"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "betternether:block/barrel_%name%"
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"parent": "betternether:block/chair_%name%",
|
||||
"display": {
|
||||
"gui": {
|
||||
"rotation": [ 30, 45, 0 ],
|
||||
"translation": [ 0, -1.4, 0],
|
||||
"scale":[ 0.625, 0.625, 0.625 ]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [ 0, 0, 0 ],
|
||||
"translation": [ 0, 0, 0 ],
|
||||
"scale": [ 0.5, 0.5, 0.5 ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "betternether:block/chest_item",
|
||||
"textures": {
|
||||
"texture": "betternether:entity/chest/chest_%name%"
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "betternether:block/crafting_table_%name%"
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "betternether:item/sign_%name%"
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "betternether:block/striped_bark_%name%"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "betternether:block/striped_log_%name%"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "betternether:block/taburet_%name%"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue