Tag mixin & fixes

This commit is contained in:
paulevsGitch 2020-09-26 23:36:44 +03:00
parent 7316480289
commit 1d206295b7
116 changed files with 1669 additions and 802 deletions

View file

@ -0,0 +1,7 @@
package ru.betterend;
import net.minecraft.tag.Tag;
public class TagHelper {
public static Tag.Entry lastEntry;
}

View file

@ -1,10 +1,18 @@
package ru.betterend.blocks.complex; package ru.betterend.blocks.complex;
import java.lang.reflect.Field;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.fabricmc.fabric.api.tag.TagRegistry;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.block.Material; import net.minecraft.block.Material;
import net.minecraft.block.MaterialColor; import net.minecraft.block.MaterialColor;
import net.minecraft.item.Items; import net.minecraft.item.Items;
import net.minecraft.sound.BlockSoundGroup;
import net.minecraft.tag.BlockTags;
import net.minecraft.tag.SetTag;
import net.minecraft.tag.Tag;
import net.minecraft.util.Identifier;
import ru.betterend.blocks.basis.BlockBarrel; import ru.betterend.blocks.basis.BlockBarrel;
import ru.betterend.blocks.basis.BlockBase; import ru.betterend.blocks.basis.BlockBase;
import ru.betterend.blocks.basis.BlockChest; import ru.betterend.blocks.basis.BlockChest;
@ -50,9 +58,10 @@ public class WoodenMaterial
public final Block chest; public final Block chest;
public final Block barrel; public final Block barrel;
@SuppressWarnings("unchecked")
public WoodenMaterial(String name, MaterialColor woodColor, MaterialColor planksColor) public WoodenMaterial(String name, MaterialColor woodColor, MaterialColor planksColor)
{ {
FabricBlockSettings materialPlanks = FabricBlockSettings.of(Material.WOOD).materialColor(planksColor); FabricBlockSettings materialPlanks = FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).materialColor(planksColor);
log_striped = BlockRegistry.registerBlock(name + "_striped_log", new BlockPillar(materialPlanks)); log_striped = BlockRegistry.registerBlock(name + "_striped_log", new BlockPillar(materialPlanks));
bark_striped = BlockRegistry.registerBlock(name + "_striped_bark", new BlockPillar(materialPlanks)); bark_striped = BlockRegistry.registerBlock(name + "_striped_bark", new BlockPillar(materialPlanks));
@ -91,6 +100,18 @@ public class WoodenMaterial
RecipeBuilder.make(name + "_sign", sign).setOutputCount(3).setShape("###", "###", " I ").addMaterial('#', planks).addMaterial('I', Items.STICK).setGroup("end_signs").build(); RecipeBuilder.make(name + "_sign", sign).setOutputCount(3).setShape("###", "###", " I ").addMaterial('#', planks).addMaterial('I', Items.STICK).setGroup("end_signs").build();
RecipeBuilder.make(name + "_chest", chest).setShape("###", "# #", "###").addMaterial('#', planks).setGroup("end_chests").build(); RecipeBuilder.make(name + "_chest", chest).setShape("###", "# #", "###").addMaterial('#', planks).setGroup("end_chests").build();
RecipeBuilder.make(name + "_barrel", barrel).setShape("#S#", "# #", "#S#").addMaterial('#', planks).addMaterial('S', slab).setGroup("end_barrels").build(); RecipeBuilder.make(name + "_barrel", barrel).setShape("#S#", "# #", "#S#").addMaterial('#', planks).addMaterial('S', slab).setGroup("end_barrels").build();
/*try {
Field field = BlockTags.CLIMBABLE.getClass().getDeclaredField("delegate");
field.setAccessible(true);
SetTag<Block> tag = SetTag.empty();
tag = (SetTag<Block>) field.get(tag);
System.out.println(tag.getClass());
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}*/
//System.out.println(BlockTags.CLIMBABLE.getClass());
} }
public boolean isTreeLog(Block block) public boolean isTreeLog(Block block)

View file

@ -0,0 +1,26 @@
package ru.betterend.mixin.common;
import java.util.Map;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import net.minecraft.tag.Tag;
import net.minecraft.tag.TagGroup;
import net.minecraft.tag.TagGroupLoader;
import net.minecraft.util.Identifier;
import ru.betterend.BetterEnd;
@Mixin(TagGroupLoader.class)
public class TagGroupLoaderMixin {
@Inject(method = "applyReload", at = @At(value = "HEAD"))
private void onReload(Map<Identifier, Tag.Builder> tags, CallbackInfoReturnable<TagGroup<?>> info) {
tags.forEach((id, builder) -> {
if (id.toString().equals("minecraft:climbable")) {
builder.add(new Identifier(BetterEnd.MOD_ID, "mossy_glowshroom_ladder"), "code");
}
});
}
}

View file

@ -1,42 +1,190 @@
{ {
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
"parent": "block/block", "elements": [
"elements": [ {
{ "__comment": "Box1",
"__comment": "Box1", "faces": {
"from": [ 1, 0, 1 ], "down": {
"to": [ 15, 10, 15 ], "rotation": 180,
"faces": { "texture": "#texture",
"down": { "uv": [ 3.5, 4.75, 7, 8.25 ], "texture": "#texture", "rotation": 180 }, "uv": [
"north": { "uv": [ 10.5, 10.75, 14, 8.25 ], "texture": "#texture" }, 3.5,
"south": { "uv": [ 0, 10.75, 3.5, 8.25 ], "texture": "#texture" }, 4.75,
"west": { "uv": [ 7, 10.75, 10.5, 8.25 ], "texture": "#texture" }, 7,
"east": { "uv": [ 3.5, 10.75, 7, 8.25 ], "texture": "#texture" } 8.25
} ]
}, },
{ "east": {
"__comment": "Box1", "texture": "#texture",
"from": [ 1, 10, 1 ], "uv": [
"to": [ 15, 14, 15 ], 3.5,
"faces": { 10.75,
"up": { "uv": [ 7, 0, 10.5, 3.5 ], "texture": "#texture", "rotation": 180 }, 7,
"north": { "uv": [ 10.5, 4.75, 14, 3.75 ], "texture": "#texture" }, 8.25
"south": { "uv": [ 0, 4.75, 3.5, 3.75 ], "texture": "#texture" }, ]
"west": { "uv": [ 7, 4.75, 10.5, 3.75 ], "texture": "#texture" }, },
"east": { "uv": [ 3.5, 4.75, 7, 3.75 ], "texture": "#texture" } "north": {
} "texture": "#texture",
}, "uv": [
{ 10.5,
"__comment": "Box1", 10.75,
"from": [ 7, 7, 0 ], 14,
"to": [ 9, 11, 1 ], 8.25
"faces": { ]
"down": { "uv": [ 0.25, 0, 0.75, 0.25 ], "texture": "#texture", "rotation": 180 }, },
"up": { "uv": [ 0.75, 0, 1.25, 0.25 ], "texture": "#texture", "rotation": 180 }, "south": {
"north": { "uv": [ 0.5, 1.25, 1, 0.25 ], "texture": "#texture" }, "texture": "#texture",
"west": { "uv": [ 0, 1.25, 0.25, 0.25 ], "texture": "#texture" }, "uv": [
"east": { "uv": [ 0, 1.25, 0.25, 0.25 ], "texture": "#texture" } 0,
} 10.75,
} 3.5,
] 8.25
]
},
"west": {
"texture": "#texture",
"uv": [
7,
10.75,
10.5,
8.25
]
}
},
"from": [
1,
0,
1
],
"to": [
15,
10,
15
]
},
{
"__comment": "Box1",
"faces": {
"east": {
"texture": "#texture",
"uv": [
3.5,
4.75,
7,
3.75
]
},
"north": {
"texture": "#texture",
"uv": [
10.5,
4.75,
14,
3.75
]
},
"south": {
"texture": "#texture",
"uv": [
0,
4.75,
3.5,
3.75
]
},
"up": {
"rotation": 180,
"texture": "#texture",
"uv": [
7,
0,
10.5,
3.5
]
},
"west": {
"texture": "#texture",
"uv": [
7,
4.75,
10.5,
3.75
]
}
},
"from": [
1,
10,
1
],
"to": [
15,
14,
15
]
},
{
"__comment": "Box1",
"faces": {
"down": {
"rotation": 180,
"texture": "#texture",
"uv": [
0.25,
0,
0.75,
0.25
]
},
"east": {
"texture": "#texture",
"uv": [
0,
1.25,
0.25,
0.25
]
},
"north": {
"texture": "#texture",
"uv": [
0.5,
1.25,
1,
0.25
]
},
"up": {
"rotation": 180,
"texture": "#texture",
"uv": [
0.75,
0,
1.25,
0.25
]
},
"west": {
"texture": "#texture",
"uv": [
0,
1.25,
0.25,
0.25
]
}
},
"from": [
7,
7,
0
],
"to": [
9,
11,
1
]
}
],
"parent": "block/block"
} }

View file

@ -1,12 +1,12 @@
{ {
"parent": "block/cube", "parent": "block/cube",
"textures": { "textures": {
"particle": "betterend:block/end_moss_side", "down": "block/end_stone",
"down": "block/end_stone", "east": "betterend:block/end_moss_side",
"up": "betterend:block/end_moss_top", "north": "betterend:block/end_moss_side",
"north": "betterend:block/end_moss_side", "particle": "betterend:block/end_moss_side",
"east": "betterend:block/end_moss_side", "south": "betterend:block/end_moss_side",
"south": "betterend:block/end_moss_side", "up": "betterend:block/end_moss_top",
"west": "betterend:block/end_moss_side" "west": "betterend:block/end_moss_side"
} }
} }

