Added rebar concrete blocks from engineers decor

This commit is contained in:
Zontreck 2024-02-28 13:10:13 -07:00
parent a687ac3179
commit 2595a8b906
121 changed files with 4939 additions and 12 deletions

View file

@ -48,7 +48,7 @@ mod_name=Thresholds
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=GPLv3 mod_license=GPLv3
# The mod version. See https://semver.org/ # The mod version. See https://semver.org/
mod_version=1201.4.022824.0413 mod_version=1201.4.022824.1251
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources. # This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html # See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View file

@ -0,0 +1,30 @@
{
"variants": {
"": [
{
"model": "otemod:block/rebar_concrete_model0"
},
{
"model": "otemod:block/rebar_concrete_model1"
},
{
"model": "otemod:block/rebar_concrete_model2"
},
{
"model": "otemod:block/rebar_concrete_model3"
},
{
"model": "otemod:block/rebar_concrete_model4"
},
{
"model": "otemod:block/rebar_concrete_model5"
},
{
"model": "otemod:block/rebar_concrete_model6"
},
{
"model": "otemod:block/rebar_concrete_model7"
}
]
}
}

View file

@ -0,0 +1,160 @@
{
"variants": {
"type=bottom,waterlogged=false": [
{
"model": "otemod:block/rebar_concrete_slab_model0_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model1_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model2_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model3_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model4_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model5_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model6_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model7_bottom"
}
],
"type=bottom,waterlogged=true": [
{
"model": "otemod:block/rebar_concrete_slab_model0_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model1_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model2_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model3_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model4_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model5_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model6_bottom"
},
{
"model": "otemod:block/rebar_concrete_slab_model7_bottom"
}
],
"type=double,waterlogged=false": [
{
"model": "otemod:block/rebar_concrete_slab_model0_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model1_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model2_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model3_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model4_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model5_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model6_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model7_double"
}
],
"type=double,waterlogged=true": [
{
"model": "otemod:block/rebar_concrete_slab_model0_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model1_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model2_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model3_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model4_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model5_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model6_double"
},
{
"model": "otemod:block/rebar_concrete_slab_model7_double"
}
],
"type=top,waterlogged=false": [
{
"model": "otemod:block/rebar_concrete_slab_model0_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model1_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model2_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model3_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model4_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model5_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model6_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model7_top"
}
],
"type=top,waterlogged=true": [
{
"model": "otemod:block/rebar_concrete_slab_model0_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model1_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model2_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model3_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model4_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model5_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model6_top"
},
{
"model": "otemod:block/rebar_concrete_slab_model7_top"
}
]
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,90 @@
{
"multipart": [
{
"apply": {
"model": "otemod:block/rebar_concrete_wall_post"
},
"when": {
"up": "true"
}
},
{
"apply": {
"model": "otemod:block/rebar_concrete_wall_side",
"uvlock": true,
"y": 90
},
"when": {
"east": "low"
}
},
{
"apply": {
"model": "otemod:block/rebar_concrete_wall_side_tall",
"uvlock": true,
"y": 90
},
"when": {
"east": "tall"
}
},
{
"apply": {
"model": "otemod:block/rebar_concrete_wall_side",
"uvlock": true
},
"when": {
"north": "low"
}
},
{
"apply": {
"model": "otemod:block/rebar_concrete_wall_side_tall",
"uvlock": true
},
"when": {
"north": "tall"
}
},
{
"apply": {
"model": "otemod:block/rebar_concrete_wall_side",
"uvlock": true,
"y": 180
},
"when": {
"south": "low"
}
},
{
"apply": {
"model": "otemod:block/rebar_concrete_wall_side_tall",
"uvlock": true,
"y": 180
},
"when": {
"south": "tall"
}
},
{
"apply": {
"model": "otemod:block/rebar_concrete_wall_side",
"uvlock": true,
"y": 270
},
"when": {
"west": "low"
}
},
{
"apply": {
"model": "otemod:block/rebar_concrete_wall_side_tall",
"uvlock": true,
"y": 270
},
"when": {
"west": "tall"
}
}
]
}

View file

@ -1,3 +0,0 @@
{
"parent": "otemod:block/clinker_brick_wall"
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "otemod:block/engineersdecor/clinker_brick/clinker_brick_wall0"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab_top",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab_top",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab_top",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab_top",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab_top",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab_top",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab_top",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab_top",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/inner_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/outer_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/inner_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/outer_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture1"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/inner_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/outer_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture2"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/inner_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/outer_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture3"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/inner_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/outer_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture4"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/inner_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/outer_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture5"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/inner_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/outer_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture6"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/inner_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7"
}
}

View file

@ -0,0 +1,8 @@
{
"parent": "minecraft:block/outer_stairs",
"textures": {
"bottom": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"side": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7",
"top": "otemod:block/engineersdecor/concrete/rebar_concrete_texture7"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/template_wall_post",
"textures": {
"wall": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/template_wall_side",
"textures": {
"wall": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/template_wall_side_tall",
"textures": {
"wall": "otemod:block/engineersdecor/concrete/rebar_concrete_texture0"
}
}

View file

@ -1,3 +0,0 @@
{
"parent": "otemod:block/slag_brick_wall"
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "otemod:block/engineersdecor/slag_brick/slag_brick_wall0"
}
}

View file

@ -1,3 +1,3 @@
{ {
"parent": "otemod:block/clinker_brick_wall" "parent": "otemod:block/clinker_brick_wall_inventory"
} }

View file

@ -0,0 +1,3 @@
{
"parent": "otemod:block/rebar_concrete_model0"
}

View file

@ -0,0 +1,3 @@
{
"parent": "otemod:block/rebar_concrete_slab_model0_bottom"
}

View file

@ -0,0 +1,3 @@
{
"parent": "otemod:block/rebar_concrete_stairs_model0"
}

View file

@ -0,0 +1,3 @@
{
"parent": "otemod:block/rebar_concrete_wall_inventory"
}

View file

@ -1,3 +1,3 @@
{ {
"parent": "otemod:block/slag_brick_wall" "parent": "otemod:block/slag_brick_wall_inventory"
} }

View file

@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "otemod:rebar_concrete"
}
],
"rolls": 1.0
}
],
"random_sequence": "otemod:blocks/rebar_concrete"
}

