Skip to content

Commit 2a76053

Browse files
committed
- Added Worldgen capability
- Added Pine Litter generation to Taiga biome - Made Toasted Pine Nut poisonous to Parrots
1 parent 54c45a3 commit 2a76053

File tree

17 files changed

+404
-13
lines changed

17 files changed

+404
-13
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// 1.21.1 2025-10-10T20:56:53.9496643 Registries
2+
711f3684b5125ecbf7aedc0cd8de7091f662017c data/floraexpansion/neoforge/biome_modifier/add_pine_litter.json
3+
8c2b5b38fe4b8b0816964c84c25f776bf3c7fab0 data/floraexpansion/worldgen/configured_feature/pine_litter.json
4+
808300495952012cfdf78e7fcdf623763288073c data/floraexpansion/worldgen/placed_feature/pine_litter_placed.json
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
// 1.21.1 2025-10-10T18:59:35.380136 Tags for minecraft:item mod id floraexpansion
1+
// 1.21.1 2025-10-10T20:51:26.7159946 Tags for minecraft:item mod id floraexpansion
22
b1f6018b539de1406095ca4f0c5d813762a0d7d5 data/minecraft/tags/item/chicken_food.json
33
b1f6018b539de1406095ca4f0c5d813762a0d7d5 data/minecraft/tags/item/parrot_food.json
4+
c9aadd8aa861dc18394a6c048766e319d1449882 data/minecraft/tags/item/parrot_poisonous_food.json
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
// 1.21.1 2025-10-10T19:51:54.1813427 Recipes
1+
// 1.21.1 2025-10-10T21:00:15.5982595 Recipes
22
d36b7482d644f2d192c669ca386ec459f9aa171f data/floraexpansion/advancement/recipes/food/toasted_pine_nuts_from_campfire_cooking.json
33
8af93f0f6731114fb9467d1ccc71945c3dee693d data/floraexpansion/advancement/recipes/food/toasted_pine_nuts_from_smelting.json
44
3f26d4040f28986817eaa78a7cd37fc4e44c4bec data/floraexpansion/advancement/recipes/food/toasted_pine_nuts_from_smoking.json
55
54ddccae971fc1cb31fb6d0cc471efbb76533cc2 data/floraexpansion/advancement/recipes/misc/pine_cone.json
66
cb401e9f5aa85a92f8c29cbf3c36dba87184717f data/floraexpansion/advancement/recipes/misc/pine_litter.json
77
67833b0e977709de2e283a3002ec30aef3a44958 data/floraexpansion/advancement/recipes/misc/pine_nuts.json
8-
a407f9d3b71c7b245be269ff29f1aca7d9fb2a6f data/floraexpansion/recipe/pine_cone.json
9-
b316c4be3c2b3a8b5d8e80371d2bd695b290059c data/floraexpansion/recipe/pine_litter.json
10-
ab49a162cb8d4709c392fcef73ea732dff75f425 data/floraexpansion/recipe/pine_nuts.json
8+
c36dd48e353651460e6c31804127f9a6195cd46f data/floraexpansion/recipe/pine_cone.json
9+
2c62a1caead3b0282bb323a3954fa1f961d39e51 data/floraexpansion/recipe/pine_litter.json
10+
b89fb3ecc04b276a698181304e7fe7106147f5c1 data/floraexpansion/recipe/pine_nuts.json
1111
418314e152b8a80893e8863687483d347fc2df2e data/floraexpansion/recipe/toasted_pine_nuts_from_campfire_cooking.json
1212
1ccd179d4855270b234a4d3531c596ebae283790 data/floraexpansion/recipe/toasted_pine_nuts_from_smelting.json
1313
181653fb0fdcce7d36a7eb6eb66bcb3c20ca3494 data/floraexpansion/recipe/toasted_pine_nuts_from_smoking.json
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "neoforge:add_features",
3+
"biomes": "#minecraft:is_taiga",
4+
"features": "floraexpansion:pine_litter_placed",
5+
"step": "vegetal_decoration"
6+
}

src/generated/resources/data/floraexpansion/recipe/pine_cone.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88
],
99
"result": {
10-
"count": 2,
10+
"count": 1,
1111
"id": "floraexpansion:pine_cone"
1212
}
1313
}

