update readme and make blueprints survival friendly

This commit is contained in:
2026-03-26 18:03:52 +01:00
parent 8869dc4087
commit 9c48313990
37 changed files with 532 additions and 62 deletions

View File

@@ -1,9 +1,22 @@
{
"multipart": [
{ "apply": { "model": "szar:block/blueprint_wall_post" } },
{ "apply": { "model": "szar:block/blueprint_wall_side", "uvlock": true } },
{ "apply": { "model": "szar:block/blueprint_wall_side", "y": 90, "uvlock": true } },
{ "apply": { "model": "szar:block/blueprint_wall_side", "y": 180, "uvlock": true } },
{ "apply": { "model": "szar:block/blueprint_wall_side", "y": 270, "uvlock": true } }
{ "apply": { "model": "szar:block/blueprint_wall_post" },
"when": { "up": "true" } },
{ "apply": { "model": "szar:block/blueprint_wall_side", "uvlock": true },
"when": { "north": "low" } },
{ "apply": { "model": "szar:block/blueprint_wall_side", "y": 90, "uvlock": true },
"when": { "east": "low" } },
{ "apply": { "model": "szar:block/blueprint_wall_side", "y": 180, "uvlock": true },
"when": { "south": "low" } },
{ "apply": { "model": "szar:block/blueprint_wall_side", "y": 270, "uvlock": true },
"when": { "west": "low" } },
{ "apply": { "model": "szar:block/blueprint_wall_side_tall", "uvlock": true },
"when": { "north": "tall" } },
{ "apply": { "model": "szar:block/blueprint_wall_side_tall", "y": 90, "uvlock": true },
"when": { "east": "tall" } },
{ "apply": { "model": "szar:block/blueprint_wall_side_tall", "y": 180, "uvlock": true },
"when": { "south": "tall" } },
{ "apply": { "model": "szar:block/blueprint_wall_side_tall", "y": 270, "uvlock": true },
"when": { "west": "tall" } }
]
}

View File

@@ -197,5 +197,6 @@
"block.szar.blueprint_door": "Blueprint Door",
"block.szar.blueprint_trapdoor": "Blueprint Trapdoor",
"block.szar.blueprint_wall": "Blueprint Wall",
"block.szar.blueprint_fence": "Blueprint Fence"
"block.szar.blueprint_fence": "Blueprint Fence",
"item.szar.blueprint": "Blueprint"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/fence_inventory",
"textures": {
"texture": "szar:block/blueprint"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "szar:block/blueprint"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "szar:item/blueprint"
}
}

View File

@@ -1 +1 @@
{ "parent": "minecraft:item/generated", "textures": { "layer0": "szar:block/blueprint" } }
{ "parent": "minecraft:item/generated", "textures": { "layer0": "szar:block/blueprint_door" } }

View File

@@ -1 +1 @@
{ "parent": "szar:block/blueprint_fence_post" }
{ "parent": "szar:block/blueprint_fence_inventory" }

View File

@@ -1 +1 @@
{ "parent": "szar:block/blueprint_wall_post" }
{ "parent": "szar:block/blueprint_wall_inventory" }

Binary file not shown.

After

Width:  |  Height:  |  Size: 984 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 B

After

Width:  |  Height:  |  Size: 854 B

View File

@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"szar:blueprint_fence"
]
}

View File

@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"szar:blueprint_wall"
]
}

View File

@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"szar:blueprint_fence"
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "szar:blueprint_door"
}
]
}
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "szar:blueprint_fence"
}
]
}
]
}

View File

@@ -0,0 +1,29 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "szar:blueprint_slab",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:block_state_property",
"block": "szar:blueprint_slab",
"property": "type",
"values": {
"double": 2,
"bottom": 1,
"top": 1
}
}
}
]
}
]
}
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "szar:blueprint_stairs"
}
]
}
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "szar:blueprint_trapdoor"
}
]
}
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "szar:blueprint_wall"
}
]
}
]
}

View File

@@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
" B ",
"BPB",
" B "
],
"key": {
"B": {
"tag": "szar:blue"
},
"P": {
"item": "minecraft:paper"
}
},
"result": {
"item": "szar:blueprint",
"count": 1
}
}

View File

@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"BB",
"BB",
"BB"
],
"key": {
"B": {
"item": "szar:blueprint"
}
},
"result": {
"item": "szar:blueprint_door",
"count": 1
}
}

View File

@@ -0,0 +1,19 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"BDB",
"BDB"
],
"key": {
"B": {
"item": "szar:blueprint"
},
"D": {
"tag": "szar:blue"
}
},
"result": {
"item": "szar:blueprint_fence",
"count": 1
}
}

View File

@@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"BBB"
],
"key": {
"B": {
"item": "szar:blueprint"
}
},
"result": {
"item": "szar:blueprint_slab",
"count": 1
}
}

View File

@@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"B ",
"BB ",
"BBB"
],
"key": {
"B": {
"item": "szar:blueprint"
}
},
"result": {
"item": "szar:blueprint_stairs",
"count": 1
}
}

View File

@@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"BB",
"BB"
],
"key": {
"B": {
"item": "szar:blueprint"
}
},
"result": {
"item": "szar:blueprint_trapdoor",
"count": 1
}
}

View File

@@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"BBB",
"BBB"
],
"key": {
"B": {
"item": "szar:blueprint"
}
},
"result": {
"item": "szar:blueprint_wall",
"count": 1
}
}

View File

@@ -0,0 +1,8 @@
{
"replace": false,
"values": [
"minecraft:light_blue_dye",
"minecraft:cyan_dye",
"minecraft:blue_dye"
]
}

View File

@@ -7,4 +7,5 @@ accessible field net/minecraft/server/network/ServerPlayerInteractionManager pla
accessible method net/minecraft/client/render/entity/LivingEntityRenderer addFeature (Lnet/minecraft/client/render/entity/feature/FeatureRenderer;)Z
accessible field net/minecraft/client/render/entity/EntityRenderDispatcher renderers Ljava/util/Map;
accessible method net/minecraft/world/GameRules$BooleanRule create (ZLjava/util/function/BiConsumer;)Lnet/minecraft/world/GameRules$Type;
accessible method net/minecraft/client/render/block/BlockModelRenderer renderQuad (Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/model/BakedQuad;FFFFIIIII)V
accessible method net/minecraft/client/render/block/BlockModelRenderer renderQuad (Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;Lnet/minecraft/client/render/model/BakedQuad;FFFFIIIII)V
accessible field net/minecraft/client/particle/ParticleManager world Lnet/minecraft/client/world/ClientWorld;