Skip to content

Commit

Permalink
Worldgen stuff Im going to bed bye
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticKoko committed Dec 18, 2024
1 parent 3d96031 commit ba6618a
Show file tree
Hide file tree
Showing 20 changed files with 138 additions and 206 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_fluids",
"fluids": "minecraft:water"
"type": "minecraft:matching_blocks",
"blocks": "minecraft:water"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_fluids",
"fluids": "minecraft:water"
"type": "minecraft:matching_blocks",
"blocks": "minecraft:water"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_fluids",
"fluids": "minecraft:water"
"type": "minecraft:matching_blocks",
"blocks": "minecraft:water"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_fluids",
"fluids": "minecraft:water"
"type": "minecraft:matching_blocks",
"blocks": "minecraft:water"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_fluids",
"fluids": "minecraft:water"
"type": "minecraft:matching_blocks",
"blocks": "minecraft:water"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_fluids",
"fluids": "minecraft:water"
"type": "minecraft:matching_blocks",
"blocks": "minecraft:water"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,24 @@
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "OCEAN_FLOOR"
"type": "minecraft:height_range",
"height": {
"type": "minecraft:uniform",
"max_inclusive": {
"absolute": 256
},
"min_inclusive": {
"above_bottom": 0
}
}
},
{
"type": "minecraft:count",
"count": 4
"type": "minecraft:surface_relative_threshold_filter",
"heightmap": "OCEAN_FLOOR_WG"
},
{
"type": "minecraft:biome"
"type": "minecraft:count",
"count": 1
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@
"placement": [
{
"type": "minecraft:noise_based_count",
"noise_factor": 400.0,
"noise_factor": 200.0,
"noise_offset": 0.0,
"noise_to_count_ratio": 20
"noise_to_count_ratio": 40
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "OCEAN_FLOOR_WG"
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
{
"type": "minecraft:rarity_filter",
"chance": 150
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:noise_based_count",
"noise_factor": 200.0,
"noise_factor": 100.0,
"noise_offset": 0.0,
"noise_to_count_ratio": 5
},
Expand All @@ -30,9 +30,6 @@
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:biome"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider
import net.minecraft.block.BlockState
import net.minecraft.block.Blocks
import net.minecraft.block.HorizontalFacingBlock
import net.minecraft.fluid.Fluids
import net.minecraft.registry.RegistryWrapper
import net.minecraft.registry.entry.RegistryEntryList
import net.minecraft.state.property.Properties
Expand Down Expand Up @@ -38,7 +37,7 @@ class ConfiguredFeatureProvider(output: FabricDataOutput, registriesFuture: Comp
SimpleBlockFeatureConfig(
BlockStateProvider.of(HybridAquaticBlocks.ANEMONE.defaultState)
),
BlockPredicate.matchingFluids(Fluids.WATER)
BlockPredicate.matchingBlocks(Blocks.WATER)
)
)
)
Expand All @@ -54,7 +53,7 @@ class ConfiguredFeatureProvider(output: FabricDataOutput, registriesFuture: Comp
SimpleBlockFeatureConfig(
BlockStateProvider.of(HybridAquaticBlocks.BROWN_SEAWEED.defaultState)
),
BlockPredicate.matchingFluids(Fluids.WATER)
BlockPredicate.matchingBlocks(Blocks.WATER)
)
)
)
Expand All @@ -70,7 +69,7 @@ class ConfiguredFeatureProvider(output: FabricDataOutput, registriesFuture: Comp
SimpleBlockFeatureConfig(
BlockStateProvider.of(HybridAquaticBlocks.RED_SEAWEED.defaultState)
),
BlockPredicate.matchingFluids(Fluids.WATER)
BlockPredicate.matchingBlocks(Blocks.WATER)
)
)
)
Expand All @@ -86,7 +85,7 @@ class ConfiguredFeatureProvider(output: FabricDataOutput, registriesFuture: Comp
SimpleBlockFeatureConfig(
BlockStateProvider.of(HybridAquaticBlocks.GREEN_SEAWEED.defaultState)
),
BlockPredicate.matchingFluids(Fluids.WATER)
BlockPredicate.matchingBlocks(Blocks.WATER)
)
)
)
Expand All @@ -104,7 +103,7 @@ class ConfiguredFeatureProvider(output: FabricDataOutput, registriesFuture: Comp
SimpleBlockFeatureConfig(
BlockStateProvider.of(HybridAquaticBlocks.TUBE_SPONGE.defaultState.with(Properties.WATERLOGGED, true))
),
BlockPredicate.matchingFluids(Fluids.WATER)
BlockPredicate.matchingBlocks(Blocks.WATER)
)
)
)
Expand All @@ -126,7 +125,7 @@ class ConfiguredFeatureProvider(output: FabricDataOutput, registriesFuture: Comp
.build()
)
),
BlockPredicate.matchingFluids(Fluids.WATER)
BlockPredicate.matchingBlocks(Blocks.WATER)
)
)
)
Expand Down
Loading

0 comments on commit ba6618a

Please sign in to comment.