src/generated/resources/data/floraexpansion/recipe/pine_litter.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"type": "minecraft:crafting_shapeless",
33
"category": "misc",
44
"ingredients": [
5-
{
6-
"item": "floraexpansion:pine_cone"
7-
},
85
{
96
"item": "floraexpansion:pine_cone"
107
},

src/generated/resources/data/floraexpansion/recipe/pine_nuts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88
],
99
"result": {
10-
"count": 4,
10+
"count": 2,
1111
"id": "floraexpansion:pine_nuts"
1212
}
1313
}
Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
{
2+
"type": "minecraft:random_patch",
3+
"config": {
4+
"feature": {
5+
"feature": {
6+
"type": "minecraft:simple_block",
7+
"config": {
8+
"to_place": {
9+
"type": "minecraft:weighted_state_provider",
10+
"entries": [
11+
{
12+
"data": {
13+
"Name": "floraexpansion:pine_litter",
14+
"Properties": {
15+
"facing": "north",
16+
"flower_amount": "1"
17+
}
18+
},
19+
"weight": 1
20+
},
21+
{
22+
"data": {
23+
"Name": "floraexpansion:pine_litter",
24+
"Properties": {
25+
"facing": "north",
26+
"flower_amount": "2"
27+
}
28+
},
29+
"weight": 1
30+
},
31+
{
32+
"data": {
33+
"Name": "floraexpansion:pine_litter",
34+
"Properties": {
35+
"facing": "north",
36+
"flower_amount": "3"
37+
}
38+
},
39+
"weight": 1
40+
},
41+
{
42+
"data": {
43+
"Name": "floraexpansion:pine_litter",
44+
"Properties": {
45+
"facing": "north",
46+
"flower_amount": "4"
47+
}
48+
},
49+
"weight": 1
50+
},
51+
{
52+
"data": {
53+
"Name": "floraexpansion:pine_litter",
54+
"Properties": {
55+
"facing": "east",
56+
"flower_amount": "1"
57+
}
58+
},
59+
"weight": 1
60+
},
61+
{
62+
"data": {
63+
"Name": "floraexpansion:pine_litter",
64+
"Properties": {
65+
"facing": "east",
66+
"flower_amount": "2"
67+
}
68+
},
69+
"weight": 1
70+
},
71+
{
72+
"data": {
73+
"Name": "floraexpansion:pine_litter",
74+
"Properties": {
75+
"facing": "east",
76+
"flower_amount": "3"
77+
}
78+
},
79+
"weight": 1
80+
},
81+
{
82+
"data": {
83+
"Name": "floraexpansion:pine_litter",
84+
"Properties": {
85+
"facing": "east",
86+
"flower_amount": "4"
87+
}
88+
},
89+
"weight": 1
90+
},
91+
{
92+
"data": {
93+
"Name": "floraexpansion:pine_litter",
94+
"Properties": {
95+
"facing": "south",
96+
"flower_amount": "1"
97+
}
98+
},
99+
"weight": 1
100+
},
101+
{
102+
"data": {
103+
"Name": "floraexpansion:pine_litter",
104+
"Properties": {
105+
"facing": "south",
106+
"flower_amount": "2"
107+
}
108+
},
109+
"weight": 1
110+
},
111+
{
112+
"data": {
113+
"Name": "floraexpansion:pine_litter",
114+
"Properties": {
115+
"facing": "south",
116+
"flower_amount": "3"
117+
}
118+
},
119+
"weight": 1
120+
},
121+
{
122+
"data": {
123+
"Name": "floraexpansion:pine_litter",
124+
"Properties": {
125+
"facing": "south",
126+
"flower_amount": "4"
127+
}
128+
},
129+
"weight": 1
130+
},
131+
{
132+
"data": {
133+
"Name": "floraexpansion:pine_litter",
134+
"Properties": {
135+
"facing": "west",
136+
"flower_amount": "1"
137+
}
138+
},
139+
"weight": 1
140+
},
141+
{
142+
"data": {
143+
"Name": "floraexpansion:pine_litter",
144+
"Properties": {
145+
"facing": "west",
146+
"flower_amount": "2"
147+
}
148+
},
149+
"weight": 1
150+
},
151+
{
152+
"data": {
153+
"Name": "floraexpansion:pine_litter",
154+
"Properties": {
155+
"facing": "west",
156+
"flower_amount": "3"
157+
}
158+
},
159+
"weight": 1
160+
},
161+
{
162+
"data": {
163+
"Name": "floraexpansion:pine_litter",
164+
"Properties": {
165+
"facing": "west",
166+
"flower_amount": "4"
167+
}
168+
},
169+
"weight": 1
170+
}
171+
]
172+
}
173+
}
174+
},
175+
"placement": [
176+
{
177+
"type": "minecraft:block_predicate_filter",
178+
"predicate": {
179+
"type": "minecraft:all_of",
180+
"predicates": [
181+
{
182+
"type": "minecraft:matching_blocks",
183+
"blocks": "minecraft:air"
184+
},
185+
{
186+
"type": "minecraft:matching_blocks",
187+
"blocks": [
188+
"minecraft:grass_block",
189+
"minecraft:podzol",
190+
"minecraft:coarse_dirt"
191+
],
192+
"offset": [
193+
0,
194+
-1,
195+
0
196+
]
197+
}
198+
]
199+
}
200+
}
201+
]
202+
},
203+
"tries": 96,
204+
"xz_spread": 7,
205+
"y_spread": 3
206+
}
207+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"feature": "floraexpansion:pine_litter",
3+
"placement": [
4+
{
5+
"type": "minecraft:rarity_filter",
6+
"chance": 6
7+
},
8+
{
9+
"type": "minecraft:in_square"
10+
},
11+
{
12+
"type": "minecraft:heightmap",
13+
"heightmap": "OCEAN_FLOOR_WG"
14+
},
15+
{
16+
"type": "minecraft:biome"
17+
}
18+
]
19+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"floraexpansion:toasted_pine_nuts"
4+
]
5+
}

0 commit comments

Comments
 (0)