halite so good I made halite2

This commit is contained in:
Pyritie 2025-12-15 16:52:06 +00:00
parent 748f058578
commit 7dc6ab64e4
4 changed files with 24 additions and 55 deletions

View file

@ -2,18 +2,37 @@
"variants": { "variants": {
"": [ "": [
{ {
"model": "tfg:block/rock/halite" "model": "tfg:block/rock/halite",
"weight": 6
}, },
{ {
"model": "tfg:block/rock/halite", "model": "tfg:block/rock/halite",
"weight": 6,
"y": 90 "y": 90
}, },
{ {
"model": "tfg:block/rock/halite", "model": "tfg:block/rock/halite",
"weight": 6,
"y": 180 "y": 180
}, },
{ {
"model": "tfg:block/rock/halite", "model": "tfg:block/rock/halite",
"weight": 6,
"y": 270
},
{
"model": "tfg:block/rock/halite2"
},
{
"model": "tfg:block/rock/halite2",
"y": 90
},
{
"model": "tfg:block/rock/halite2",
"y": 180
},
{
"model": "tfg:block/rock/halite2",
"y": 270 "y": 270
} }
] ]

View file

@ -1,21 +0,0 @@
{
"variants": {
"": [
{
"model": "tfg:block/rock/halite2"
},
{
"model": "tfg:block/rock/halite2",
"y": 90
},
{
"model": "tfg:block/rock/halite2",
"y": 180
},
{
"model": "tfg:block/rock/halite2",
"y": 270
}
]
}
}

View file

@ -417,30 +417,10 @@
} }
}, },
"then_run": { "then_run": {
"type": "minecraft:sequence", "type": "minecraft:block",
"sequence": [ "result_state": {
{ "Name": "tfg:rock/halite"
"type": "minecraft:condition", }
"if_true": {
"type": "minecraft:noise_threshold",
"noise": "tfg:venus_salt",
"min_threshold": 0.1,
"max_threshold": 0.3
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "tfg:rock/halite2"
}
}
},
{
"type": "minecraft:block",
"result_state": {
"Name": "tfg:rock/halite"
}
}
]
} }
} }
] ]

View file

@ -56,15 +56,6 @@ function registerTFGWorldGenVenusDecoBlocks(event) {
.tagBlock('minecraft:mineable/pickaxe') .tagBlock('minecraft:mineable/pickaxe')
.fullBlock(true) .fullBlock(true)
.opaque(true) .opaque(true)
event.create('tfg:rock/halite2')
.mapColor('snow')
.soundType('deepslate')
.hardness(0.8)
.resistance(0.8)
.requiresTool(true)
.tagBlock('minecraft:mineable/pickaxe')
.fullBlock(true)
.opaque(true)
//Stromatolite //Stromatolite
event.create('tfg:rock/raw/stromatolite', 'tfc:raw_rock') event.create('tfg:rock/raw/stromatolite', 'tfc:raw_rock')