View file

@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "otemod:rebar_concrete_slab"
}
],
"rolls": 1.0
}
],
"random_sequence": "otemod:blocks/rebar_concrete_slab"
}

View file

@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "otemod:rebar_concrete_stairs"
}
],
"rolls": 1.0
}
],
"random_sequence": "otemod:blocks/rebar_concrete_stairs"
}

View file

@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "otemod:rebar_concrete_wall"
}
],
"rolls": 1.0
}
],
"random_sequence": "otemod:blocks/rebar_concrete_wall"
}

View file

@ -5,6 +5,7 @@ import dev.zontreck.libzontreck.edlibmc.StandardBlocks;
import dev.zontreck.otemod.OTEMod; import dev.zontreck.otemod.OTEMod;
import dev.zontreck.otemod.implementation.CreativeModeTabs; import dev.zontreck.otemod.implementation.CreativeModeTabs;
import net.minecraft.core.BlockPos; import net.minecraft.core.BlockPos;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.DyeColor; import net.minecraft.world.item.DyeColor;
import net.minecraft.world.item.Item; import net.minecraft.world.item.Item;
@ -46,6 +47,9 @@ public class ModBlocks {
} }
private static boolean neverSpawn(BlockState blockState, BlockGetter blockGetter, BlockPos blockPos, EntityType<?> entityType) {
return false;
}
public static void register(IEventBus bus){ public static void register(IEventBus bus){
BLOCKS.register(bus); BLOCKS.register(bus);
@ -287,4 +291,12 @@ public class ModBlocks {
public static final RegistryObject<Block> SLAG_BRICK_WALL = registerWithItem(BLOCKS.register("slag_brick_wall", ()-> new WallBlock(BlockBehaviour.Properties.copy(Blocks.STONE_BRICK_WALL))), new Item.Properties()); public static final RegistryObject<Block> SLAG_BRICK_WALL = registerWithItem(BLOCKS.register("slag_brick_wall", ()-> new WallBlock(BlockBehaviour.Properties.copy(Blocks.STONE_BRICK_WALL))), new Item.Properties());
public static final RegistryObject<Block> REBAR_CONCRETE_BLOCK = registerWithItem(BLOCKS.register("rebar_concrete", ()-> new Block(BlockBehaviour.Properties.copy(Blocks.STONE).isValidSpawn(ModBlocks::neverSpawn).strength(1f, 2000f))), new Item.Properties());
public static final RegistryObject<Block> REBAR_CONCRETE_SLAB = registerWithItem(BLOCKS.register("rebar_concrete_slab", ()-> new SlabBlock(BlockBehaviour.Properties.copy(Blocks.STONE).strength(1f, 2000f).isValidSpawn(ModBlocks::neverSpawn))), new Item.Properties());
public static final RegistryObject<Block> REBAR_CONCRETE_STAIRS = registerWithItem(BLOCKS.register("rebar_concrete_stairs", ()-> new StairBlock(ModBlocks.REBAR_CONCRETE_BLOCK.get()::defaultBlockState, BlockBehaviour.Properties.copy(Blocks.STONE).strength(1f, 2000f).isValidSpawn(ModBlocks::neverSpawn))), new Item.Properties());
public static final RegistryObject<Block> REBAR_CONCRETE_WALL = registerWithItem(BLOCKS.register("rebar_concrete_wall", ()-> new WallBlock(BlockBehaviour.Properties.copy(Blocks.STONE).strength(1f, 2000f).isValidSpawn(ModBlocks::neverSpawn))), new Item.Properties());
} }

View file

@ -107,6 +107,17 @@ public class ModBlockStatesProvider extends BlockStateProvider {
new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/slag_brick/slag_brick_texture7") new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/slag_brick/slag_brick_texture7")
}; };
ResourceLocation[] rebarConcrete = new ResourceLocation[] {
new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/concrete/rebar_concrete_texture0"),
new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/concrete/rebar_concrete_texture1"),
new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/concrete/rebar_concrete_texture2"),
new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/concrete/rebar_concrete_texture3"),
new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/concrete/rebar_concrete_texture4"),
new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/concrete/rebar_concrete_texture5"),
new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/concrete/rebar_concrete_texture6"),
new ResourceLocation(OTEMod.MOD_ID, "engineersdecor/concrete/rebar_concrete_texture7")
};
variantCubeBlock(ModBlocks.CLINKER_BRICK_BLOCK, clinkerBlock); variantCubeBlock(ModBlocks.CLINKER_BRICK_BLOCK, clinkerBlock);
customSlabBlock(ModBlocks.CLINKER_BRICK_SLAB, clinkerBlock); customSlabBlock(ModBlocks.CLINKER_BRICK_SLAB, clinkerBlock);
customStairBlock(ModBlocks.CLINKER_BRICK_STAIRS, clinkerBlock); customStairBlock(ModBlocks.CLINKER_BRICK_STAIRS, clinkerBlock);
@ -120,13 +131,19 @@ public class ModBlockStatesProvider extends BlockStateProvider {
customSlabBlock(ModBlocks.SLAG_BRICK_SLAB, slagBricks); customSlabBlock(ModBlocks.SLAG_BRICK_SLAB, slagBricks);
customStairBlock(ModBlocks.SLAG_BRICK_STAIRS, slagBricks); customStairBlock(ModBlocks.SLAG_BRICK_STAIRS, slagBricks);
wallBlock(ModBlocks.SLAG_BRICK_WALL, new ResourceLocation(OTEMod.MOD_ID, "block/engineersdecor/slag_brick/slag_brick_wall0")); wallBlock(ModBlocks.SLAG_BRICK_WALL, new ResourceLocation(OTEMod.MOD_ID, "block/engineersdecor/slag_brick/slag_brick_wall0"));
variantCubeBlock(ModBlocks.REBAR_CONCRETE_BLOCK, rebarConcrete);
customSlabBlock(ModBlocks.REBAR_CONCRETE_SLAB, rebarConcrete);
customStairBlock(ModBlocks.REBAR_CONCRETE_STAIRS, rebarConcrete);
wallBlock(ModBlocks.REBAR_CONCRETE_WALL, new ResourceLocation(OTEMod.MOD_ID, "block/" + rebarConcrete[0].getPath()));
} }
private void wallBlock(RegistryObject<Block> blk, ResourceLocation texture) private void wallBlock(RegistryObject<Block> blk, ResourceLocation texture)
{ {
wallBlock((WallBlock) blk.get(), texture); wallBlock((WallBlock) blk.get(), texture);
var wallInv = models().wallInventory(name(blk.get()) + "_inventory", texture);
simpleBlockItem(blk.get(), models().withExistingParent(name(blk.get()), blk.getId())); simpleBlockItem(blk.get(), wallInv);
} }
private void blockWithItem(RegistryObject<Block> blockRegistryObject) { private void blockWithItem(RegistryObject<Block> blockRegistryObject) {

View file

@ -128,6 +128,11 @@ public class ModBlockLootTablesProvider extends BlockLootSubProvider
dropSelf(ModBlocks.SLAG_BRICK_WALL.get()); dropSelf(ModBlocks.SLAG_BRICK_WALL.get());
dropSelf(ModBlocks.SLAG_BRICK_STAIRS.get()); dropSelf(ModBlocks.SLAG_BRICK_STAIRS.get());
dropSelf(ModBlocks.REBAR_CONCRETE_BLOCK.get());
dropSelf(ModBlocks.REBAR_CONCRETE_SLAB.get());
dropSelf(ModBlocks.REBAR_CONCRETE_STAIRS.get());
dropSelf(ModBlocks.REBAR_CONCRETE_WALL.get());
} }

