spice stuff!

This commit is contained in:
Pyritie 2025-08-26 00:00:43 +01:00
parent d16b4288af
commit 5bec53e7cd
10 changed files with 157 additions and 12 deletions

View file

@ -0,0 +1,21 @@
{
"variants": {
"": [
{
"model": "species:block/red_suspicious_sand_0"
},
{
"model": "species:block/red_suspicious_sand_1"
},
{
"model": "species:block/red_suspicious_sand_2"
},
{
"model": "species:block/red_suspicious_sand_3"
},
{
"model": "tfg:block/sand_spice"
}
]
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "tfg:block/sand_spice"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 680 B

Before After
Before After

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:red_sand"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -35,7 +35,9 @@
[],
[],
"#tfg:mars_veins",
[],
[
"tfg:mars/terrain/spice_disc"
],
[],
[

View file

@ -0,0 +1,74 @@
{
"type": "tfc:if_then",
"config": {
"if": {
"feature": {
"type": "tfc:soil_disc",
"config": {
"min_radius": 2,
"max_radius": 3,
"height": 4,
"states": [
{
"replace": "minecraft:red_sand",
"with": "tfg:spice"
},
{
"replace": "ad_astra:mars_sand",
"with": "tfg:spice"
}
]
}
},
"placement": []
},
"then": {
"feature": {
"type": "minecraft:random_patch",
"config": {
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "tfg:spice"
}
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:any_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:red_sand"
},
{
"type": "minecraft:matching_blocks",
"blocks": "ad_astra:mars_sand"
}
]
}
}
]
},
"tries": 32,
"xz_spread": 16,
"y_spread": 2
}
},
"placement": [
{
"type": "minecraft:random_offset",
"xz_spread": 0,
"y_spread": -1
}
]
}
}
}

View file

@ -0,0 +1,19 @@
{
"feature": "tfg:mars/terrain/spice_disc",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 50
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
}
]
}

View file

@ -226,7 +226,10 @@ const registerAdAstraBlockTags = (event) => {
event.add('ad_astra:mars_stone_replaceables', 'tfc:rock/hardened/shale')
event.add('ad_astra:mars_stone_replaceables', 'ad_astra:mars_stone')
event.add('ad_astra:mars_stone_replaceables', 'tfg:rock/hardened_mars_stone')
event.add('ad_astra:mars_stone_replaceables', 'minecraft:red_sandstone')
event.add('ad_astra:mars_stone_replaceables', 'ad_astra:venus_stone')
event.add('ad_astra:mars_stone_replaceables', 'ad_astra:venus_sandstone')
event.add('ad_astra:mars_stone_replaceables', 'create:ochrum')
event.add('ad_astra:mars_stone_replaceables', 'tfg:rock/hardened_venus_stone')
event.add('ad_astra:mars_stone_replaceables', 'gtceu:red_granite')
event.add('ad_astra:mars_stone_replaceables', 'tfg:rock/hardened_red_granite')

View file

@ -576,11 +576,11 @@ const registerGTCEuMachines = (event) => {
.appearanceBlock(() => Block.getBlock('gtceu:nonconducting_casing'))
.pattern(definition => FactoryBlockPattern.start()
.aisle(' ' ,'A A', 'AAAAA', 'ACCCA', 'AAEAA', ' AAA ')
.aisle(' ' ,' ', 'BBBBB', 'B B', 'BB BB', ' BFB ')
.aisle(' G ' ,' ', 'ADDDA', 'D D', 'A A', ' BFB ')
.aisle(' G ' ,' ', 'BBBBB', 'B B', 'BB BB', ' BFB ')
.aisle(' GGG ' ,' ', 'ADDDA', 'D D', 'A A', ' BFB ')
.aisle(' G ' ,' ', 'ADDDA', 'D D', 'A A', ' BFB ')
.aisle(' ' ,' ', 'BBBBB', 'B B', 'BB BB', ' BFB ')
.aisle('GGGGG' ,' ', 'ADDDA', 'D D', 'A A', ' BFB ')
.aisle(' GGG ' ,' ', 'ADDDA', 'D D', 'A A', ' BFB ')
.aisle(' G ' ,' ', 'BBBBB', 'B B', 'BB BB', ' BFB ')
.aisle(' ' ,'A A', 'AAAAA', 'ACXCA', 'AACAA', ' AAA ')
.where('X', Predicates.controller(Predicates.blocks(definition.get())))
.where('A', Predicates.blocks('gtceu:secure_maceration_casing'))

View file

@ -336,16 +336,16 @@ function registerTFGSpaceBlocks(event) {
event.create('tfg:spice', 'tfg:particle_emitter')
.textureAll('tfg:block/sand_spice')
.soundType('sand')
.hardness(1)
.resistance(1)
.unbreakable()
.lightLevel(0.1)
.hardness(2)
.resistance(6)
.mapColor('color_white')
.particleOffset(0, 2, 0)
.particleVelocity(0.05, 0, 0.05)
.particleOffset(0.3, 1.5, 0.3)
.particleVelocity(0, 0.05, 0)
.particle('electric_spark')
.particleCount(3)
.particleCount(2)
.particleForced(false)
.fullBlock(true)
.opaque(true)
event.create('tfg:grass/amber_clay_mycelium')
.property(BlockProperties.SNOWY)