Skip to content

Commit

Permalink
feat: jade worldgen.
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <[email protected]>
  • Loading branch information
qyl27 committed Jul 18, 2023
1 parent e9465c4 commit cd2dcb6
Show file tree
Hide file tree
Showing 43 changed files with 673 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ protected void add(Feature f) {

public record Feature(ResourceKey<ConfiguredFeature<?, ?>> feature, GenerationStep.Decoration step,
TagKey<Biome> biomesTag, ResourceKey<Biome>... biomes) {
@SafeVarargs
public Feature {
}

public boolean hasTag() {
return biomesTag != null;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// 1.20.1 2023-06-22T17:43:32.3606874 Tags for minecraft:worldgen/biome mod id sinofoundation
// 1.20.1 2023-07-18T15:00:09.2989573 Tags for minecraft:worldgen/biome mod id sinofoundation
354c6985c3408e3210c1a16966e86384dfa10a06 data/sinofoundation/tags/worldgen/biome/black_jade_generation.json
59f559729d963a3fa2201087858135f47f41856a data/sinofoundation/tags/worldgen/biome/green_jade_generation.json
1c501761cc0f7a9e42494a0999645108e179d540 data/sinofoundation/tags/worldgen/biome/red_jade_generation.json
73fd40022276bb276c3e9df77274d606f06b6083 data/sinofoundation/tags/worldgen/biome/spawn_dragonliver_melon.json
8e2b4b8f30b3e5b39943a1ad3b7a6b6c488dc4dc data/sinofoundation/tags/worldgen/biome/spawn_rehmannia.json
34999a6bcc7e7e4eccf45f2579768f8eaa38b638 data/sinofoundation/tags/worldgen/biome/spawn_rice.json
ba658fa972b1dc52b5824e33f3a167d301f7aa74 data/sinofoundation/tags/worldgen/biome/white_jade_generation.json
1c5ea78745d042ad93e09fcc0a1ea7a544704a26 data/sinofoundation/tags/worldgen/biome/yellow_jade_generation.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,44 @@
// 1.20.1 2023-07-07T10:54:02.5527277 sinofoundation datapack and biome modifier
// 1.20.1 2023-07-18T15:00:09.303958 sinofoundation datapack and biome modifier
deb77128d5e0448e61c0158d8d152f087c54bc65 data/sinofoundation/damage_type/sophora_door.json
901f50ad303bfc698fb99d3731637d44351c9d92 data/sinofoundation/forge/biome_modifier/black_jade.json
f00442513fa3633292c890e4eadc7fab43526e05 data/sinofoundation/forge/biome_modifier/deepslate_black_jade.json
1bb1301530fd1f991095e3e36d42771a7a4eb67c data/sinofoundation/forge/biome_modifier/deepslate_green_jade.json
1358299327755c5dd3b4105dc291ff62653105b3 data/sinofoundation/forge/biome_modifier/deepslate_red_jade.json
bea9a3fd51da0ca2f11d75fd2eeb8a2893dd4b99 data/sinofoundation/forge/biome_modifier/deepslate_sulphur.json
75758843df64da6b7064fb80dfea3f07ed8961a4 data/sinofoundation/forge/biome_modifier/deepslate_white_jade.json
c6cb2f5650bb5a1f4388217e924c0149316a87f6 data/sinofoundation/forge/biome_modifier/deepslate_yellow_jade.json
b7ec7c0240feb995d7674105e8eee214b6afaaac data/sinofoundation/forge/biome_modifier/green_jade.json
aeb3e4f3fa7a4b46edd00f6485b7c4bcf90be71c data/sinofoundation/forge/biome_modifier/nether_sulphur.json
a44ab9940052428be7696fcbe9974c06b0f40bb5 data/sinofoundation/forge/biome_modifier/niter.json
cd84dbcc7f771ecc72526eb6924939fc5238d52d data/sinofoundation/forge/biome_modifier/red_jade.json
44de99975e193bb8b0d8b36ca58499b34c53a29d data/sinofoundation/forge/biome_modifier/sulphur.json
e44c00bb56fd99e8e7a51eea09a30514b8bf3ac3 data/sinofoundation/forge/biome_modifier/white_jade.json
bbbf1829793ed9d1a770a8326e1a3b471dfa5ede data/sinofoundation/forge/biome_modifier/yellow_jade.json
3ff0474e599345e1954b1c2591a8b69b539e7e6b data/sinofoundation/worldgen/configured_feature/black_jade.json
522278b6f7ea48b6563a99c69f5aa270d648ad52 data/sinofoundation/worldgen/configured_feature/deepslate_black_jade.json
8e8a277c516773fe0062487b14976176e3ab94f3 data/sinofoundation/worldgen/configured_feature/deepslate_green_jade.json
01ee56471c7cd30d2424156d650c86ec5aed9db7 data/sinofoundation/worldgen/configured_feature/deepslate_red_jade.json
f4da4506ef0dc6133b197b172e7d4a77f7d8e143 data/sinofoundation/worldgen/configured_feature/deepslate_sulphur.json
efdd1faffa33bf754e7315b9966134af586cd327 data/sinofoundation/worldgen/configured_feature/deepslate_white_jade.json
eaed0a4eadf2061a2e7ba1c759cab38ee9e9b3bb data/sinofoundation/worldgen/configured_feature/deepslate_yellow_jade.json
96e17d9c2d44c88eff04db7dc2c596e5e17ff876 data/sinofoundation/worldgen/configured_feature/green_jade.json
53b88ab565ed1def750afc1e9012f7c25466313d data/sinofoundation/worldgen/configured_feature/nether_sulphur.json
49c3dd3fe67ed861ced17fb1b7fa7a80f406a419 data/sinofoundation/worldgen/configured_feature/niter.json
fdeaf46e19cfd03341c971e5f26b0f3d681cda42 data/sinofoundation/worldgen/configured_feature/red_jade.json
188841025eaabf30f0b9347823d8017e7b2a6314 data/sinofoundation/worldgen/configured_feature/sulphur.json
6f4ec13b5305bb2a16fc695c98e034d428842033 data/sinofoundation/worldgen/configured_feature/white_jade.json
d38b6ffe8b03caa4cd4bb4e144d9de1bcd4fd809 data/sinofoundation/worldgen/configured_feature/yellow_jade.json
ec59119586f7b0332a8110d00581c5fd64ecaf6c data/sinofoundation/worldgen/placed_feature/black_jade.json
f7ddfd27b343bb8f71ff632f00a155eab1dbc682 data/sinofoundation/worldgen/placed_feature/deepslate_black_jade.json
ae2c63b3d75030e8ec741d64c5cb4783d27fc3d9 data/sinofoundation/worldgen/placed_feature/deepslate_green_jade.json
21d9b1850d7d4c4b98d34a3a36bcc4f4fde90db2 data/sinofoundation/worldgen/placed_feature/deepslate_red_jade.json
8083ff57c6140e31d8d898a9d778beee7d77c3a3 data/sinofoundation/worldgen/placed_feature/deepslate_sulphur.json
61eacb9894954c7295bac913b690ca30e31ab9ce data/sinofoundation/worldgen/placed_feature/deepslate_white_jade.json
2d6afd6d3ffbb9831e221d1b3b1a7d7883fdd104 data/sinofoundation/worldgen/placed_feature/deepslate_yellow_jade.json
e55a78d33a1bb490f2f75f1ad1c3e5cd1d7ac518 data/sinofoundation/worldgen/placed_feature/green_jade.json
86378565740c3b6d67502c509920962726517620 data/sinofoundation/worldgen/placed_feature/nether_sulphur.json
ff1f89d2a254dc1f6b2d1f99ab8f5c947fd2f317 data/sinofoundation/worldgen/placed_feature/niter.json
21174700dea0f1ca98ee478db5f2a31fe17d3987 data/sinofoundation/worldgen/placed_feature/red_jade.json
bea2ea35a8c9e4aee0edd67b78dec4a52d5ea309 data/sinofoundation/worldgen/placed_feature/sulphur.json
e5d90ae277726e1e2f074e266db5491e9a0a113d data/sinofoundation/worldgen/placed_feature/white_jade.json
2e828ec39eaa0f5f11856668dd74f9067b908bbf data/sinofoundation/worldgen/placed_feature/yellow_jade.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:black_jade_generation",
"features": "sinofoundation:black_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:black_jade_generation",
"features": "sinofoundation:deepslate_black_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:green_jade_generation",
"features": "sinofoundation:deepslate_green_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:red_jade_generation",
"features": "sinofoundation:deepslate_red_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:white_jade_generation",
"features": "sinofoundation:deepslate_white_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:yellow_jade_generation",
"features": "sinofoundation:deepslate_yellow_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:green_jade_generation",
"features": "sinofoundation:green_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:red_jade_generation",
"features": "sinofoundation:red_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:white_jade_generation",
"features": "sinofoundation:white_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "forge:add_features",
"biomes": "#sinofoundation:yellow_jade_generation",
"features": "sinofoundation:yellow_jade",
"step": "underground_ores"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"#minecraft:is_mountain",
"#minecraft:is_hill"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"values": [
"#minecraft:is_ocean",
"#minecraft:is_deep_ocean",
"minecraft:swamp",
"minecraft:mangrove_swamp"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"#minecraft:is_badlands",
"minecraft:mushroom_fields"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"values": [
"#minecraft:is_forest",
"minecraft:plains",
"minecraft:snowy_plains",
"minecraft:sunflower_plains"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"#minecraft:is_savanna",
"minecraft:desert"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:black_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:deepslate_black_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:deepslate_green_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:deepslate_red_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:deepslate_white_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:deepslate_yellow_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:green_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:red_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:white_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 3,
"targets": [
{
"state": {
"Name": "sinofoundation:yellow_jade_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
}
]
}
}
Loading

0 comments on commit cd2dcb6

Please sign in to comment.