update readme and make blueprints survival friendly
This commit is contained in:
@@ -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" } }
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/fence_inventory",
|
||||
"textures": {
|
||||
"texture": "szar:block/blueprint"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/wall_inventory",
|
||||
"textures": {
|
||||
"wall": "szar:block/blueprint"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "szar:item/blueprint"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
{ "parent": "minecraft:item/generated", "textures": { "layer0": "szar:block/blueprint" } }
|
||||
{ "parent": "minecraft:item/generated", "textures": { "layer0": "szar:block/blueprint_door" } }
|
||||
@@ -1 +1 @@
|
||||
{ "parent": "szar:block/blueprint_fence_post" }
|
||||
{ "parent": "szar:block/blueprint_fence_inventory" }
|
||||
@@ -1 +1 @@
|
||||
{ "parent": "szar:block/blueprint_wall_post" }
|
||||
{ "parent": "szar:block/blueprint_wall_inventory" }
|
||||
BIN
src/main/resources/assets/szar/textures/block/blueprint_door.png
Normal file
BIN
src/main/resources/assets/szar/textures/block/blueprint_door.png
Normal file
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 |
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"szar:blueprint_fence"
|
||||
]
|
||||
}
|
||||
6
src/main/resources/data/minecraft/tags/blocks/walls.json
Normal file
6
src/main/resources/data/minecraft/tags/blocks/walls.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"szar:blueprint_wall"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"szar:blueprint_fence"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "szar:blueprint_door"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "szar:blueprint_fence"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "szar:blueprint_stairs"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "szar:blueprint_trapdoor"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "szar:blueprint_wall"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
20
src/main/resources/data/szar/recipes/blueprint.json
Normal file
20
src/main/resources/data/szar/recipes/blueprint.json
Normal 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
|
||||
}
|
||||
}
|
||||
17
src/main/resources/data/szar/recipes/blueprint_door.json
Normal file
17
src/main/resources/data/szar/recipes/blueprint_door.json
Normal 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
|
||||
}
|
||||
}
|
||||
19
src/main/resources/data/szar/recipes/blueprint_fence.json
Normal file
19
src/main/resources/data/szar/recipes/blueprint_fence.json
Normal 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
|
||||
}
|
||||
}
|
||||
15
src/main/resources/data/szar/recipes/blueprint_slabs.json
Normal file
15
src/main/resources/data/szar/recipes/blueprint_slabs.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"BBB"
|
||||
],
|
||||
"key": {
|
||||
"B": {
|
||||
"item": "szar:blueprint"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "szar:blueprint_slab",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
17
src/main/resources/data/szar/recipes/blueprint_stairs.json
Normal file
17
src/main/resources/data/szar/recipes/blueprint_stairs.json
Normal 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
|
||||
}
|
||||
}
|
||||
16
src/main/resources/data/szar/recipes/blueprint_trapdoor.json
Normal file
16
src/main/resources/data/szar/recipes/blueprint_trapdoor.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"BB",
|
||||
"BB"
|
||||
],
|
||||
"key": {
|
||||
"B": {
|
||||
"item": "szar:blueprint"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "szar:blueprint_trapdoor",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
16
src/main/resources/data/szar/recipes/blueprint_wall.json
Normal file
16
src/main/resources/data/szar/recipes/blueprint_wall.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"BBB",
|
||||
"BBB"
|
||||
],
|
||||
"key": {
|
||||
"B": {
|
||||
"item": "szar:blueprint"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "szar:blueprint_wall",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
8
src/main/resources/data/szar/tags/items/blue.json
Normal file
8
src/main/resources/data/szar/tags/items/blue.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"minecraft:light_blue_dye",
|
||||
"minecraft:cyan_dye",
|
||||
"minecraft:blue_dye"
|
||||
]
|
||||
}
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user