View file

@ -150,6 +150,10 @@
"block.otemod.slag_brick_stairs.help": "Gray-brown brick stairs.", "block.otemod.slag_brick_stairs.help": "Gray-brown brick stairs.",
"block.otemod.slag_brick_wall": "Slag Brick Wall", "block.otemod.slag_brick_wall": "Slag Brick Wall",
"block.otemod.slag_brick_wall.help": "Simplistic Slag Brick Wall.", "block.otemod.slag_brick_wall.help": "Simplistic Slag Brick Wall.",
"block.otemod.rebar_concrete": "Rebar Concrete",
"block.otemod.rebar_concrete_slab": "Rebar Concrete Slab",
"block.otemod.rebar_concrete_stairs": "Rebar Concrete Stairs",
"block.otemod.rebar_concrete_wall": "Rebar Concrete Wall",

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

View file

@ -4,6 +4,7 @@
"otemod:clinker_brick_slab", "otemod:clinker_brick_slab",
"otemod:clinker_brick_stained_slab", "otemod:clinker_brick_stained_slab",
"otemod:slag_brick_slab", "otemod:slag_brick_slab",
"otemod:rebar_concrete_slab",
"otemod:pool_tile_slab", "otemod:pool_tile_slab",
"otemod:blue_pool_tile_slab", "otemod:blue_pool_tile_slab",

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