View file

@ -1,12 +1,12 @@
{ {
"parent": "block/cube", "parent": "block/cube",
"textures": { "textures": {
"particle": "betterend:block/end_mycelium_side", "down": "block/end_stone",
"down": "block/end_stone", "east": "betterend:block/end_mycelium_side",
"up": "betterend:block/end_mycelium_top", "north": "betterend:block/end_mycelium_side",
"north": "betterend:block/end_mycelium_side", "particle": "betterend:block/end_mycelium_side",
"east": "betterend:block/end_mycelium_side", "south": "betterend:block/end_mycelium_side",
"south": "betterend:block/end_mycelium_side", "up": "betterend:block/end_mycelium_top",
"west": "betterend:block/end_mycelium_side" "west": "betterend:block/end_mycelium_side"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "minecraft:block/orientable", "parent": "minecraft:block/orientable",
"textures": { "textures": {
"top": "betterend:block/end_stone_smelter_top", "front": "betterend:block/end_stone_smelter_front",
"front": "betterend:block/end_stone_smelter_front", "side": "betterend:block/end_stone_smelter_side",
"side": "betterend:block/end_stone_smelter_side" "top": "betterend:block/end_stone_smelter_top"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "minecraft:block/orientable", "parent": "minecraft:block/orientable",
"textures": { "textures": {
"top": "betterend:block/end_stone_smelter_top", "front": "betterend:block/end_stone_smelter_front_on",
"front": "betterend:block/end_stone_smelter_front_on", "side": "betterend:block/end_stone_smelter_side",
"side": "betterend:block/end_stone_smelter_side" "top": "betterend:block/end_stone_smelter_top"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/cube_all", "parent": "block/cube_all",
"textures": { "textures": {
"all": "betterend:block/endstone_dust" "all": "betterend:block/endstone_dust"
} }
} }

View file

@ -0,0 +1,87 @@
{
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
"parent": "block/ladder",
"textures": {
"particle": "#texture"
},
"elements": [
{
"__comment": "Box1",
"from": [ 12, 0, 15 ],
"to": [ 14, 16, 16 ],
"faces": {
"down": { "uv": [ 2, 15, 4, 16 ], "texture": "#texture", "cullface": "down", "rotation": 180 },
"up": { "uv": [ 2, 0, 4, 1 ], "texture": "#texture", "cullface": "up", "rotation": 180 },
"north": { "uv": [ 2, 0, 4, 16 ], "texture": "#texture" },
"south": { "uv": [ 2, 0, 4, 16 ], "texture": "#texture", "cullface": "north" },
"west": { "uv": [ 3, 0, 4, 16 ], "texture": "#texture" },
"east": { "uv": [ 2, 0, 3, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Box1",
"from": [ 2, 0, 15 ],
"to": [ 4, 16, 16 ],
"faces": {
"down": { "uv": [ 12, 15, 14, 16 ], "texture": "#texture", "cullface": "down", "rotation": 180 },
"up": { "uv": [ 12, 0, 14, 1 ], "texture": "#texture", "cullface": "up", "rotation": 180 },
"north": { "uv": [ 12, 0, 14, 16 ], "texture": "#texture" },
"south": { "uv": [ 12, 0, 14, 16 ], "texture": "#texture", "cullface": "north" },
"west": { "uv": [ 3, 0, 4, 16 ], "texture": "#texture" },
"east": { "uv": [ 2, 0, 3, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Box3",
"from": [ 1, 1, 14.5 ],
"to": [ 15, 3, 15.5 ],
"faces": {
"down": { "uv": [ 1, 14, 15, 15 ], "texture": "#texture", "rotation": 180 },
"up": { "uv": [ 1, 13, 15, 14 ], "texture": "#texture", "rotation": 180 },
"north": { "uv": [ 1, 13, 15, 15 ], "texture": "#texture" },
"south": { "uv": [ 1, 13, 15, 15 ], "texture": "#texture" },
"west": { "uv": [ 14, 13, 15, 15 ], "texture": "#texture" },
"east": { "uv": [ 1, 13, 2, 15 ], "texture": "#texture" }
}
},
{
"__comment": "Box3",
"from": [ 1, 5, 14.5 ],
"to": [ 15, 7, 15.5 ],
"faces": {
"down": { "uv": [ 1, 10, 15, 11 ], "texture": "#texture", "rotation": 180 },
"up": { "uv": [ 1, 9, 15, 10 ], "texture": "#texture", "rotation": 180 },
"north": { "uv": [ 1, 9, 15, 11 ], "texture": "#texture" },
"south": { "uv": [ 1, 9, 15, 11 ], "texture": "#texture" },
"west": { "uv": [ 14, 9, 15, 11 ], "texture": "#texture" },
"east": { "uv": [ 1, 9, 2, 11 ], "texture": "#texture" }
}
},
{
"__comment": "Box3",
"from": [ 1, 9, 14.5 ],
"to": [ 15, 11, 15.5 ],
"faces": {
"down": { "uv": [ 1, 6, 15, 7 ], "texture": "#texture", "rotation": 180 },
"up": { "uv": [ 1, 5, 15, 6 ], "texture": "#texture", "rotation": 180 },
"north": { "uv": [ 1, 5, 15, 7 ], "texture": "#texture" },
"south": { "uv": [ 1, 5, 15, 7 ], "texture": "#texture" },
"west": { "uv": [ 14, 5, 15, 7 ], "texture": "#texture" },
"east": { "uv": [ 1, 5, 2, 7 ], "texture": "#texture" }
}
},
{
"__comment": "Box3",
"from": [ 1, 13, 14.5 ],
"to": [ 15, 15, 15.5 ],
"faces": {
"down": { "uv": [ 1, 2, 15, 3 ], "texture": "#texture", "rotation": 180 },
"up": { "uv": [ 1, 1, 15, 2 ], "texture": "#texture", "rotation": 180 },
"north": { "uv": [ 1, 1, 15, 3 ], "texture": "#texture" },
"south": { "uv": [ 1, 1, 15, 3 ], "texture": "#texture" },
"west": { "uv": [ 14, 1, 15, 3 ], "texture": "#texture" },
"east": { "uv": [ 1, 1, 2, 3 ], "texture": "#texture" }
}
}
]
}

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/cube_all", "parent": "block/cube_all",
"textures": { "textures": {
"all": "betterend:block/mossy_glowshroom_log_side" "all": "betterend:block/mossy_glowshroom_log_side"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "minecraft:block/cube_bottom_top", "parent": "minecraft:block/cube_bottom_top",
"textures": { "textures": {
"top": "betterend:block/mossy_glowshroom_barrel_top",
"bottom": "betterend:block/mossy_glowshroom_barrel_bottom", "bottom": "betterend:block/mossy_glowshroom_barrel_bottom",
"side": "betterend:block/mossy_glowshroom_barrel_side" "side": "betterend:block/mossy_glowshroom_barrel_side",
"top": "betterend:block/mossy_glowshroom_barrel_top"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "minecraft:block/cube_bottom_top", "parent": "minecraft:block/cube_bottom_top",
"textures": { "textures": {
"top": "betterend:block/mossy_glowshroom_barrel_top_open",
"bottom": "betterend:block/mossy_glowshroom_barrel_bottom", "bottom": "betterend:block/mossy_glowshroom_barrel_bottom",
"side": "betterend:block/mossy_glowshroom_barrel_side" "side": "betterend:block/mossy_glowshroom_barrel_side",
"top": "betterend:block/mossy_glowshroom_barrel_top_open"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/button", "parent": "block/button",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/button_inventory", "parent": "block/button_inventory",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/button_pressed", "parent": "block/button_pressed",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,12 +1,12 @@
{ {
"parent": "minecraft:block/cube", "parent": "minecraft:block/cube",
"textures": { "textures": {
"particle": "betterend:block/mossy_glowshroom_crafting_table_front", "down": "betterend:block/mossy_glowshroom_crafting_table_bottom",
"north": "betterend:block/mossy_glowshroom_crafting_table_front",
"south": "betterend:block/mossy_glowshroom_crafting_table_side",
"east": "betterend:block/mossy_glowshroom_crafting_table_side", "east": "betterend:block/mossy_glowshroom_crafting_table_side",
"west": "betterend:block/mossy_glowshroom_crafting_table_front", "north": "betterend:block/mossy_glowshroom_crafting_table_front",
"particle": "betterend:block/mossy_glowshroom_crafting_table_front",
"south": "betterend:block/mossy_glowshroom_crafting_table_side",
"up": "betterend:block/mossy_glowshroom_crafting_table_top", "up": "betterend:block/mossy_glowshroom_crafting_table_top",
"down": "betterend:block/mossy_glowshroom_crafting_table_bottom" "west": "betterend:block/mossy_glowshroom_crafting_table_front"
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"parent": "block/door_bottom", "parent": "block/door_bottom",
"textures": { "textures": {
"bottom": "betterend:block/mossy_glowshroom_door_bottom", "bottom": "betterend:block/mossy_glowshroom_door_bottom",
"top": "betterend:block/mossy_glowshroom_door_bottom" "top": "betterend:block/mossy_glowshroom_door_bottom"
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"parent": "block/door_bottom_rh", "parent": "block/door_bottom_rh",
"textures": { "textures": {
"bottom": "betterend:block/mossy_glowshroom_door_bottom", "bottom": "betterend:block/mossy_glowshroom_door_bottom",
"top": "betterend:block/mossy_glowshroom_door_bottom" "top": "betterend:block/mossy_glowshroom_door_bottom"
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"parent": "block/door_top", "parent": "block/door_top",
"textures": { "textures": {
"bottom": "betterend:block/mossy_glowshroom_door_top", "bottom": "betterend:block/mossy_glowshroom_door_top",
"top": "betterend:block/mossy_glowshroom_door_top" "top": "betterend:block/mossy_glowshroom_door_top"
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"parent": "block/door_top_rh", "parent": "block/door_top_rh",
"textures": { "textures": {
"bottom": "betterend:block/mossy_glowshroom_door_top", "bottom": "betterend:block/mossy_glowshroom_door_top",
"top": "betterend:block/mossy_glowshroom_door_top" "top": "betterend:block/mossy_glowshroom_door_top"
} }
} }

View file

@ -1,5 +1,5 @@
{ {
"textures": { "textures": {
"particle": "betterend:block/mossy_glowshroom_planks" "particle": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_fence_gate", "parent": "block/template_fence_gate",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_fence_gate_open", "parent": "block/template_fence_gate_open",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/fence_inventory", "parent": "block/fence_inventory",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/fence_post", "parent": "block/fence_post",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/fence_side", "parent": "block/fence_side",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "block/slab", "parent": "block/slab",
"textures": { "textures": {
"bottom": "betterend:block/mossy_glowshroom_planks", "bottom": "betterend:block/mossy_glowshroom_planks",
"top": "betterend:block/mossy_glowshroom_planks", "side": "betterend:block/mossy_glowshroom_planks",
"side": "betterend:block/mossy_glowshroom_planks" "top": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "block/inner_stairs", "parent": "block/inner_stairs",
"textures": { "textures": {
"bottom": "betterend:block/mossy_glowshroom_planks", "bottom": "betterend:block/mossy_glowshroom_planks",
"top": "betterend:block/mossy_glowshroom_planks", "side": "betterend:block/mossy_glowshroom_planks",
"side": "betterend:block/mossy_glowshroom_planks" "top": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,7 +1,6 @@
{ {
"parent": "betterend:block/reeds_ladder", "parent": "betterend:block/ladder",
"textures": { "textures": {
"particle": "betterend:block/mossy_glowshroom_ladder", "texture": "betterend:block/mossy_glowshroom_ladder"
"texture": "betterend:block/mossy_glowshroom_ladder" }
}
} }

View file

@ -1,12 +1,12 @@
{ {
"parent": "block/cube", "parent": "block/cube",
"textures": { "textures": {
"particle": "betterend:block/mossy_glowshroom_log_side", "down": "betterend:block/mossy_glowshroom_log_top",
"down": "betterend:block/mossy_glowshroom_log_top", "east": "betterend:block/mossy_glowshroom_log_side",
"up": "betterend:block/mossy_glowshroom_log_top", "north": "betterend:block/mossy_glowshroom_log_side",
"north": "betterend:block/mossy_glowshroom_log_side", "particle": "betterend:block/mossy_glowshroom_log_side",
"east": "betterend:block/mossy_glowshroom_log_side", "south": "betterend:block/mossy_glowshroom_log_side",
"south": "betterend:block/mossy_glowshroom_log_side", "up": "betterend:block/mossy_glowshroom_log_top",
"west": "betterend:block/mossy_glowshroom_log_side" "west": "betterend:block/mossy_glowshroom_log_side"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "block/outer_stairs", "parent": "block/outer_stairs",
"textures": { "textures": {
"bottom": "betterend:block/mossy_glowshroom_planks", "bottom": "betterend:block/mossy_glowshroom_planks",
"top": "betterend:block/mossy_glowshroom_planks", "side": "betterend:block/mossy_glowshroom_planks",
"side": "betterend:block/mossy_glowshroom_planks" "top": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/cube_all", "parent": "block/cube_all",
"textures": { "textures": {
"all": "betterend:block/mossy_glowshroom_planks" "all": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/pressure_plate_down", "parent": "block/pressure_plate_down",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/pressure_plate_up", "parent": "block/pressure_plate_up",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "block/stairs", "parent": "block/stairs",
"textures": { "textures": {
"bottom": "betterend:block/mossy_glowshroom_planks", "bottom": "betterend:block/mossy_glowshroom_planks",
"top": "betterend:block/mossy_glowshroom_planks", "side": "betterend:block/mossy_glowshroom_planks",
"side": "betterend:block/mossy_glowshroom_planks" "top": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/cube_all", "parent": "block/cube_all",
"textures": { "textures": {
"all": "betterend:block/mossy_glowshroom_striped_log_side" "all": "betterend:block/mossy_glowshroom_striped_log_side"
} }
} }

View file

@ -1,12 +1,12 @@
{ {
"parent": "block/cube", "parent": "block/cube",
"textures": { "textures": {
"particle": "betterend:block/mossy_glowshroom_striped_log_side", "down": "betterend:block/mossy_glowshroom_striped_log_top",
"down": "betterend:block/mossy_glowshroom_striped_log_top", "east": "betterend:block/mossy_glowshroom_striped_log_side",
"up": "betterend:block/mossy_glowshroom_striped_log_top", "north": "betterend:block/mossy_glowshroom_striped_log_side",
"north": "betterend:block/mossy_glowshroom_striped_log_side", "particle": "betterend:block/mossy_glowshroom_striped_log_side",
"east": "betterend:block/mossy_glowshroom_striped_log_side", "south": "betterend:block/mossy_glowshroom_striped_log_side",
"south": "betterend:block/mossy_glowshroom_striped_log_side", "up": "betterend:block/mossy_glowshroom_striped_log_top",
"west": "betterend:block/mossy_glowshroom_striped_log_side" "west": "betterend:block/mossy_glowshroom_striped_log_side"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_orientable_trapdoor_bottom", "parent": "block/template_orientable_trapdoor_bottom",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_trapdoor" "texture": "betterend:block/mossy_glowshroom_trapdoor"
}, }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_fence_gate_wall", "parent": "block/template_fence_gate_wall",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_fence_gate_wall_open", "parent": "block/template_fence_gate_wall_open",
"textures": { "textures": {
"texture": "betterend:block/mossy_glowshroom_planks" "texture": "betterend:block/mossy_glowshroom_planks"
} }
} }

View file

@ -0,0 +1,5 @@
{
"textures": {
"particle": "betterend:block/mossy_glowshroom_planks"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -6,7 +6,8 @@
"mixins": [ "mixins": [
"DimensionTypeMixin", "DimensionTypeMixin",
"RecipeManagerMixin", "RecipeManagerMixin",
"ServerPlayNetworkHandlerMixin" "ServerPlayNetworkHandlerMixin",
"TagGroupLoaderMixin"
], ],
"injectors": { "injectors": {
"defaultRequire": 1 "defaultRequire": 1

View file

@ -0,0 +1,22 @@
import json
import os
data = {}
def save_json(json_file):
with open(json_file) as read_file:
data = json.load(read_file)
with open(json_file, "w") as data_file:
json.dump(data, data_file, indent=4, sort_keys=True)
path = "D:\\BetterEnd\\BetterEnd_1.16.3\\utility_res\\item"
files = []
# r=root, d=directories, f = files
for r, d, f in os.walk(path):
for file in f:
if '.json' in file:
files.append(os.path.join(r, file))
for f in files:
print(f)
save_json(f)

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/cube_all", "parent": "block/cube_all",
"textures": { "textures": {
"all": "betterend:block/%name%_log_side" "all": "betterend:block/%name%_log_side"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "minecraft:block/cube_bottom_top", "parent": "minecraft:block/cube_bottom_top",
"textures": { "textures": {
"top": "betterend:block/%name%_barrel_top",
"bottom": "betterend:block/%name%_barrel_bottom", "bottom": "betterend:block/%name%_barrel_bottom",
"side": "betterend:block/%name%_barrel_side" "side": "betterend:block/%name%_barrel_side",
"top": "betterend:block/%name%_barrel_top"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "minecraft:block/cube_bottom_top", "parent": "minecraft:block/cube_bottom_top",
"textures": { "textures": {
"top": "betterend:block/%name%_barrel_top_open",
"bottom": "betterend:block/%name%_barrel_bottom", "bottom": "betterend:block/%name%_barrel_bottom",
"side": "betterend:block/%name%_barrel_side" "side": "betterend:block/%name%_barrel_side",
"top": "betterend:block/%name%_barrel_top_open"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/button", "parent": "block/button",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/button_inventory", "parent": "block/button_inventory",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/button_pressed", "parent": "block/button_pressed",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,12 +1,12 @@
{ {
"parent": "minecraft:block/cube", "parent": "minecraft:block/cube",
"textures": { "textures": {
"particle": "betterend:block/%name%_crafting_table_front", "down": "betterend:block/%name%_crafting_table_bottom",
"north": "betterend:block/%name%_crafting_table_front",
"south": "betterend:block/%name%_crafting_table_side",
"east": "betterend:block/%name%_crafting_table_side", "east": "betterend:block/%name%_crafting_table_side",
"west": "betterend:block/%name%_crafting_table_front", "north": "betterend:block/%name%_crafting_table_front",
"particle": "betterend:block/%name%_crafting_table_front",
"south": "betterend:block/%name%_crafting_table_side",
"up": "betterend:block/%name%_crafting_table_top", "up": "betterend:block/%name%_crafting_table_top",
"down": "betterend:block/%name%_crafting_table_bottom" "west": "betterend:block/%name%_crafting_table_front"
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"parent": "block/door_bottom", "parent": "block/door_bottom",
"textures": { "textures": {
"bottom": "betterend:block/%name%_door_bottom", "bottom": "betterend:block/%name%_door_bottom",
"top": "betterend:block/%name%_door_bottom" "top": "betterend:block/%name%_door_bottom"
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"parent": "block/door_bottom_rh", "parent": "block/door_bottom_rh",
"textures": { "textures": {
"bottom": "betterend:block/%name%_door_bottom", "bottom": "betterend:block/%name%_door_bottom",
"top": "betterend:block/%name%_door_bottom" "top": "betterend:block/%name%_door_bottom"
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"parent": "block/door_top", "parent": "block/door_top",
"textures": { "textures": {
"bottom": "betterend:block/%name%_door_top", "bottom": "betterend:block/%name%_door_top",
"top": "betterend:block/%name%_door_top" "top": "betterend:block/%name%_door_top"
} }
} }

View file

@ -1,7 +1,7 @@
{ {
"parent": "block/door_top_rh", "parent": "block/door_top_rh",
"textures": { "textures": {
"bottom": "betterend:block/%name%_door_top", "bottom": "betterend:block/%name%_door_top",
"top": "betterend:block/%name%_door_top" "top": "betterend:block/%name%_door_top"
} }
} }

View file

@ -1,5 +1,5 @@
{ {
"textures": { "textures": {
"particle": "betterend:block/%name%_planks" "particle": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_fence_gate", "parent": "block/template_fence_gate",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_fence_gate_open", "parent": "block/template_fence_gate_open",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/fence_inventory", "parent": "block/fence_inventory",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/fence_post", "parent": "block/fence_post",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/fence_side", "parent": "block/fence_side",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "block/slab", "parent": "block/slab",
"textures": { "textures": {
"bottom": "betterend:block/%name%_planks", "bottom": "betterend:block/%name%_planks",
"top": "betterend:block/%name%_planks", "side": "betterend:block/%name%_planks",
"side": "betterend:block/%name%_planks" "top": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "block/inner_stairs", "parent": "block/inner_stairs",
"textures": { "textures": {
"bottom": "betterend:block/%name%_planks", "bottom": "betterend:block/%name%_planks",
"top": "betterend:block/%name%_planks", "side": "betterend:block/%name%_planks",
"side": "betterend:block/%name%_planks" "top": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,7 +1,6 @@
{ {
"parent": "betterend:block/reeds_ladder", "parent": "betterend:block/ladder",
"textures": { "textures": {
"particle": "betterend:block/%name%_ladder", "texture": "betterend:block/%name%_ladder"
"texture": "betterend:block/%name%_ladder" }
}
} }

View file

@ -1,12 +1,12 @@
{ {
"parent": "block/cube", "parent": "block/cube",
"textures": { "textures": {
"particle": "betterend:block/%name%_log_side", "down": "betterend:block/%name%_log_top",
"down": "betterend:block/%name%_log_top", "east": "betterend:block/%name%_log_side",
"up": "betterend:block/%name%_log_top", "north": "betterend:block/%name%_log_side",
"north": "betterend:block/%name%_log_side", "particle": "betterend:block/%name%_log_side",
"east": "betterend:block/%name%_log_side", "south": "betterend:block/%name%_log_side",
"south": "betterend:block/%name%_log_side", "up": "betterend:block/%name%_log_top",
"west": "betterend:block/%name%_log_side" "west": "betterend:block/%name%_log_side"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "block/outer_stairs", "parent": "block/outer_stairs",
"textures": { "textures": {
"bottom": "betterend:block/%name%_planks", "bottom": "betterend:block/%name%_planks",
"top": "betterend:block/%name%_planks", "side": "betterend:block/%name%_planks",
"side": "betterend:block/%name%_planks" "top": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/cube_all", "parent": "block/cube_all",
"textures": { "textures": {
"all": "betterend:block/%name%_planks" "all": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/pressure_plate_down", "parent": "block/pressure_plate_down",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/pressure_plate_up", "parent": "block/pressure_plate_up",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "block/stairs", "parent": "block/stairs",
"textures": { "textures": {
"bottom": "betterend:block/%name%_planks", "bottom": "betterend:block/%name%_planks",
"top": "betterend:block/%name%_planks", "side": "betterend:block/%name%_planks",
"side": "betterend:block/%name%_planks" "top": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/cube_all", "parent": "block/cube_all",
"textures": { "textures": {
"all": "betterend:block/%name%_striped_log_side" "all": "betterend:block/%name%_striped_log_side"
} }
} }

View file

@ -1,12 +1,12 @@
{ {
"parent": "block/cube", "parent": "block/cube",
"textures": { "textures": {
"particle": "betterend:block/%name%_striped_log_side", "down": "betterend:block/%name%_striped_log_top",
"down": "betterend:block/%name%_striped_log_top", "east": "betterend:block/%name%_striped_log_side",
"up": "betterend:block/%name%_striped_log_top", "north": "betterend:block/%name%_striped_log_side",
"north": "betterend:block/%name%_striped_log_side", "particle": "betterend:block/%name%_striped_log_side",
"east": "betterend:block/%name%_striped_log_side", "south": "betterend:block/%name%_striped_log_side",
"south": "betterend:block/%name%_striped_log_side", "up": "betterend:block/%name%_striped_log_top",
"west": "betterend:block/%name%_striped_log_side" "west": "betterend:block/%name%_striped_log_side"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_orientable_trapdoor_bottom", "parent": "block/template_orientable_trapdoor_bottom",
"textures": { "textures": {
"texture": "betterend:block/%name%_trapdoor" "texture": "betterend:block/%name%_trapdoor"
}, }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_fence_gate_wall", "parent": "block/template_fence_gate_wall",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "block/template_fence_gate_wall_open", "parent": "block/template_fence_gate_wall_open",
"textures": { "textures": {
"texture": "betterend:block/%name%_planks" "texture": "betterend:block/%name%_planks"
} }
} }

View file

@ -1,7 +1,16 @@
{ {
"variants": { "variants": {
"axis=y": { "model": "betterend:block/%name%_bark" }, "axis=x": {
"axis=z": { "model": "betterend:block/%name%_bark", "x": 90 }, "model": "betterend:block/%name%_bark",
"axis=x": { "model": "betterend:block/%name%_bark", "x": 90, "y": 90 } "x": 90,
"y": 90
},
"axis=y": {
"model": "betterend:block/%name%_bark"
},
"axis=z": {
"model": "betterend:block/%name%_bark",
"x": 90
} }
}
} }

View file

@ -1,40 +1,40 @@
{ {
"variants": { "variants": {
"facing=down,open=false": { "facing=down,open=false": {
"x": 180, "model": "betterend:block/%name%_barrel",
"model": "betterend:block/%name%_barrel" "x": 180
}, },
"facing=down,open=true": { "facing=down,open=true": {
"x": 180, "model": "betterend:block/%name%_barrel_open",
"model": "betterend:block/%name%_barrel_open" "x": 180
}, },
"facing=east,open=false": { "facing=east,open=false": {
"model": "betterend:block/%name%_barrel",
"x": 90, "x": 90,
"y": 90, "y": 90
"model": "betterend:block/%name%_barrel"
}, },
"facing=east,open=true": { "facing=east,open=true": {
"model": "betterend:block/%name%_barrel_open",
"x": 90, "x": 90,
"y": 90, "y": 90
"model": "betterend:block/%name%_barrel_open"
}, },
"facing=north,open=false": { "facing=north,open=false": {
"x": 90, "model": "betterend:block/%name%_barrel",
"model": "betterend:block/%name%_barrel" "x": 90
}, },
"facing=north,open=true": { "facing=north,open=true": {
"x": 90, "model": "betterend:block/%name%_barrel_open",
"model": "betterend:block/%name%_barrel_open" "x": 90
}, },
"facing=south,open=false": { "facing=south,open=false": {
"model": "betterend:block/%name%_barrel",
"x": 90, "x": 90,
"y": 180, "y": 180
"model": "betterend:block/%name%_barrel"
}, },
"facing=south,open=true": { "facing=south,open=true": {
"model": "betterend:block/%name%_barrel_open",
"x": 90, "x": 90,
"y": 180, "y": 180
"model": "betterend:block/%name%_barrel_open"
}, },
"facing=up,open=false": { "facing=up,open=false": {
"model": "betterend:block/%name%_barrel" "model": "betterend:block/%name%_barrel"
@ -43,14 +43,14 @@
"model": "betterend:block/%name%_barrel_open" "model": "betterend:block/%name%_barrel_open"
}, },
"facing=west,open=false": { "facing=west,open=false": {
"model": "betterend:block/%name%_barrel",
"x": 90, "x": 90,
"y": 270, "y": 270
"model": "betterend:block/%name%_barrel"
}, },
"facing=west,open=true": { "facing=west,open=true": {
"model": "betterend:block/%name%_barrel_open",
"x": 90, "x": 90,
"y": 270, "y": 270
"model": "betterend:block/%name%_barrel_open"
} }
} }
} }

View file

@ -1,28 +1,118 @@
{ {
"variants": { "variants": {
"face=floor,facing=east,powered=false": { "model": "betterend:block/%name%_button", "y": 90 }, "face=ceiling,facing=east,powered=false": {
"face=floor,facing=west,powered=false": { "model": "betterend:block/%name%_button", "y": 270 }, "model": "betterend:block/%name%_button",
"face=floor,facing=south,powered=false": { "model": "betterend:block/%name%_button", "y": 180 }, "x": 180,
"face=floor,facing=north,powered=false": { "model": "betterend:block/%name%_button" }, "y": 270
"face=wall,facing=east,powered=false": { "model": "betterend:block/%name%_button", "uvlock": true, "x": 90, "y": 90 }, },
"face=wall,facing=west,powered=false": { "model": "betterend:block/%name%_button", "uvlock": true, "x": 90, "y": 270 }, "face=ceiling,facing=east,powered=true": {
"face=wall,facing=south,powered=false": { "model": "betterend:block/%name%_button", "uvlock": true, "x": 90, "y": 180 }, "model": "betterend:block/%name%_button_pressed",
"face=wall,facing=north,powered=false": { "model": "betterend:block/%name%_button", "uvlock": true, "x": 90 }, "x": 180,
"face=ceiling,facing=east,powered=false": { "model": "betterend:block/%name%_button", "x": 180, "y": 270 }, "y": 270
"face=ceiling,facing=west,powered=false": { "model": "betterend:block/%name%_button", "x": 180, "y": 90 }, },
"face=ceiling,facing=south,powered=false": { "model": "betterend:block/%name%_button", "x": 180 }, "face=ceiling,facing=north,powered=false": {
"face=ceiling,facing=north,powered=false": { "model": "betterend:block/%name%_button", "x": 180, "y": 180 }, "model": "betterend:block/%name%_button",
"face=floor,facing=east,powered=true": { "model": "betterend:block/%name%_button_pressed", "y": 90 }, "x": 180,
"face=floor,facing=west,powered=true": { "model": "betterend:block/%name%_button_pressed", "y": 270 }, "y": 180
"face=floor,facing=south,powered=true": { "model": "betterend:block/%name%_button_pressed", "y": 180 }, },
"face=floor,facing=north,powered=true": { "model": "betterend:block/%name%_button_pressed" }, "face=ceiling,facing=north,powered=true": {
"face=wall,facing=east,powered=true": { "model": "betterend:block/%name%_button_pressed", "uvlock": true, "x": 90, "y": 90 }, "model": "betterend:block/%name%_button_pressed",
"face=wall,facing=west,powered=true": { "model": "betterend:block/%name%_button_pressed", "uvlock": true, "x": 90, "y": 270 }, "x": 180,
"face=wall,facing=south,powered=true": { "model": "betterend:block/%name%_button_pressed", "uvlock": true, "x": 90, "y": 180 }, "y": 180
"face=wall,facing=north,powered=true": { "model": "betterend:block/%name%_button_pressed", "uvlock": true, "x": 90 }, },
"face=ceiling,facing=east,powered=true": { "model": "betterend:block/%name%_button_pressed", "x": 180, "y": 270 }, "face=ceiling,facing=south,powered=false": {
"face=ceiling,facing=west,powered=true": { "model": "betterend:block/%name%_button_pressed", "x": 180, "y": 90 }, "model": "betterend:block/%name%_button",
"face=ceiling,facing=south,powered=true": { "model": "betterend:block/%name%_button_pressed", "x": 180 }, "x": 180
"face=ceiling,facing=north,powered=true": { "model": "betterend:block/%name%_button_pressed", "x": 180, "y": 180 } },
"face=ceiling,facing=south,powered=true": {
"model": "betterend:block/%name%_button_pressed",
"x": 180
},
"face=ceiling,facing=west,powered=false": {
"model": "betterend:block/%name%_button",
"x": 180,
"y": 90
},
"face=ceiling,facing=west,powered=true": {
"model": "betterend:block/%name%_button_pressed",
"x": 180,
"y": 90
},
"face=floor,facing=east,powered=false": {
"model": "betterend:block/%name%_button",
"y": 90
},
"face=floor,facing=east,powered=true": {
"model": "betterend:block/%name%_button_pressed",
"y": 90
},
"face=floor,facing=north,powered=false": {
"model": "betterend:block/%name%_button"
},
"face=floor,facing=north,powered=true": {
"model": "betterend:block/%name%_button_pressed"
},
"face=floor,facing=south,powered=false": {
"model": "betterend:block/%name%_button",
"y": 180
},
"face=floor,facing=south,powered=true": {
"model": "betterend:block/%name%_button_pressed",
"y": 180
},
"face=floor,facing=west,powered=false": {
"model": "betterend:block/%name%_button",
"y": 270
},
"face=floor,facing=west,powered=true": {
"model": "betterend:block/%name%_button_pressed",
"y": 270
},
"face=wall,facing=east,powered=false": {
"model": "betterend:block/%name%_button",
"uvlock": true,
"x": 90,
"y": 90
},
"face=wall,facing=east,powered=true": {
"model": "betterend:block/%name%_button_pressed",
"uvlock": true,
"x": 90,
"y": 90
},
"face=wall,facing=north,powered=false": {
"model": "betterend:block/%name%_button",
"uvlock": true,
"x": 90
},
"face=wall,facing=north,powered=true": {
"model": "betterend:block/%name%_button_pressed",
"uvlock": true,
"x": 90
},
"face=wall,facing=south,powered=false": {
"model": "betterend:block/%name%_button",
"uvlock": true,
"x": 90,
"y": 180
},
"face=wall,facing=south,powered=true": {
"model": "betterend:block/%name%_button_pressed",
"uvlock": true,
"x": 90,
"y": 180
},
"face=wall,facing=west,powered=false": {
"model": "betterend:block/%name%_button",
"uvlock": true,
"x": 90,
"y": 270
},
"face=wall,facing=west,powered=true": {
"model": "betterend:block/%name%_button_pressed",
"uvlock": true,
"x": 90,
"y": 270
} }
}
} }

View file

@ -1,36 +1,124 @@
{ {
"variants": { "variants": {
"facing=east,half=lower,hinge=left,open=false": { "model": "betterend:block/%name%_door_bottom" }, "facing=east,half=lower,hinge=left,open=false": {
"facing=south,half=lower,hinge=left,open=false": { "model": "betterend:block/%name%_door_bottom", "y": 90 }, "model": "betterend:block/%name%_door_bottom"
"facing=west,half=lower,hinge=left,open=false": { "model": "betterend:block/%name%_door_bottom", "y": 180 }, },
"facing=north,half=lower,hinge=left,open=false": { "model": "betterend:block/%name%_door_bottom", "y": 270 }, "facing=east,half=lower,hinge=left,open=true": {
"facing=east,half=lower,hinge=right,open=false": { "model": "betterend:block/%name%_door_bottom_hinge" }, "model": "betterend:block/%name%_door_bottom_hinge",
"facing=south,half=lower,hinge=right,open=false": { "model": "betterend:block/%name%_door_bottom_hinge", "y": 90 }, "y": 90
"facing=west,half=lower,hinge=right,open=false": { "model": "betterend:block/%name%_door_bottom_hinge", "y": 180 }, },
"facing=north,half=lower,hinge=right,open=false": { "model": "betterend:block/%name%_door_bottom_hinge", "y": 270 }, "facing=east,half=lower,hinge=right,open=false": {
"facing=east,half=lower,hinge=left,open=true": { "model": "betterend:block/%name%_door_bottom_hinge", "y": 90 }, "model": "betterend:block/%name%_door_bottom_hinge"
"facing=south,half=lower,hinge=left,open=true": { "model": "betterend:block/%name%_door_bottom_hinge", "y": 180 }, },
"facing=west,half=lower,hinge=left,open=true": { "model": "betterend:block/%name%_door_bottom_hinge", "y": 270 }, "facing=east,half=lower,hinge=right,open=true": {
"facing=north,half=lower,hinge=left,open=true": { "model": "betterend:block/%name%_door_bottom_hinge" }, "model": "betterend:block/%name%_door_bottom",
"facing=east,half=lower,hinge=right,open=true": { "model": "betterend:block/%name%_door_bottom", "y": 270 }, "y": 270
"facing=south,half=lower,hinge=right,open=true": { "model": "betterend:block/%name%_door_bottom" }, },
"facing=west,half=lower,hinge=right,open=true": { "model": "betterend:block/%name%_door_bottom", "y": 90 }, "facing=east,half=upper,hinge=left,open=false": {
"facing=north,half=lower,hinge=right,open=true": { "model": "betterend:block/%name%_door_bottom", "y": 180 }, "model": "betterend:block/%name%_door_top"
"facing=east,half=upper,hinge=left,open=false": { "model": "betterend:block/%name%_door_top" }, },
"facing=south,half=upper,hinge=left,open=false": { "model": "betterend:block/%name%_door_top", "y": 90 }, "facing=east,half=upper,hinge=left,open=true": {
"facing=west,half=upper,hinge=left,open=false": { "model": "betterend:block/%name%_door_top", "y": 180 }, "model": "betterend:block/%name%_door_top_hinge",
"facing=north,half=upper,hinge=left,open=false": { "model": "betterend:block/%name%_door_top", "y": 270 }, "y": 90
"facing=east,half=upper,hinge=right,open=false": { "model": "betterend:block/%name%_door_top_hinge" }, },
"facing=south,half=upper,hinge=right,open=false": { "model": "betterend:block/%name%_door_top_hinge", "y": 90 }, "facing=east,half=upper,hinge=right,open=false": {
"facing=west,half=upper,hinge=right,open=false": { "model": "betterend:block/%name%_door_top_hinge", "y": 180 }, "model": "betterend:block/%name%_door_top_hinge"
"facing=north,half=upper,hinge=right,open=false": { "model": "betterend:block/%name%_door_top_hinge", "y": 270 }, },
"facing=east,half=upper,hinge=left,open=true": { "model": "betterend:block/%name%_door_top_hinge", "y": 90 }, "facing=east,half=upper,hinge=right,open=true": {
"facing=south,half=upper,hinge=left,open=true": { "model": "betterend:block/%name%_door_top_hinge", "y": 180 }, "model": "betterend:block/%name%_door_top",
"facing=west,half=upper,hinge=left,open=true": { "model": "betterend:block/%name%_door_top_hinge", "y": 270 }, "y": 270
"facing=north,half=upper,hinge=left,open=true": { "model": "betterend:block/%name%_door_top_hinge" }, },
"facing=east,half=upper,hinge=right,open=true": { "model": "betterend:block/%name%_door_top", "y": 270 }, "facing=north,half=lower,hinge=left,open=false": {
"facing=south,half=upper,hinge=right,open=true": { "model": "betterend:block/%name%_door_top" }, "model": "betterend:block/%name%_door_bottom",
"facing=west,half=upper,hinge=right,open=true": { "model": "betterend:block/%name%_door_top", "y": 90 }, "y": 270
"facing=north,half=upper,hinge=right,open=true": { "model": "betterend:block/%name%_door_top", "y": 180 } },
"facing=north,half=lower,hinge=left,open=true": {
"model": "betterend:block/%name%_door_bottom_hinge"
},
"facing=north,half=lower,hinge=right,open=false": {
"model": "betterend:block/%name%_door_bottom_hinge",
"y": 270
},
"facing=north,half=lower,hinge=right,open=true": {
"model": "betterend:block/%name%_door_bottom",
"y": 180
},
"facing=north,half=upper,hinge=left,open=false": {
"model": "betterend:block/%name%_door_top",
"y": 270
},
"facing=north,half=upper,hinge=left,open=true": {
"model": "betterend:block/%name%_door_top_hinge"
},
"facing=north,half=upper,hinge=right,open=false": {
"model": "betterend:block/%name%_door_top_hinge",
"y": 270
},
"facing=north,half=upper,hinge=right,open=true": {
"model": "betterend:block/%name%_door_top",
"y": 180
},
"facing=south,half=lower,hinge=left,open=false": {
"model": "betterend:block/%name%_door_bottom",
"y": 90
},
"facing=south,half=lower,hinge=left,open=true": {
"model": "betterend:block/%name%_door_bottom_hinge",
"y": 180
},
"facing=south,half=lower,hinge=right,open=false": {
"model": "betterend:block/%name%_door_bottom_hinge",
"y": 90
},
"facing=south,half=lower,hinge=right,open=true": {
"model": "betterend:block/%name%_door_bottom"
},
"facing=south,half=upper,hinge=left,open=false": {
"model": "betterend:block/%name%_door_top",
"y": 90
},
"facing=south,half=upper,hinge=left,open=true": {
"model": "betterend:block/%name%_door_top_hinge",
"y": 180
},
"facing=south,half=upper,hinge=right,open=false": {
"model": "betterend:block/%name%_door_top_hinge",
"y": 90
},
"facing=south,half=upper,hinge=right,open=true": {
"model": "betterend:block/%name%_door_top"
},
"facing=west,half=lower,hinge=left,open=false": {
"model": "betterend:block/%name%_door_bottom",
"y": 180
},
"facing=west,half=lower,hinge=left,open=true": {
"model": "betterend:block/%name%_door_bottom_hinge",
"y": 270
},
"facing=west,half=lower,hinge=right,open=false": {
"model": "betterend:block/%name%_door_bottom_hinge",
"y": 180
},
"facing=west,half=lower,hinge=right,open=true": {
"model": "betterend:block/%name%_door_bottom",
"y": 90
},
"facing=west,half=upper,hinge=left,open=false": {
"model": "betterend:block/%name%_door_top",
"y": 180
},
"facing=west,half=upper,hinge=left,open=true": {
"model": "betterend:block/%name%_door_top_hinge",
"y": 270
},
"facing=west,half=upper,hinge=right,open=false": {
"model": "betterend:block/%name%_door_top_hinge",
"y": 180
},
"facing=west,half=upper,hinge=right,open=true": {
"model": "betterend:block/%name%_door_top",
"y": 90
} }
}
} }

View file

@ -1,17 +1,48 @@
{ {
"multipart": [ "multipart": [
{ "apply": { "model": "betterend:block/%name%_fence_post" }}, {
{ "when": { "north": true }, "apply": {
"apply": { "model": "betterend:block/%name%_fence_side", "uvlock": true } "model": "betterend:block/%name%_fence_post"
}, }
{ "when": { "east": true }, },
"apply": { "model": "betterend:block/%name%_fence_side", "y": 90, "uvlock": true } {
}, "apply": {
{ "when": { "south": true }, "model": "betterend:block/%name%_fence_side",
"apply": { "model": "betterend:block/%name%_fence_side", "y": 180, "uvlock": true } "uvlock": true
}, },
{ "when": { "west": true }, "when": {
"apply": { "model": "betterend:block/%name%_fence_side", "y": 270, "uvlock": true } "north": true
} }
] },
{
"apply": {
"model": "betterend:block/%name%_fence_side",
"uvlock": true,
"y": 90
},
"when": {
"east": true
}
},
{
"apply": {
"model": "betterend:block/%name%_fence_side",
"uvlock": true,
"y": 180
},
"when": {
"south": true
}
},
{
"apply": {
"model": "betterend:block/%name%_fence_side",
"uvlock": true,
"y": 270
},
"when": {
"west": true
}
}
]
} }

View file

@ -1,20 +1,80 @@
{ {
"variants": { "variants": {
"facing=south,in_wall=false,open=false": { "model": "betterend:block/%name%_fence_gate_closed", "uvlock": true }, "facing=east,in_wall=false,open=false": {
"facing=west,in_wall=false,open=false": { "model": "betterend:block/%name%_fence_gate_closed", "uvlock": true, "y": 90 }, "model": "betterend:block/%name%_fence_gate_closed",
"facing=north,in_wall=false,open=false": { "model": "betterend:block/%name%_fence_gate_closed", "uvlock": true, "y": 180 }, "uvlock": true,
"facing=east,in_wall=false,open=false": { "model": "betterend:block/%name%_fence_gate_closed", "uvlock": true, "y": 270 }, "y": 270
"facing=south,in_wall=false,open=true": { "model": "betterend:block/%name%_fence_gate_open", "uvlock": true }, },
"facing=west,in_wall=false,open=true": { "model": "betterend:block/%name%_fence_gate_open", "uvlock": true, "y": 90 }, "facing=east,in_wall=false,open=true": {
"facing=north,in_wall=false,open=true": { "model": "betterend:block/%name%_fence_gate_open", "uvlock": true, "y": 180 }, "model": "betterend:block/%name%_fence_gate_open",
"facing=east,in_wall=false,open=true": { "model": "betterend:block/%name%_fence_gate_open", "uvlock": true, "y": 270 }, "uvlock": true,
"facing=south,in_wall=true,open=false": { "model": "betterend:block/%name%_wall_gate_closed", "uvlock": true }, "y": 270
"facing=west,in_wall=true,open=false": { "model": "betterend:block/%name%_wall_gate_closed", "uvlock": true, "y": 90 }, },
"facing=north,in_wall=true,open=false": { "model": "betterend:block/%name%_wall_gate_closed", "uvlock": true, "y": 180 }, "facing=east,in_wall=true,open=false": {
"facing=east,in_wall=true,open=false": { "model": "betterend:block/%name%_wall_gate_closed", "uvlock": true, "y": 270 }, "model": "betterend:block/%name%_wall_gate_closed",
"facing=south,in_wall=true,open=true": { "model": "betterend:block/%name%_wall_gate_open", "uvlock": true }, "uvlock": true,
"facing=west,in_wall=true,open=true": { "model": "betterend:block/%name%_wall_gate_open", "uvlock": true, "y": 90 }, "y": 270
"facing=north,in_wall=true,open=true": { "model": "betterend:block/%name%_wall_gate_open", "uvlock": true, "y": 180 }, },
"facing=east,in_wall=true,open=true": { "model": "betterend:block/%name%_wall_gate_open", "uvlock": true, "y": 270 } "facing=east,in_wall=true,open=true": {
"model": "betterend:block/%name%_wall_gate_open",
"uvlock": true,
"y": 270
},
"facing=north,in_wall=false,open=false": {
"model": "betterend:block/%name%_fence_gate_closed",
"uvlock": true,
"y": 180
},
"facing=north,in_wall=false,open=true": {
"model": "betterend:block/%name%_fence_gate_open",
"uvlock": true,
"y": 180
},
"facing=north,in_wall=true,open=false": {
"model": "betterend:block/%name%_wall_gate_closed",
"uvlock": true,
"y": 180
},
"facing=north,in_wall=true,open=true": {
"model": "betterend:block/%name%_wall_gate_open",
"uvlock": true,
"y": 180
},
"facing=south,in_wall=false,open=false": {
"model": "betterend:block/%name%_fence_gate_closed",
"uvlock": true
},
"facing=south,in_wall=false,open=true": {
"model": "betterend:block/%name%_fence_gate_open",
"uvlock": true
},
"facing=south,in_wall=true,open=false": {
"model": "betterend:block/%name%_wall_gate_closed",
"uvlock": true
},
"facing=south,in_wall=true,open=true": {
"model": "betterend:block/%name%_wall_gate_open",
"uvlock": true
},
"facing=west,in_wall=false,open=false": {
"model": "betterend:block/%name%_fence_gate_closed",
"uvlock": true,
"y": 90
},
"facing=west,in_wall=false,open=true": {
"model": "betterend:block/%name%_fence_gate_open",
"uvlock": true,
"y": 90
},
"facing=west,in_wall=true,open=false": {
"model": "betterend:block/%name%_wall_gate_closed",
"uvlock": true,
"y": 90
},
"facing=west,in_wall=true,open=true": {
"model": "betterend:block/%name%_wall_gate_open",
"uvlock": true,
"y": 90
} }
}
} }

View file

@ -1,8 +1,19 @@
{ {
"variants": { "variants": {
"facing=north": { "model": "betterend:block/%name%_ladder" }, "facing=east": {
"facing=east": { "model": "betterend:block/%name%_ladder", "y": 90 }, "model": "betterend:block/%name%_ladder",
"facing=south": { "model": "betterend:block/%name%_ladder", "y": 180 }, "y": 90
"facing=west": { "model": "betterend:block/%name%_ladder", "y": 270 } },
"facing=north": {
"model": "betterend:block/%name%_ladder"
},
"facing=south": {
"model": "betterend:block/%name%_ladder",
"y": 180
},
"facing=west": {
"model": "betterend:block/%name%_ladder",
"y": 270
} }
}
} }

View file

@ -1,7 +1,16 @@
{ {
"variants": { "variants": {
"axis=y": { "model": "betterend:block/%name%_log" }, "axis=x": {
"axis=z": { "model": "betterend:block/%name%_log", "x": 90 }, "model": "betterend:block/%name%_log",
"axis=x": { "model": "betterend:block/%name%_log", "x": 90, "y": 90 } "x": 90,
"y": 90
},
"axis=y": {
"model": "betterend:block/%name%_log"
},
"axis=z": {
"model": "betterend:block/%name%_log",
"x": 90
} }
}
} }

View file

@ -1,6 +1,7 @@
{ {
"variants": "variants": {
{ "": {
"": { "model": "betterend:block/%name%_planks" } "model": "betterend:block/%name%_planks"
} }
}
} }

View file

@ -1,6 +1,10 @@
{ {
"variants": { "variants": {
"powered=false": { "model": "betterend:block/%name%_pressure_plate_up" }, "powered=false": {
"powered=true": { "model": "betterend:block/%name%_pressure_plate_down" } "model": "betterend:block/%name%_pressure_plate_up"
},
"powered=true": {
"model": "betterend:block/%name%_pressure_plate_down"
} }
}
} }

View file

@ -1,5 +1,7 @@
{ {
"variants": { "variants": {
"": { "model": "betterend:block/%name%_empty" } "": {
"model": "betterend:block/%name%_empty"
}
} }
} }

View file

@ -1,8 +1,15 @@
{ {
"variants": "variants": {
{ "type=bottom": {
"type=bottom": { "model": "betterend:block/%name%_half_slab" }, "model": "betterend:block/%name%_half_slab"
"type=top": { "model": "betterend:block/%name%_half_slab", "x": 180, "uvlock": true }, },
"type=double": { "model": "betterend:block/%name%_planks" } "type=double": {
"model": "betterend:block/%name%_planks"
},
"type=top": {
"model": "betterend:block/%name%_half_slab",
"uvlock": true,
"x": 180
} }
}
} }

View file

@ -1,44 +1,209 @@
{ {
"variants": { "variants": {
"facing=east,half=bottom,shape=straight": { "model": "betterend:block/%name%_stairs" }, "facing=east,half=bottom,shape=inner_left": {
"facing=west,half=bottom,shape=straight": { "model": "betterend:block/%name%_stairs", "y": 180, "uvlock": true }, "model": "betterend:block/%name%_inner_stairs",
"facing=south,half=bottom,shape=straight": { "model": "betterend:block/%name%_stairs", "y": 90, "uvlock": true }, "uvlock": true,
"facing=north,half=bottom,shape=straight": { "model": "betterend:block/%name%_stairs", "y": 270, "uvlock": true }, "y": 270
"facing=east,half=bottom,shape=outer_right": { "model": "betterend:block/%name%_outer_stairs" }, },
"facing=west,half=bottom,shape=outer_right": { "model": "betterend:block/%name%_outer_stairs", "y": 180, "uvlock": true }, "facing=east,half=bottom,shape=inner_right": {
"facing=south,half=bottom,shape=outer_right": { "model": "betterend:block/%name%_outer_stairs", "y": 90, "uvlock": true }, "model": "betterend:block/%name%_inner_stairs"
"facing=north,half=bottom,shape=outer_right": { "model": "betterend:block/%name%_outer_stairs", "y": 270, "uvlock": true }, },
"facing=east,half=bottom,shape=outer_left": { "model": "betterend:block/%name%_outer_stairs", "y": 270, "uvlock": true }, "facing=east,half=bottom,shape=outer_left": {
"facing=west,half=bottom,shape=outer_left": { "model": "betterend:block/%name%_outer_stairs", "y": 90, "uvlock": true }, "model": "betterend:block/%name%_outer_stairs",
"facing=south,half=bottom,shape=outer_left": { "model": "betterend:block/%name%_outer_stairs" }, "uvlock": true,
"facing=north,half=bottom,shape=outer_left": { "model": "betterend:block/%name%_outer_stairs", "y": 180, "uvlock": true }, "y": 270
"facing=east,half=bottom,shape=inner_right": { "model": "betterend:block/%name%_inner_stairs" }, },
"facing=west,half=bottom,shape=inner_right": { "model": "betterend:block/%name%_inner_stairs", "y": 180, "uvlock": true }, "facing=east,half=bottom,shape=outer_right": {
"facing=south,half=bottom,shape=inner_right": { "model": "betterend:block/%name%_inner_stairs", "y": 90, "uvlock": true }, "model": "betterend:block/%name%_outer_stairs"
"facing=north,half=bottom,shape=inner_right": { "model": "betterend:block/%name%_inner_stairs", "y": 270, "uvlock": true }, },
"facing=east,half=bottom,shape=inner_left": { "model": "betterend:block/%name%_inner_stairs", "y": 270, "uvlock": true }, "facing=east,half=bottom,shape=straight": {
"facing=west,half=bottom,shape=inner_left": { "model": "betterend:block/%name%_inner_stairs", "y": 90, "uvlock": true }, "model": "betterend:block/%name%_stairs"
"facing=south,half=bottom,shape=inner_left": { "model": "betterend:block/%name%_inner_stairs" }, },
"facing=north,half=bottom,shape=inner_left": { "model": "betterend:block/%name%_inner_stairs", "y": 180, "uvlock": true }, "facing=east,half=top,shape=inner_left": {
"facing=east,half=top,shape=straight": { "model": "betterend:block/%name%_stairs", "x": 180, "uvlock": true }, "model": "betterend:block/%name%_inner_stairs",
"facing=west,half=top,shape=straight": { "model": "betterend:block/%name%_stairs", "x": 180, "y": 180, "uvlock": true }, "uvlock": true,
"facing=south,half=top,shape=straight": { "model": "betterend:block/%name%_stairs", "x": 180, "y": 90, "uvlock": true }, "x": 180
"facing=north,half=top,shape=straight": { "model": "betterend:block/%name%_stairs", "x": 180, "y": 270, "uvlock": true }, },
"facing=east,half=top,shape=outer_right": { "model": "betterend:block/%name%_outer_stairs", "x": 180, "y": 90, "uvlock": true }, "facing=east,half=top,shape=inner_right": {
"facing=west,half=top,shape=outer_right": { "model": "betterend:block/%name%_outer_stairs", "x": 180, "y": 270, "uvlock": true }, "model": "betterend:block/%name%_inner_stairs",
"facing=south,half=top,shape=outer_right": { "model": "betterend:block/%name%_outer_stairs", "x": 180, "y": 180, "uvlock": true }, "uvlock": true,
"facing=north,half=top,shape=outer_right": { "model": "betterend:block/%name%_outer_stairs", "x": 180, "uvlock": true }, "x": 180,
"facing=east,half=top,shape=outer_left": { "model": "betterend:block/%name%_outer_stairs", "x": 180, "uvlock": true }, "y": 90
"facing=west,half=top,shape=outer_left": { "model": "betterend:block/%name%_outer_stairs", "x": 180, "y": 180, "uvlock": true }, },
"facing=south,half=top,shape=outer_left": { "model": "betterend:block/%name%_outer_stairs", "x": 180, "y": 90, "uvlock": true }, "facing=east,half=top,shape=outer_left": {
"facing=north,half=top,shape=outer_left": { "model": "betterend:block/%name%_outer_stairs", "x": 180, "y": 270, "uvlock": true }, "model": "betterend:block/%name%_outer_stairs",
"facing=east,half=top,shape=inner_right": { "model": "betterend:block/%name%_inner_stairs", "x": 180, "y": 90, "uvlock": true }, "uvlock": true,
"facing=west,half=top,shape=inner_right": { "model": "betterend:block/%name%_inner_stairs", "x": 180, "y": 270, "uvlock": true }, "x": 180
"facing=south,half=top,shape=inner_right": { "model": "betterend:block/%name%_inner_stairs", "x": 180, "y": 180, "uvlock": true }, },
"facing=north,half=top,shape=inner_right": { "model": "betterend:block/%name%_inner_stairs", "x": 180, "uvlock": true }, "facing=east,half=top,shape=outer_right": {
"facing=east,half=top,shape=inner_left": { "model": "betterend:block/%name%_inner_stairs", "x": 180, "uvlock": true }, "model": "betterend:block/%name%_outer_stairs",
"facing=west,half=top,shape=inner_left": { "model": "betterend:block/%name%_inner_stairs", "x": 180, "y": 180, "uvlock": true }, "uvlock": true,
"facing=south,half=top,shape=inner_left": { "model": "betterend:block/%name%_inner_stairs", "x": 180, "y": 90, "uvlock": true }, "x": 180,
"facing=north,half=top,shape=inner_left": { "model": "betterend:block/%name%_inner_stairs", "x": 180, "y": 270, "uvlock": true } "y": 90
},
"facing=east,half=top,shape=straight": {
"model": "betterend:block/%name%_stairs",
"uvlock": true,
"x": 180
},
"facing=north,half=bottom,shape=inner_left": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"y": 180
},
"facing=north,half=bottom,shape=inner_right": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"y": 270
},
"facing=north,half=bottom,shape=outer_left": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"y": 180
},
"facing=north,half=bottom,shape=outer_right": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"y": 270
},
"facing=north,half=bottom,shape=straight": {
"model": "betterend:block/%name%_stairs",
"uvlock": true,
"y": 270
},
"facing=north,half=top,shape=inner_left": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=north,half=top,shape=inner_right": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"x": 180
},
"facing=north,half=top,shape=outer_left": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=north,half=top,shape=outer_right": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"x": 180
},
"facing=north,half=top,shape=straight": {
"model": "betterend:block/%name%_stairs",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=south,half=bottom,shape=inner_left": {
"model": "betterend:block/%name%_inner_stairs"
},
"facing=south,half=bottom,shape=inner_right": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"y": 90
},
"facing=south,half=bottom,shape=outer_left": {
"model": "betterend:block/%name%_outer_stairs"
},
"facing=south,half=bottom,shape=outer_right": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"y": 90
},
"facing=south,half=bottom,shape=straight": {
"model": "betterend:block/%name%_stairs",
"uvlock": true,
"y": 90
},
"facing=south,half=top,shape=inner_left": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"x": 180,
"y": 90
},
"facing=south,half=top,shape=inner_right": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"x": 180,
"y": 180
},
"facing=south,half=top,shape=outer_left": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"x": 180,
"y": 90
},
"facing=south,half=top,shape=outer_right": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"x": 180,
"y": 180
},
"facing=south,half=top,shape=straight": {
"model": "betterend:block/%name%_stairs",
"uvlock": true,
"x": 180,
"y": 90
},
"facing=west,half=bottom,shape=inner_left": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"y": 90
},
"facing=west,half=bottom,shape=inner_right": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"y": 180
},
"facing=west,half=bottom,shape=outer_left": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"y": 90
},
"facing=west,half=bottom,shape=outer_right": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"y": 180
},
"facing=west,half=bottom,shape=straight": {
"model": "betterend:block/%name%_stairs",
"uvlock": true,
"y": 180
},
"facing=west,half=top,shape=inner_left": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"x": 180,
"y": 180
},
"facing=west,half=top,shape=inner_right": {
"model": "betterend:block/%name%_inner_stairs",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=west,half=top,shape=outer_left": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"x": 180,
"y": 180
},
"facing=west,half=top,shape=outer_right": {
"model": "betterend:block/%name%_outer_stairs",
"uvlock": true,
"x": 180,
"y": 270
},
"facing=west,half=top,shape=straight": {
"model": "betterend:block/%name%_stairs",
"uvlock": true,
"x": 180,
"y": 180
} }
}
} }

View file

@ -1,7 +1,16 @@
{ {
"variants": { "variants": {
"axis=y": { "model": "betterend:block/%name%_striped_bark" }, "axis=x": {
"axis=z": { "model": "betterend:block/%name%_striped_bark", "x": 90 }, "model": "betterend:block/%name%_striped_bark",
"axis=x": { "model": "betterend:block/%name%_striped_bark", "x": 90, "y": 90 } "x": 90,
"y": 90
},
"axis=y": {
"model": "betterend:block/%name%_striped_bark"
},
"axis=z": {
"model": "betterend:block/%name%_striped_bark",
"x": 90
} }
}
} }

View file

@ -1,7 +1,16 @@
{ {
"variants": { "variants": {
"axis=y": { "model": "betterend:block/%name%_striped_log" }, "axis=x": {
"axis=z": { "model": "betterend:block/%name%_striped_log", "x": 90 }, "model": "betterend:block/%name%_striped_log",
"axis=x": { "model": "betterend:block/%name%_striped_log", "x": 90, "y": 90 } "x": 90,
"y": 90
},
"axis=y": {
"model": "betterend:block/%name%_striped_log"
},
"axis=z": {
"model": "betterend:block/%name%_striped_log",
"x": 90
} }
}
} }

View file

@ -1,20 +1,77 @@
{ {
"variants": { "variants": {
"facing=north,half=bottom,open=false": { "model": "betterend:block/%name%_trapdoor" }, "facing=east,half=bottom,open=false": {
"facing=south,half=bottom,open=false": { "model": "betterend:block/%name%_trapdoor", "y": 180 }, "model": "betterend:block/%name%_trapdoor",
"facing=east,half=bottom,open=false": { "model": "betterend:block/%name%_trapdoor", "y": 90 }, "y": 90
"facing=west,half=bottom,open=false": { "model": "betterend:block/%name%_trapdoor", "y": 270 }, },
"facing=north,half=top,open=false": { "model": "betterend:block/%name%_trapdoor", "x": 180 }, "facing=east,half=bottom,open=true": {
"facing=south,half=top,open=false": { "model": "betterend:block/%name%_trapdoor", "x": 180, "y": 180 }, "model": "betterend:block/%name%_trapdoor",
"facing=east,half=top,open=false": { "model": "betterend:block/%name%_trapdoor", "x": 180, "y": 90 }, "x": 90,
"facing=west,half=top,open=false": { "model": "betterend:block/%name%_trapdoor", "x": 180, "y": 270 }, "y": 90
"facing=north,half=bottom,open=true": { "model": "betterend:block/%name%_trapdoor", "x": 90 }, },
"facing=south,half=bottom,open=true": { "model": "betterend:block/%name%_trapdoor", "x": 90, "y": 180 }, "facing=east,half=top,open=false": {
"facing=east,half=bottom,open=true": { "model": "betterend:block/%name%_trapdoor", "x": 90, "y": 90 }, "model": "betterend:block/%name%_trapdoor",
"facing=west,half=bottom,open=true": { "model": "betterend:block/%name%_trapdoor", "x": 90, "y": 270 }, "x": 180,
"facing=north,half=top,open=true": { "model": "betterend:block/%name%_trapdoor", "x": 270, "y": 180 }, "y": 90
"facing=south,half=top,open=true": { "model": "betterend:block/%name%_trapdoor", "x": 270, "y": 0 }, },
"facing=east,half=top,open=true": { "model": "betterend:block/%name%_trapdoor", "x": 270, "y": 270 }, "facing=east,half=top,open=true": {
"facing=west,half=top,open=true": { "model": "betterend:block/%name%_trapdoor", "x": 270, "y": 90 } "model": "betterend:block/%name%_trapdoor",
"x": 270,
"y": 270
},
"facing=north,half=bottom,open=false": {
"model": "betterend:block/%name%_trapdoor"
},
"facing=north,half=bottom,open=true": {
"model": "betterend:block/%name%_trapdoor",
"x": 90
},
"facing=north,half=top,open=false": {
"model": "betterend:block/%name%_trapdoor",
"x": 180
},
"facing=north,half=top,open=true": {
"model": "betterend:block/%name%_trapdoor",
"x": 270,
"y": 180
},
"facing=south,half=bottom,open=false": {
"model": "betterend:block/%name%_trapdoor",
"y": 180
},
"facing=south,half=bottom,open=true": {
"model": "betterend:block/%name%_trapdoor",
"x": 90,
"y": 180
},
"facing=south,half=top,open=false": {
"model": "betterend:block/%name%_trapdoor",
"x": 180,
"y": 180
},
"facing=south,half=top,open=true": {
"model": "betterend:block/%name%_trapdoor",
"x": 270,
"y": 0
},
"facing=west,half=bottom,open=false": {
"model": "betterend:block/%name%_trapdoor",
"y": 270
},
"facing=west,half=bottom,open=true": {
"model": "betterend:block/%name%_trapdoor",
"x": 90,
"y": 270
},
"facing=west,half=top,open=false": {
"model": "betterend:block/%name%_trapdoor",
"x": 180,
"y": 270
},
"facing=west,half=top,open=true": {
"model": "betterend:block/%name%_trapdoor",
"x": 270,
"y": 90
} }
}
} }

View file

@ -1,3 +1,3 @@
{ {
"parent": "betterend:block/%name%_bark" "parent": "betterend:block/%name%_bark"
} }

View file

@ -1,3 +1,3 @@
{ {
"parent": "betterend:block/%name%_barrel" "parent": "betterend:block/%name%_barrel"
} }

View file

@ -1,3 +1,3 @@
{ {
"parent": "betterend:block/%name%_button_inventory" "parent": "betterend:block/%name%_button_inventory"
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "betterend:block/chest_item", "parent": "betterend:block/chest_item",
"textures": { "textures": {
"texture": "betterend:entity/chest/%name%_chest" "texture": "betterend:entity/chest/%name%_chest"
} }
} }

View file

@ -1,3 +1,3 @@
{ {
"parent": "betterend:block/%name%_crafting_table" "parent": "betterend:block/%name%_crafting_table"
} }

View file

@ -1,6 +1,6 @@
{ {
"parent": "item/generated", "parent": "item/generated",
"textures": { "textures": {
"layer0": "betterend:item/%name%_door" "layer0": "betterend:item/%name%_door"
} }
} }

View file

@ -1,3 +1,3 @@
{ {
"parent": "betterend:block/%name%_fence_inventory" "parent": "betterend:block/%name%_fence_inventory"
} }

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