Improve feature generation

This commit is contained in:
Martin Prokoph
2025-01-11 14:02:07 +01:00
parent f00ac39b79
commit 663e85e9a8
19 changed files with 316 additions and 164 deletions

View File

@@ -73,14 +73,11 @@
"rocks.midnightconfig.enablePolymerMode": "Aktiviere Polymer-Modus",
"rocks.midnightconfig.enablePolymerMode.tooltip": "Erlaubt der Mod, komplett serverseitig zu funktionieren, wenn Polymer und FactoryTools installiert sind",
"rocks.midnightconfig.geyserLevitation": "Geysir Schwebeeffekt",
"rocks.midnightconfig.misc": "§aMiscellaneous Spawn Count",
"rocks.midnightconfig.needs_restart": "§cStarte das Spiel neu, nachdem du Änderungen vorgenommen hast!",
"rocks.midnightconfig.needs_restart1": "§cStarte das Spiel neu, nachdem du Änderungen vorgenommen hast!",
"rocks.midnightconfig.needs_restart2": "§cStarte das Spiel neu, nachdem du Änderungen vorgenommen hast!",
"rocks.midnightconfig.netherGeyserDamage": "Nether Geysir Schaden",
"rocks.midnightconfig.polymerViewDistance": "Polymer-Sichtweite",
"rocks.midnightconfig.rocks": "§aRock Spawn Count",
"rocks.midnightconfig.sticks": "§aStick Spawn Count",
"rocks.midnightconfig.title": "This Rocks! Config",
"rocks.midnightconfig.underwaterSeashell": "Unterwasser-Muschel",
"rocks.midnightconfig.underwaterStarfish": "Unterwasser-Seestern"

View File

@@ -73,14 +73,11 @@
"rocks.midnightconfig.enablePolymerMode": "Enable Polymer Mode",
"rocks.midnightconfig.enablePolymerMode.tooltip": "Allows the mod to work fully server-sided when used in combination with Polymer and FactoryTools",
"rocks.midnightconfig.geyserLevitation": "Geyser Levitation",
"rocks.midnightconfig.misc": "§aMiscellaneous Spawn Count",
"rocks.midnightconfig.needs_restart": "§cRestart the game after changing options here!",
"rocks.midnightconfig.needs_restart1": "§cRestart the game after changing options here!",
"rocks.midnightconfig.needs_restart2": "§cRestart the game after changing options here!",
"rocks.midnightconfig.netherGeyserDamage": "Nether Geyser Damage",
"rocks.midnightconfig.polymerViewDistance": "Polymer View Distance",
"rocks.midnightconfig.rocks": "§aRock Spawn Count",
"rocks.midnightconfig.sticks": "§aStick Spawn Count",
"rocks.midnightconfig.title": "This Rocks! Config",
"rocks.midnightconfig.underwaterSeashell": "Underwater Seashell",
"rocks.midnightconfig.underwaterStarfish": "Underwater Starfish"

View File

@@ -0,0 +1,40 @@
{
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:weighted_state_provider",
"entries": [
{
"data": {
"Name": "rocks:pale_oak_stick",
"Properties": {
"variation": "small",
"waterlogged": "false"
}
},
"weight": 7
},
{
"data": {
"Name": "rocks:pale_oak_stick",
"Properties": {
"variation": "medium",
"waterlogged": "false"
}
},
"weight": 5
},
{
"data": {
"Name": "rocks:pale_oak_stick",
"Properties": {
"variation": "large",
"waterlogged": "false"
}
},
"weight": 1
}
]
}
}
}

View File

@@ -0,0 +1,16 @@
{
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:weighted_state_provider",
"entries": [
{
"data": {
"Name": "rocks:pinecone"
},
"weight": 1
}
]
}
}
}

View File

@@ -33,12 +33,6 @@
}
},
"weight": 1
},
{
"data": {
"Name": "rocks:pinecone"
},
"weight": 1
}
]
}

View File

@@ -0,0 +1,86 @@
{
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:weighted_state_provider",
"entries": [
{
"data": {
"Name": "rocks:pale_oak_stick",
"Properties": {
"variation": "small",
"waterlogged": "false"
}
},
"weight": 7
},
{
"data": {
"Name": "rocks:pale_oak_stick",
"Properties": {
"variation": "medium",
"waterlogged": "false"
}
},
"weight": 5
},
{
"data": {
"Name": "rocks:pale_oak_stick",
"Properties": {
"variation": "large",
"waterlogged": "false"
}
},
"weight": 1
}
]
}
}
},
"placement": [
{
"type": "minecraft:count",
"count": 20
},
{
"type": "minecraft:rarity_filter",
"chance": 1
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
},
{
"type": "minecraft:matching_blocks",
"blocks": [
"minecraft:grass_block",
"minecraft:pale_moss_block"
],
"offset": [
0,
-1,
0
]
}
]
}
}
]
}

View File

@@ -0,0 +1,64 @@
{
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:weighted_state_provider",
"entries": [
{
"data": {
"Name": "rocks:pinecone"
},
"weight": 1
}
]
}
}
},
"placement": [
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:rarity_filter",
"chance": 5
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE_WG"
},
{
"type": "minecraft:biome"
},
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
},
{
"type": "minecraft:matching_blocks",
"blocks": [
"minecraft:grass_block",
"minecraft:podzol",
"minecraft:cobblestone",
"minecraft:mossy_cobblestone"
],
"offset": [
0,
-1,
0
]
}
]
}
}
]
}

View File

@@ -34,12 +34,6 @@
}
},
"weight": 1
},
{
"data": {
"Name": "rocks:pinecone"
},
"weight": 1
}
]
}