+ iron Shelf

+ iron Shelf variants
This commit is contained in:
Glitchlabs
2026-08-02 22:01:42 +02:00
parent 97a7b40635
commit dcfa286ec7
15 changed files with 449 additions and 34 deletions
@@ -98,7 +98,6 @@ public class Ornamentum {
// Register render types for glow glass blocks
registerGlassRenderTypes();
registerGrateRenderTypes();
registerFlagRenderTypes();
}
@@ -122,10 +121,10 @@ public class Ornamentum {
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.PINK_GLOW_STAINED_GLASS.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.IRON_GRATE.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(
ModBlocks.LIME_GLOW_BLOCK.get(),
net.minecraft.client.renderer.RenderType.cutout()
);
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.LIME_GLOW_BLOCK.get(), net.minecraft.client.renderer.RenderType.cutout());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.IRON_SHELF.get(), net.minecraft.client.renderer.RenderType.cutout());
}
private static void registerGrateRenderTypes() {
@@ -135,34 +134,6 @@ public class Ornamentum {
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.NETHERITE_GRATE.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.AMETHYST_GRATE.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.OBSIDIAN_GRATE.get(), net.minecraft.client.renderer.RenderType.translucent());
}
private static void registerFlagRenderTypes() {
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.AUSTRIA_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.BOUVET_ISLAND_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.CANADA_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.CHINA_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.DENMARK_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.FINLAND_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.FRANCE_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.GERMANY_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.GREECE_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.HUNGARY_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.ICELAND_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.INDIA_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.IRELAND_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.ITALY_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.JAPAN_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.LATVIA_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.NETHERLANDS_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.SWEDEN_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.SWITZERLAND_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.UNITED_KINGDOM_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
net.minecraft.client.renderer.ItemBlockRenderTypes.setRenderLayer(ModBlocks.UNITED_STATES_FLAG.get(), net.minecraft.client.renderer.RenderType.translucent());
}
}
}
@@ -11,6 +11,7 @@ import ovh.glitchlabs.ornamentum.Ornamentum;
import ovh.glitchlabs.ornamentum.blocks.custom.FlagBlock;
import ovh.glitchlabs.ornamentum.blocks.custom.GlowGlassBlock;
import ovh.glitchlabs.ornamentum.blocks.custom.GrateBlock;
import ovh.glitchlabs.ornamentum.blocks.custom.ShelfBlock;
import ovh.glitchlabs.ornamentum.items.ModItems;
import java.util.function.Supplier;
@@ -19,6 +20,9 @@ public class ModBlocks {
public static final DeferredRegister.Blocks BLOCKS =
DeferredRegister.createBlocks(Ornamentum.MODID);
public static final DeferredBlock<Block> IRON_SHELF = registerBlock("iron_shelf",
() -> new ShelfBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.IRON_BLOCK).noOcclusion()));
public static final DeferredBlock<Block> OBSIDIAN_BRICKS = registerBlock("obsidian_bricks",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.OBSIDIAN)));
@@ -562,7 +566,6 @@ public class ModBlocks {
.strength(5.0f, 6.0f)
.noOcclusion()
));
//POOL TILES
public static final DeferredBlock<Block> POOL_TILES = registerBlock("pool_tiles",
@@ -0,0 +1,43 @@
package ovh.glitchlabs.ornamentum.blocks.custom;
import com.mojang.serialization.MapCodec;
import net.minecraft.core.BlockPos;
import net.minecraft.world.item.context.BlockPlaceContext;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.HorizontalDirectionalBlock;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.state.StateDefinition;
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.VoxelShape;
import org.jetbrains.annotations.Nullable;
public class ShelfBlock extends HorizontalDirectionalBlock {
public static final MapCodec<ShelfBlock> CODEC = simpleCodec(ShelfBlock::new);
private static final VoxelShape SHAPE = Block.box(0.0, 0.0, 0.0, 16.0, 16.0, 16.0);
public ShelfBlock(Properties properties) {
super(properties);
}
@Override
protected VoxelShape getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) {
return SHAPE;
}
@Override
protected MapCodec<? extends HorizontalDirectionalBlock> codec() {
return CODEC;
}
@Nullable
@Override
public BlockState getStateForPlacement(BlockPlaceContext context) {
return this.defaultBlockState().setValue(FACING, context.getHorizontalDirection().getOpposite());
}
@Override
protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> builder) {
builder.add(FACING);
}
}
@@ -22,6 +22,8 @@ public class ModBlockTagProvider extends BlockTagsProvider {
@Override
protected void addTags(HolderLookup.Provider provider) {
tag(BlockTags.MINEABLE_WITH_AXE)
.add(ModBlocks.OBSIDIAN_TILES.get())
.add(ModBlocks.CRACKED_OBSIDIAN_TILES.get())
.add(ModBlocks.CRACKED_OBSIDIAN_BRICKS.get())
@@ -88,6 +90,8 @@ public class ModBlockTagProvider extends BlockTagsProvider {
;
tag(BlockTags.MINEABLE_WITH_PICKAXE)
.add(ModBlocks.IRON_SHELF.get())
.add(ModBlocks.RED_PATTERN_BLOCK.get())
.add(ModBlocks.RED_PATTERN_BLOCK_STAIRS.get())
.add(ModBlocks.RED_PATTERN_BLOCK_SLAB.get())
@@ -397,6 +401,7 @@ public class ModBlockTagProvider extends BlockTagsProvider {
tag(BlockTags.NEEDS_STONE_TOOL)
.add(ModBlocks.IRON_SHELF.get())
.add(ModBlocks.IRON_GRATE.get())
;
@@ -341,6 +341,8 @@ public class ModLanguageProvider extends LanguageProvider {
add(ModBlocks.CRACKED_OBSIDIAN_BRICKS.get(), "Cracked Obsidian Bricks");
add(ModBlocks.CRACKED_OBSIDIAN_TILES.get(), "Cracked Obsidian Tiles");
add(ModBlocks.IRON_SHELF.get(), "Iron Shelf");
add("creativetab.ornamentum.ornamentum", "Ornamentum");
// Items
File diff suppressed because one or more lines are too long
@@ -0,0 +1,20 @@
{
"variants": {
"facing=north": [
{ "model": "ornamentum:block/iron_shelf", "weight": 3 },
{ "model": "ornamentum:block/iron_shelf_things_1", "weight": 1 }
],
"facing=south": [
{ "model": "ornamentum:block/iron_shelf", "y": 180, "weight": 3 },
{ "model": "ornamentum:block/iron_shelf_things_1", "y": 180, "weight": 1 }
],
"facing=east": [
{ "model": "ornamentum:block/iron_shelf", "y": 90, "weight": 3 },
{ "model": "ornamentum:block/iron_shelf_things_1", "y": 90, "weight": 1 }
],
"facing=west": [
{ "model": "ornamentum:block/iron_shelf", "y": 270, "weight": 3 },
{ "model": "ornamentum:block/iron_shelf_things_1", "y": 270, "weight": 1 }
]
}
}
@@ -0,0 +1,118 @@
{
"format_version": "1.21.6",
"credit": "Made with Blockbench by ian1337",
"parent": "minecraft:block/block",
"textures": {
"1": "ornamentum:block/iron_shelf/iron_shelf",
"particle": "ornamentum:block/iron_shelf/iron_shelf"
},
"elements": [
{
"name": "frame_R",
"from": [0, 0, 0],
"to": [1, 16, 1],
"faces": {
"north": {"uv": [1, 0, 2, 16], "texture": "#1"},
"east": {"uv": [1, 0, 2, 16], "texture": "#1"},
"south": {"uv": [5, 0, 6, 16], "texture": "#1"},
"west": {"uv": [3, 0, 4, 16], "texture": "#1"},
"up": {"uv": [12, 0, 13, 1], "texture": "#1"},
"down": {"uv": [14, 15, 15, 16], "texture": "#1"}
}
},
{
"name": "Frame_R_back",
"from": [0, 0, 15],
"to": [1, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 14]},
"faces": {
"north": {"uv": [7, 0, 8, 16], "texture": "#1"},
"east": {"uv": [3, 0, 4, 16], "texture": "#1"},
"south": {"uv": [9, 0, 10, 16], "texture": "#1"},
"west": {"uv": [5, 0, 6, 16], "texture": "#1"},
"up": {"uv": [1, 1, 2, 2], "texture": "#1"},
"down": {"uv": [0, 0, 1, 1], "texture": "#1"}
}
},
{
"name": "Frame_L_back",
"from": [15, 0, 15],
"to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [14, 0, 14]},
"faces": {
"north": {"uv": [7, 0, 8, 16], "texture": "#1"},
"east": {"uv": [9, 0, 10, 16], "texture": "#1"},
"south": {"uv": [13, 0, 14, 16], "texture": "#1"},
"west": {"uv": [3, 0, 4, 16], "texture": "#1"},
"up": {"uv": [10, 14, 11, 15], "texture": "#1"},
"down": {"uv": [1, 0, 2, 1], "texture": "#1"}
}
},
{
"name": "Frame_L",
"from": [15, 0, 0],
"to": [16, 16, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [14, 0, 0]},
"faces": {
"north": {"uv": [7, 0, 8, 16], "texture": "#1"},
"east": {"uv": [13, 0, 14, 16], "texture": "#1"},
"south": {"uv": [11, 0, 12, 16], "texture": "#1"},
"west": {"uv": [9, 0, 10, 16], "texture": "#1"},
"up": {"uv": [15, 0, 16, 1], "texture": "#1"},
"down": {"uv": [0, 15, 1, 16], "texture": "#1"}
}
},
{
"name": "lower_level",
"from": [0.5, 3, 0.5],
"to": [15.5, 3, 15.5],
"rotation": {"angle": 0, "axis": "y", "origin": [1.5, 3, 1.5]},
"faces": {
"north": {"uv": [1, 2, 16, 2], "texture": "#1"},
"east": {"uv": [1, 2, 16, 2], "texture": "#1"},
"south": {"uv": [0, 2, 15, 2], "texture": "#1"},
"west": {"uv": [0, 2, 15, 2], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#1"},
"down": {"uv": [0, 0, 16, 16], "texture": "#1"}
}
},
{
"name": "upper_level",
"from": [0.5, 11, 0.5],
"to": [15.5, 11, 15.5],
"rotation": {"angle": 0, "axis": "y", "origin": [1.5, 11, 1.5]},
"faces": {
"north": {"uv": [1, 2, 16, 2], "texture": "#1"},
"east": {"uv": [1, 2, 16, 2], "texture": "#1"},
"south": {"uv": [0, 2, 15, 2], "texture": "#1"},
"west": {"uv": [0, 2, 15, 2], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#1"},
"down": {"uv": [0, 0, 16, 16], "texture": "#1"}
}
}
],
"groups": [
{
"name": "iron_shelf",
"origin": [8, 8, 8],
"scope": 0,
"color": 0,
"children": [
{
"name": "frame",
"origin": [0, 0, 0],
"scope": 0,
"color": 0,
"children": [0, 1, 2, 3]
},
{
"name": "levels",
"origin": [8, 8, 8],
"scope": 0,
"color": 0,
"children": [4, 5]
}
]
}
]
}
@@ -0,0 +1,228 @@
{
"format_version": "1.21.6",
"credit": "Made with Blockbench by ian1337",
"parent": "block/block",
"textures": {
"1": "ornamentum:block/iron_shelf/iron_shelf",
"2": "ornamentum:block/iron_shelf/iron_shelf_things_duck",
"particle": "ornamentum:block/iron_shelf/iron_shelf"
},
"elements": [
{
"name": "frame_R",
"from": [0, 0, 0],
"to": [1, 16, 1],
"faces": {
"north": {"uv": [1, 0, 2, 16], "texture": "#1"},
"east": {"uv": [1, 0, 2, 16], "texture": "#1"},
"south": {"uv": [5, 0, 6, 16], "texture": "#1"},
"west": {"uv": [3, 0, 4, 16], "texture": "#1"},
"up": {"uv": [12, 0, 13, 1], "texture": "#1"},
"down": {"uv": [14, 15, 15, 16], "texture": "#1"}
}
},
{
"name": "Frame_R_back",
"from": [0, 0, 15],
"to": [1, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 14]},
"faces": {
"north": {"uv": [7, 0, 8, 16], "texture": "#1"},
"east": {"uv": [3, 0, 4, 16], "texture": "#1"},
"south": {"uv": [9, 0, 10, 16], "texture": "#1"},
"west": {"uv": [5, 0, 6, 16], "texture": "#1"},
"up": {"uv": [1, 1, 2, 2], "texture": "#1"},
"down": {"uv": [0, 0, 1, 1], "texture": "#1"}
}
},
{
"name": "Frame_L_back",
"from": [15, 0, 15],
"to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [14, 0, 14]},
"faces": {
"north": {"uv": [7, 0, 8, 16], "texture": "#1"},
"east": {"uv": [9, 0, 10, 16], "texture": "#1"},
"south": {"uv": [13, 0, 14, 16], "texture": "#1"},
"west": {"uv": [3, 0, 4, 16], "texture": "#1"},
"up": {"uv": [10, 14, 11, 15], "texture": "#1"},
"down": {"uv": [1, 0, 2, 1], "texture": "#1"}
}
},
{
"name": "Frame_L",
"from": [15, 0, 0],
"to": [16, 16, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [14, 0, 0]},
"faces": {
"north": {"uv": [7, 0, 8, 16], "texture": "#1"},
"east": {"uv": [13, 0, 14, 16], "texture": "#1"},
"south": {"uv": [11, 0, 12, 16], "texture": "#1"},
"west": {"uv": [9, 0, 10, 16], "texture": "#1"},
"up": {"uv": [15, 0, 16, 1], "texture": "#1"},
"down": {"uv": [0, 15, 1, 16], "texture": "#1"}
}
},
{
"name": "lower_level",
"from": [0.5, 3, 0.5],
"to": [15.5, 3, 15.5],
"rotation": {"angle": 0, "axis": "y", "origin": [1.5, 3, 1.5]},
"faces": {
"north": {"uv": [1, 2, 16, 2], "texture": "#1"},
"east": {"uv": [1, 2, 16, 2], "texture": "#1"},
"south": {"uv": [0, 2, 15, 2], "texture": "#1"},
"west": {"uv": [0, 2, 15, 2], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#1"},
"down": {"uv": [0, 0, 16, 16], "texture": "#1"}
}
},
{
"name": "upper_level",
"from": [0.5, 11, 0.5],
"to": [15.5, 11, 15.5],
"rotation": {"angle": 0, "axis": "y", "origin": [1.5, 11, 1.5]},
"faces": {
"north": {"uv": [1, 2, 16, 2], "texture": "#1"},
"east": {"uv": [1, 2, 16, 2], "texture": "#1"},
"south": {"uv": [0, 2, 15, 2], "texture": "#1"},
"west": {"uv": [0, 2, 15, 2], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#1"},
"down": {"uv": [0, 0, 16, 16], "texture": "#1"}
}
},
{
"from": [10.375, 3.1, 2.375],
"to": [13.375, 5.1, 5.375],
"rotation": {"angle": 45, "axis": "y", "origin": [11.875, 4.85, 3.25]},
"faces": {
"north": {"uv": [9, 12, 14, 16], "texture": "#2"},
"east": {"uv": [5, 12, 0, 16], "texture": "#2"},
"south": {"uv": [9, 12, 14, 16], "texture": "#2"},
"west": {"uv": [0, 12, 5, 16], "texture": "#2"},
"up": {"uv": [5, 12, 9, 16], "rotation": 90, "texture": "#2"},
"down": {"uv": [5, 12, 9, 16], "rotation": 270, "texture": "#2"}
}
},
{
"from": [10.875, 5.1, 5.125],
"to": [12.875, 5.6, 5.625],
"rotation": {"angle": 45, "axis": "y", "origin": [11.875, 4.85, 3.25]},
"faces": {
"north": {"uv": [13, 0, 15, 0.5], "texture": "#2"},
"east": {"uv": [13, 1.5, 13.5, 2], "texture": "#2"},
"south": {"uv": [13, 0.5, 15, 1], "texture": "#2"},
"west": {"uv": [13, 1, 13.5, 1.5], "texture": "#2"},
"up": {"uv": [12.5, 0, 13, 2], "rotation": 90, "texture": "#2"},
"down": {"uv": [12, 0, 12.5, 2], "rotation": 270, "texture": "#2"}
}
},
{
"from": [10.875, 3.6, 5.375],
"to": [12.875, 5.1, 5.875],
"rotation": {"angle": 45, "axis": "y", "origin": [11.875, 4.85, 3.25]},
"faces": {
"north": {"uv": [12, 2.25, 14, 3.75], "texture": "#2"},
"east": {"uv": [15.5, 2.25, 16, 3.75], "texture": "#2"},
"south": {"uv": [12, 2.25, 14, 3.75], "texture": "#2"},
"west": {"uv": [15, 2, 15.5, 3.5], "texture": "#2"},
"up": {"uv": [14, 2.25, 14.5, 4.25], "rotation": 90, "texture": "#2"},
"down": {"uv": [14.5, 2.25, 15, 4.25], "rotation": 270, "texture": "#2"}
}
},
{
"from": [13.375, 4.1, 3.125],
"to": [13.875, 5.1, 5.125],
"rotation": {"angle": 45, "axis": "y", "origin": [11.875, 4.85, 3.25]},
"faces": {
"north": {"uv": [6.5, 8, 7.5, 9.5], "texture": "#2"},
"east": {"uv": [4, 8, 6.5, 9.5], "texture": "#2"},
"south": {"uv": [6.5, 8, 7.5, 9.5], "texture": "#2"},
"west": {"uv": [4, 8, 6.5, 9.5], "texture": "#2"},
"up": {"uv": [4, 9.5, 6.5, 10.5], "rotation": 90, "texture": "#2"},
"down": {"uv": [4, 9.5, 6.5, 10.5], "rotation": 270, "texture": "#2"}
}
},
{
"from": [9.875, 4.1, 3.125],
"to": [10.375, 5.1, 5.125],
"rotation": {"angle": 45, "axis": "y", "origin": [11.875, 4.85, 3.25]},
"faces": {
"north": {"uv": [2.5, 0, 3, 1], "texture": "#2"},
"east": {"uv": [0, 0, 2, 1], "texture": "#2"},
"south": {"uv": [0, 0, 0.5, 1], "texture": "#2"},
"west": {"uv": [4, 8, 6.5, 9.5], "texture": "#2"},
"up": {"uv": [2, 2.5, 4, 3], "rotation": 90, "texture": "#2"},
"down": {"uv": [2, 0, 4, 0.5], "rotation": 270, "texture": "#2"}
}
},
{
"from": [10.875, 4.6, 0.875],
"to": [12.875, 6.6, 2.875],
"rotation": {"angle": 45, "axis": "y", "origin": [11.875, 4.85, 3.25]},
"faces": {
"north": {"uv": [0, 0, 4, 4], "texture": "#2"},
"east": {"uv": [4, 4, 0, 8], "texture": "#2"},
"south": {"uv": [0, 8, 4, 12], "texture": "#2"},
"west": {"uv": [0, 4, 4, 8], "texture": "#2"},
"up": {"uv": [4, 0, 8, 4], "rotation": 90, "texture": "#2"},
"down": {"uv": [4, 4, 8, 8], "rotation": 270, "texture": "#2"}
}
},
{
"from": [11.375, 4.85, 0.375],
"to": [12.375, 5.35, 1.375],
"rotation": {"angle": 45, "axis": "y", "origin": [11.875, 4.85, 3.25]},
"faces": {
"north": {"uv": [9, 0, 11, 0.5], "texture": "#2"},
"east": {"uv": [9, 1, 11, 1.5], "texture": "#2"},
"south": {"uv": [9, 1.5, 11, 2], "texture": "#2"},
"west": {"uv": [9, 0.5, 11, 1], "texture": "#2"},
"up": {"uv": [11, 0, 12, 1], "rotation": 90, "texture": "#2"},
"down": {"uv": [8, 0, 9, 1], "rotation": 270, "texture": "#2"}
}
}
],
"groups": [
{
"name": "iron_shelf",
"origin": [8, 8, 8],
"scope": 0,
"color": 0,
"children": [
{
"name": "frame",
"origin": [0, 0, 0],
"scope": 0,
"color": 0,
"children": [0, 1, 2, 3]
},
{
"name": "levels",
"origin": [8, 8, 8],
"scope": 0,
"color": 0,
"children": [
4,
5,
{
"name": "things",
"origin": [8, 8, 8],
"scope": 0,
"color": 0,
"children": [
{
"name": "duck",
"origin": [8, 8, 8],
"scope": 0,
"color": 0,
"children": [6, 7, 8, 9, 10, 11, 12]
}
]
}
]
}
]
}
]
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/iron_shelf"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "building",
"pattern": [
"A A",
"A#A",
"A A"
],
"key": {
"#": {
"item": "minecraft:iron_bars"
},
"A": {
"item": "minecraft:iron_ingot"
}
},
"result": {
"id": "ornamentum:iron_shelf",
"count": 1
}
}