VanillaBlockLoot .java

net.minecraft.data.loot.packs.VanillaBlockLoot (class): members: JUNGLE_LEAVES_SAPLING_CHANGES, EXPLOSION_RESISTANT, generate. imports: NetherWartBlock.

net.minecraft.data.loot.packsclass1,396 linescommonextends BlockLootSubProvider64.1 KB

API Surface (1)

void generate()

Fields & Constants (2)

JUNGLE_LEAVES_SAPLING_CHANGES
EXPLOSION_RESISTANT

Full Source

VanillaBlockLoot.java1396 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.data.loot.packs;
2
3
import com.google.common.collect.ImmutableList;
4
import java.util.List;
5
import java.util.Set;
6
import java.util.stream.Collectors;
7
import net.minecraft.advancements.predicates.ItemPredicate;
8
import net.minecraft.advancements.predicates.StatePropertiesPredicate;
9
import net.minecraft.core.component.DataComponents;
10
import net.minecraft.data.loot.BlockLootSubProvider;
11
import net.minecraft.data.loot.LootTableSubProvider;
12
import net.minecraft.tags.ItemTags;
13
import net.minecraft.world.flag.FeatureFlags;
14
import net.minecraft.world.item.Item;
15
import net.minecraft.world.item.Items;
16
import net.minecraft.world.item.enchantment.Enchantments;
17
import net.minecraft.world.level.ItemLike;
18
import net.minecraft.world.level.block.BedBlock;
19
import net.minecraft.world.level.block.BeetrootBlock;
20
import net.minecraft.world.level.block.Block;
21
import net.minecraft.world.level.block.Blocks;
22
import net.minecraft.world.level.block.CarrotBlock;
23
import net.minecraft.world.level.block.CocoaBlock;
24
import net.minecraft.world.level.block.ColorCollection;
25
import net.minecraft.world.level.block.ComposterBlock;
26
import net.minecraft.world.level.block.CropBlock;
27
import net.minecraft.world.level.block.DecoratedPotBlock;
28
import net.minecraft.world.level.block.DoublePlantBlock;
29
import net.minecraft.world.level.block.MangrovePropaguleBlock;
30
import net.minecraft.world.level.block.NetherWartBlock;
31
import net.minecraft.world.level.block.PitcherCropBlock;
32
import net.minecraft.world.level.block.PotatoBlock;
33
import net.minecraft.world.level.block.SeaPickleBlock;
34
import net.minecraft.world.level.block.ShelfMushroomBlock;
35
import net.minecraft.world.level.block.SnowLayerBlock;
36
import net.minecraft.world.level.block.SweetBerryBushBlock;
37
import net.minecraft.world.level.block.TntBlock;
38
import net.minecraft.world.level.block.state.properties.BedPart;
39
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf;
40
import net.minecraft.world.level.storage.loot.IntLimit;
41
import net.minecraft.world.level.storage.loot.LootContext;
42
import net.minecraft.world.level.storage.loot.LootPool;
43
import net.minecraft.world.level.storage.loot.LootTable;
44
import net.minecraft.world.level.storage.loot.entries.AlternativesEntry;
45
import net.minecraft.world.level.storage.loot.entries.DynamicLoot;
46
import net.minecraft.world.level.storage.loot.entries.LootItem;
47
import net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer;
48
import net.minecraft.world.level.storage.loot.entries.UniformContainerBase;
49
import net.minecraft.world.level.storage.loot.functions.ApplyBonusCount;
50
import net.minecraft.world.level.storage.loot.functions.CopyComponentsFunction;
51
import net.minecraft.world.level.storage.loot.functions.LimitCount;
52
import net.minecraft.world.level.storage.loot.functions.SetItemCountFunction;
53
import net.minecraft.world.level.storage.loot.parameters.LootContextParams;
54
import net.minecraft.world.level.storage.loot.predicates.BonusLevelTableCondition;
55
import net.minecraft.world.level.storage.loot.predicates.LootItemCondition;
56
import net.minecraft.world.level.storage.loot.predicates.LootItemEntityPropertyCondition;
57
import net.minecraft.world.level.storage.loot.predicates.LootItemRandomChanceCondition;
58
import net.minecraft.world.level.storage.loot.predicates.MatchBlock;
59
import net.minecraft.world.level.storage.loot.predicates.MatchTool;
60
import net.minecraft.world.level.storage.loot.providers.number.ints.ContextIntProviders;
61
62
public class VanillaBlockLoot extends BlockLootSubProvider {
63
	private static final float[] JUNGLE_LEAVES_SAPLING_CHANGES = new float[]{0.025F, 0.027777778F, 0.03125F, 0.041666668F, 0.1F};
64
	private static final Set<Item> EXPLOSION_RESISTANT = ImmutableList.<Block>builder()
65
		.add(
66
			Blocks.DRAGON_EGG,
67
			Blocks.BEACON,
68
			Blocks.CONDUIT,
69
			Blocks.SKELETON_SKULL,
70
			Blocks.WITHER_SKELETON_SKULL,
71
			Blocks.PLAYER_HEAD,
72
			Blocks.ZOMBIE_HEAD,
73
			Blocks.CREEPER_HEAD,
74
			Blocks.DRAGON_HEAD,
75
			Blocks.PIGLIN_HEAD,
76
			Blocks.SHULKER_BOX
77
		)
78
		.addAll(Blocks.DYED_SHULKER_BOX.asList())
79
		.build()
80
		.stream()
81
		.map(ItemLike::asItem)
82
		.collect(Collectors.toSet());
83
84
	public VanillaBlockLoot(final LootTableSubProvider.Context context) {
85
		super(EXPLOSION_RESISTANT, FeatureFlags.REGISTRY.allFlags(), context);
86
	}
87
88
	@Override
89
	protected void generate() {
90
		this.dropSelf(Blocks.GRANITE);
91
		this.dropSelf(Blocks.POLISHED_GRANITE);
92
		this.dropSelf(Blocks.DIORITE);
93
		this.dropSelf(Blocks.POLISHED_DIORITE);
94
		this.dropSelf(Blocks.ANDESITE);
95
		this.dropSelf(Blocks.POLISHED_ANDESITE);
96
		this.dropSelf(Blocks.DIRT);
97
		this.dropSelf(Blocks.COARSE_DIRT);
98
		this.dropSelf(Blocks.COBBLESTONE);
99
		this.dropSelf(Blocks.OAK_PLANKS);
100
		this.dropSelf(Blocks.SPRUCE_PLANKS);
101
		this.dropSelf(Blocks.BIRCH_PLANKS);
102
		this.dropSelf(Blocks.JUNGLE_PLANKS);
103
		this.dropSelf(Blocks.ACACIA_PLANKS);
104
		this.dropSelf(Blocks.DARK_OAK_PLANKS);
105
		this.dropSelf(Blocks.PALE_OAK_PLANKS);
106
		this.dropSelf(Blocks.MANGROVE_PLANKS);
107
		this.dropSelf(Blocks.POPLAR_PLANKS);
108
		this.dropSelf(Blocks.CHERRY_PLANKS);
109
		this.dropSelf(Blocks.BAMBOO_PLANKS);
110
		this.dropSelf(Blocks.BAMBOO_MOSAIC);
111
		this.add(Blocks.DECORATED_POT, this::createDecoratedPotTable);
112
		this.dropSelf(Blocks.OAK_SAPLING);
113
		this.dropSelf(Blocks.SPRUCE_SAPLING);
114
		this.dropSelf(Blocks.BIRCH_SAPLING);
115
		this.dropSelf(Blocks.JUNGLE_SAPLING);
116
		this.dropSelf(Blocks.ACACIA_SAPLING);
117
		this.dropSelf(Blocks.DARK_OAK_SAPLING);
118
		this.dropSelf(Blocks.PALE_OAK_SAPLING);
119
		this.dropSelf(Blocks.POPLAR_SAPLING);
120
		this.dropSelf(Blocks.CHERRY_SAPLING);
121
		this.dropSelf(Blocks.SAND);
122
		this.add(Blocks.SUSPICIOUS_SAND, noDrop());
123
		this.add(Blocks.SUSPICIOUS_GRAVEL, noDrop());
124
		this.dropSelf(Blocks.RED_SAND);
125
		this.dropSelf(Blocks.OAK_LOG);
126
		this.dropSelf(Blocks.SPRUCE_LOG);
127
		this.dropSelf(Blocks.BIRCH_LOG);
128
		this.dropSelf(Blocks.JUNGLE_LOG);
129
		this.dropSelf(Blocks.ACACIA_LOG);
130
		this.dropSelf(Blocks.DARK_OAK_LOG);
131
		this.dropSelf(Blocks.PALE_OAK_LOG);
132
		this.dropSelf(Blocks.POPLAR_LOG);
133
		this.dropSelf(Blocks.CHERRY_LOG);
134
		this.dropSelf(Blocks.BAMBOO_BLOCK);
135
		this.dropSelf(Blocks.STRIPPED_OAK_LOG);
136
		this.dropSelf(Blocks.STRIPPED_SPRUCE_LOG);
137
		this.dropSelf(Blocks.STRIPPED_BIRCH_LOG);
138
		this.dropSelf(Blocks.STRIPPED_JUNGLE_LOG);
139
		this.dropSelf(Blocks.STRIPPED_ACACIA_LOG);
140
		this.dropSelf(Blocks.STRIPPED_DARK_OAK_LOG);
141
		this.dropSelf(Blocks.STRIPPED_PALE_OAK_LOG);
142
		this.dropSelf(Blocks.STRIPPED_MANGROVE_LOG);
143
		this.dropSelf(Blocks.STRIPPED_POPLAR_LOG);
144
		this.dropSelf(Blocks.STRIPPED_CHERRY_LOG);
145
		this.dropSelf(Blocks.STRIPPED_BAMBOO_BLOCK);
146
		this.dropSelf(Blocks.STRIPPED_WARPED_STEM);
147
		this.dropSelf(Blocks.STRIPPED_CRIMSON_STEM);
148
		this.dropSelf(Blocks.OAK_WOOD);
149
		this.dropSelf(Blocks.SPRUCE_WOOD);
150
		this.dropSelf(Blocks.BIRCH_WOOD);
151
		this.dropSelf(Blocks.JUNGLE_WOOD);
152
		this.dropSelf(Blocks.ACACIA_WOOD);
153
		this.dropSelf(Blocks.DARK_OAK_WOOD);
154
		this.dropSelf(Blocks.PALE_OAK_WOOD);
155
		this.dropSelf(Blocks.MANGROVE_WOOD);
156
		this.dropSelf(Blocks.POPLAR_WOOD);
157
		this.dropSelf(Blocks.CHERRY_WOOD);
158
		this.dropSelf(Blocks.STRIPPED_OAK_WOOD);
159
		this.dropSelf(Blocks.STRIPPED_SPRUCE_WOOD);
160
		this.dropSelf(Blocks.STRIPPED_BIRCH_WOOD);
161
		this.dropSelf(Blocks.STRIPPED_JUNGLE_WOOD);
162
		this.dropSelf(Blocks.STRIPPED_ACACIA_WOOD);
163
		this.dropSelf(Blocks.STRIPPED_DARK_OAK_WOOD);
164
		this.dropSelf(Blocks.STRIPPED_PALE_OAK_WOOD);
165
		this.dropSelf(Blocks.STRIPPED_MANGROVE_WOOD);
166
		this.dropSelf(Blocks.STRIPPED_POPLAR_WOOD);
167
		this.dropSelf(Blocks.STRIPPED_CHERRY_WOOD);
168
		this.dropSelf(Blocks.STRIPPED_CRIMSON_HYPHAE);
169
		this.dropSelf(Blocks.STRIPPED_WARPED_HYPHAE);
170
		this.dropSelf(Blocks.SPONGE);
171
		this.dropSelf(Blocks.WET_SPONGE);
172
		this.dropSelf(Blocks.LAPIS_BLOCK);
173
		this.dropSelf(Blocks.RESIN_BLOCK);
174
		this.dropSelf(Blocks.SANDSTONE);
175
		this.dropSelf(Blocks.CHISELED_SANDSTONE);
176
		this.dropSelf(Blocks.CUT_SANDSTONE);
177
		this.dropSelf(Blocks.NOTE_BLOCK);
178
		this.dropSelf(Blocks.POWERED_RAIL);
179
		this.dropSelf(Blocks.DETECTOR_RAIL);
180
		this.dropSelf(Blocks.STICKY_PISTON);
181
		this.dropSelf(Blocks.PISTON);
182
		Blocks.WOOL.forEach(x$0 -> this.dropSelf(x$0));
183
		Blocks.WOOL_STAIRS.forEach(x$0 -> this.dropSelf(x$0));
184
		Blocks.WOOL_SLAB.forEach(block -> {
185
			VanillaBlockLoot rec$ = this;
186
			this.add(block, x$0 -> rec$.createSlabItemTable(x$0));
187
		});
188
		this.dropSelf(Blocks.DANDELION);
189
		this.dropSelf(Blocks.GOLDEN_DANDELION);
190
		this.dropSelf(Blocks.OPEN_EYEBLOSSOM);
191
		this.dropSelf(Blocks.CLOSED_EYEBLOSSOM);
192
		this.dropSelf(Blocks.POPPY);
193
		this.dropSelf(Blocks.TORCHFLOWER);
194
		this.dropSelf(Blocks.BLUE_ORCHID);
195
		this.dropSelf(Blocks.ALLIUM);
196
		this.dropSelf(Blocks.AZURE_BLUET);
197
		this.dropSelf(Blocks.RED_TULIP);
198
		this.dropSelf(Blocks.ORANGE_TULIP);
199
		this.dropSelf(Blocks.WHITE_TULIP);
200
		this.dropSelf(Blocks.PINK_TULIP);
201
		this.dropSelf(Blocks.OXEYE_DAISY);
202
		this.dropSelf(Blocks.CORNFLOWER);
203
		this.dropSelf(Blocks.WITHER_ROSE);
204
		this.dropSelf(Blocks.LILY_OF_THE_VALLEY);
205
		this.dropSelf(Blocks.BROWN_MUSHROOM);
206
		this.dropSelf(Blocks.RED_MUSHROOM);
207
		this.dropSelf(Blocks.GOLD_BLOCK);
208
		this.dropSelf(Blocks.IRON_BLOCK);
209
		this.dropSelf(Blocks.BRICKS);
210
		this.dropSelf(Blocks.MOSSY_COBBLESTONE);
211
		this.dropSelf(Blocks.OBSIDIAN);
212
		this.dropSelf(Blocks.CRYING_OBSIDIAN);
213
		this.dropSelf(Blocks.TORCH);
214
		this.dropSelf(Blocks.OAK_STAIRS);
215
		this.dropSelf(Blocks.MANGROVE_STAIRS);
216
		this.dropSelf(Blocks.BAMBOO_STAIRS);
217
		this.dropSelf(Blocks.BAMBOO_MOSAIC_STAIRS);
218
		this.dropSelf(Blocks.REDSTONE_WIRE);
219
		this.dropSelf(Blocks.DIAMOND_BLOCK);
220
		this.dropSelf(Blocks.CRAFTING_TABLE);
221
		this.dropSelf(Blocks.OAK_SIGN);
222
		this.dropSelf(Blocks.SPRUCE_SIGN);
223
		this.dropSelf(Blocks.BIRCH_SIGN);
224
		this.dropSelf(Blocks.ACACIA_SIGN);
225
		this.dropSelf(Blocks.JUNGLE_SIGN);
226
		this.dropSelf(Blocks.DARK_OAK_SIGN);
227
		this.dropSelf(Blocks.PALE_OAK_SIGN);
228
		this.dropSelf(Blocks.MANGROVE_SIGN);
229
		this.dropSelf(Blocks.POPLAR_SIGN);
230
		this.dropSelf(Blocks.CHERRY_SIGN);
231
		this.dropSelf(Blocks.BAMBOO_SIGN);
232
		this.dropSelf(Blocks.OAK_HANGING_SIGN);
233
		this.dropSelf(Blocks.SPRUCE_HANGING_SIGN);
234
		this.dropSelf(Blocks.BIRCH_HANGING_SIGN);
235
		this.dropSelf(Blocks.ACACIA_HANGING_SIGN);
236
		this.dropSelf(Blocks.CHERRY_HANGING_SIGN);
237
		this.dropSelf(Blocks.JUNGLE_HANGING_SIGN);
238
		this.dropSelf(Blocks.DARK_OAK_HANGING_SIGN);
239
		this.dropSelf(Blocks.PALE_OAK_HANGING_SIGN);
240
		this.dropSelf(Blocks.MANGROVE_HANGING_SIGN);
241
		this.dropSelf(Blocks.POPLAR_HANGING_SIGN);
242
		this.dropSelf(Blocks.CRIMSON_HANGING_SIGN);
243
		this.dropSelf(Blocks.WARPED_HANGING_SIGN);
244
		this.dropSelf(Blocks.BAMBOO_HANGING_SIGN);
245
		this.dropSelf(Blocks.LADDER);
246
		this.dropSelf(Blocks.RAIL);
247
		this.dropSelf(Blocks.COBBLESTONE_STAIRS);
248
		this.dropSelf(Blocks.LEVER);
249
		this.dropSelf(Blocks.STONE_PRESSURE_PLATE);
250
		this.dropSelf(Blocks.OAK_PRESSURE_PLATE);
251
		this.dropSelf(Blocks.SPRUCE_PRESSURE_PLATE);
252
		this.dropSelf(Blocks.BIRCH_PRESSURE_PLATE);
253
		this.dropSelf(Blocks.JUNGLE_PRESSURE_PLATE);
254
		this.dropSelf(Blocks.ACACIA_PRESSURE_PLATE);
255
		this.dropSelf(Blocks.DARK_OAK_PRESSURE_PLATE);
256
		this.dropSelf(Blocks.PALE_OAK_PRESSURE_PLATE);
257
		this.dropSelf(Blocks.MANGROVE_PRESSURE_PLATE);
258
		this.dropSelf(Blocks.POPLAR_PRESSURE_PLATE);
259
		this.dropSelf(Blocks.CHERRY_PRESSURE_PLATE);
260
		this.dropSelf(Blocks.BAMBOO_PRESSURE_PLATE);
261
		this.dropSelf(Blocks.REDSTONE_TORCH);
262
		this.dropSelf(Blocks.STONE_BUTTON);
263
		this.dropSelf(Blocks.CACTUS);
264
		this.dropSelf(Blocks.SUGAR_CANE);
265
		this.dropSelf(Blocks.JUKEBOX);
266
		this.dropSelf(Blocks.OAK_FENCE);
267
		this.dropSelf(Blocks.MANGROVE_FENCE);
268
		this.dropSelf(Blocks.BAMBOO_FENCE);
269
		this.dropSelf(Blocks.PUMPKIN);
270
		this.dropSelf(Blocks.NETHERRACK);
271
		this.dropSelf(Blocks.SOUL_SAND);
272
		this.dropSelf(Blocks.SOUL_SOIL);
273
		this.dropSelf(Blocks.BASALT);
274
		this.dropSelf(Blocks.POLISHED_BASALT);
275
		this.dropSelf(Blocks.SMOOTH_BASALT);
276
		this.dropSelf(Blocks.SOUL_TORCH);
277
		this.dropSelf(Blocks.COPPER_TORCH);
278
		this.dropSelf(Blocks.CARVED_PUMPKIN);
279
		this.dropSelf(Blocks.JACK_O_LANTERN);
280
		this.dropSelf(Blocks.REPEATER);
281
		this.dropSelf(Blocks.OAK_TRAPDOOR);
282
		this.dropSelf(Blocks.SPRUCE_TRAPDOOR);
283
		this.dropSelf(Blocks.BIRCH_TRAPDOOR);
284
		this.dropSelf(Blocks.JUNGLE_TRAPDOOR);
285
		this.dropSelf(Blocks.ACACIA_TRAPDOOR);
286
		this.dropSelf(Blocks.DARK_OAK_TRAPDOOR);
287
		this.dropSelf(Blocks.PALE_OAK_TRAPDOOR);
288
		this.dropSelf(Blocks.MANGROVE_TRAPDOOR);
289
		this.dropSelf(Blocks.POPLAR_TRAPDOOR);
290
		this.dropSelf(Blocks.CHERRY_TRAPDOOR);
291
		this.dropSelf(Blocks.BAMBOO_TRAPDOOR);
292
		Blocks.COPPER_TRAPDOOR.forEach(x$0 -> this.dropSelf(x$0));
293
		this.dropSelf(Blocks.STONE_BRICKS);
294
		this.dropSelf(Blocks.MOSSY_STONE_BRICKS);
295
		this.dropSelf(Blocks.CRACKED_STONE_BRICKS);
296
		this.dropSelf(Blocks.CHISELED_STONE_BRICKS);
297
		this.dropSelf(Blocks.IRON_BARS);
298
		Blocks.COPPER_BARS.forEach(x$0 -> this.dropSelf(x$0));
299
		this.dropSelf(Blocks.OAK_FENCE_GATE);
300
		this.dropSelf(Blocks.MANGROVE_FENCE_GATE);
301
		this.dropSelf(Blocks.BAMBOO_FENCE_GATE);
302
		this.dropSelf(Blocks.BRICK_STAIRS);
303
		this.dropSelf(Blocks.STONE_BRICK_STAIRS);
304
		this.dropSelf(Blocks.LILY_PAD);
305
		this.dropSelf(Blocks.RESIN_BRICKS);
306
		this.dropSelf(Blocks.RESIN_BRICK_WALL);
307
		this.dropSelf(Blocks.RESIN_BRICK_STAIRS);
308
		this.dropSelf(Blocks.CHISELED_RESIN_BRICKS);
309
		this.dropSelf(Blocks.NETHER_BRICKS);
310
		this.dropSelf(Blocks.NETHER_BRICK_FENCE);
311
		this.dropSelf(Blocks.NETHER_BRICK_STAIRS);
312
		this.dropSelf(Blocks.CAULDRON);
313
		this.dropSelf(Blocks.END_STONE);
314
		this.dropSelf(Blocks.REDSTONE_LAMP);
315
		this.dropSelf(Blocks.SANDSTONE_STAIRS);
316
		this.dropSelf(Blocks.TRIPWIRE_HOOK);
317
		this.dropSelf(Blocks.EMERALD_BLOCK);
318
		this.dropSelf(Blocks.SPRUCE_STAIRS);
319
		this.dropSelf(Blocks.BIRCH_STAIRS);
320
		this.dropSelf(Blocks.JUNGLE_STAIRS);
321
		this.dropSelf(Blocks.COBBLESTONE_WALL);
322
		this.dropSelf(Blocks.MOSSY_COBBLESTONE_WALL);
323
		this.dropSelf(Blocks.FLOWER_POT);
324
		this.dropSelf(Blocks.OAK_BUTTON);
325
		this.dropSelf(Blocks.SPRUCE_BUTTON);
326
		this.dropSelf(Blocks.BIRCH_BUTTON);
327
		this.dropSelf(Blocks.JUNGLE_BUTTON);
328
		this.dropSelf(Blocks.ACACIA_BUTTON);
329
		this.dropSelf(Blocks.DARK_OAK_BUTTON);
330
		this.dropSelf(Blocks.PALE_OAK_BUTTON);
331
		this.dropSelf(Blocks.MANGROVE_BUTTON);
332
		this.dropSelf(Blocks.POPLAR_BUTTON);
333
		this.dropSelf(Blocks.CHERRY_BUTTON);
334
		this.dropSelf(Blocks.BAMBOO_BUTTON);
335
		this.dropSelf(Blocks.ANVIL);
336
		this.dropSelf(Blocks.CHIPPED_ANVIL);
337
		this.dropSelf(Blocks.DAMAGED_ANVIL);
338
		this.dropSelf(Blocks.LIGHT_WEIGHTED_PRESSURE_PLATE);
339
		this.dropSelf(Blocks.HEAVY_WEIGHTED_PRESSURE_PLATE);
340
		this.dropSelf(Blocks.COMPARATOR);
341
		this.dropSelf(Blocks.DAYLIGHT_DETECTOR);
342
		this.dropSelf(Blocks.REDSTONE_BLOCK);
343
		this.dropSelf(Blocks.QUARTZ_BLOCK);
344
		this.dropSelf(Blocks.CHISELED_QUARTZ_BLOCK);
345
		this.dropSelf(Blocks.QUARTZ_PILLAR);
346
		this.dropSelf(Blocks.QUARTZ_STAIRS);
347
		this.dropSelf(Blocks.ACTIVATOR_RAIL);
348
		Blocks.DYED_TERRACOTTA.forEach(x$0 -> this.dropSelf(x$0));
349
		this.dropSelf(Blocks.ACACIA_STAIRS);
350
		this.dropSelf(Blocks.DARK_OAK_STAIRS);
351
		this.dropSelf(Blocks.PALE_OAK_STAIRS);
352
		this.dropSelf(Blocks.POPLAR_STAIRS);
353
		this.dropSelf(Blocks.CHERRY_STAIRS);
354
		this.dropSelf(Blocks.SLIME_BLOCK);
355
		this.dropSelf(Blocks.IRON_TRAPDOOR);
356
		this.dropSelf(Blocks.PRISMARINE);
357
		this.dropSelf(Blocks.PRISMARINE_BRICKS);
358
		this.dropSelf(Blocks.DARK_PRISMARINE);
359
		this.dropSelf(Blocks.PRISMARINE_STAIRS);
360
		this.dropSelf(Blocks.PRISMARINE_BRICK_STAIRS);
361
		this.dropSelf(Blocks.DARK_PRISMARINE_STAIRS);
362
		this.dropSelf(Blocks.HAY_BLOCK);
363
		Blocks.CARPET.forEach(x$0 -> this.dropSelf(x$0));
364
		this.dropSelf(Blocks.TERRACOTTA);
365
		this.dropSelf(Blocks.COAL_BLOCK);
366
		this.dropSelf(Blocks.RED_SANDSTONE);
367
		this.dropSelf(Blocks.CHISELED_RED_SANDSTONE);
368
		this.dropSelf(Blocks.CUT_RED_SANDSTONE);
369
		this.dropSelf(Blocks.RED_SANDSTONE_STAIRS);
370
		this.dropSelf(Blocks.SMOOTH_STONE);
371
		this.dropSelf(Blocks.SMOOTH_SANDSTONE);
372
		this.dropSelf(Blocks.SMOOTH_QUARTZ);
373
		this.dropSelf(Blocks.SMOOTH_RED_SANDSTONE);
374
		this.dropSelf(Blocks.SPRUCE_FENCE_GATE);
375
		this.dropSelf(Blocks.BIRCH_FENCE_GATE);
376
		this.dropSelf(Blocks.JUNGLE_FENCE_GATE);
377
		this.dropSelf(Blocks.ACACIA_FENCE_GATE);
378
		this.dropSelf(Blocks.DARK_OAK_FENCE_GATE);
379
		this.dropSelf(Blocks.PALE_OAK_FENCE_GATE);
380
		this.dropSelf(Blocks.POPLAR_FENCE_GATE);
381
		this.dropSelf(Blocks.CHERRY_FENCE_GATE);
382
		this.dropSelf(Blocks.SPRUCE_FENCE);
383
		this.dropSelf(Blocks.BIRCH_FENCE);
384
		this.dropSelf(Blocks.JUNGLE_FENCE);
385
		this.dropSelf(Blocks.ACACIA_FENCE);
386
		this.dropSelf(Blocks.DARK_OAK_FENCE);
387
		this.dropSelf(Blocks.PALE_OAK_FENCE);
388
		this.dropSelf(Blocks.POPLAR_FENCE);
389
		this.dropSelf(Blocks.CHERRY_FENCE);
390
		this.dropSelf(Blocks.END_ROD);
391
		this.dropSelf(Blocks.PURPUR_BLOCK);
392
		this.dropSelf(Blocks.PURPUR_PILLAR);
393
		this.dropSelf(Blocks.PURPUR_STAIRS);
394
		this.dropSelf(Blocks.END_STONE_BRICKS);
395
		this.dropSelf(Blocks.MAGMA_BLOCK);
396
		this.dropSelf(Blocks.NETHER_WART_BLOCK);
397
		this.dropSelf(Blocks.RED_NETHER_BRICKS);
398
		this.dropSelf(Blocks.BONE_BLOCK);
399
		this.dropSelf(Blocks.OBSERVER);
400
		this.dropSelf(Blocks.TARGET);
401
		Blocks.GLAZED_TERRACOTTA.forEach(x$0 -> this.dropSelf(x$0));
402
		Blocks.CONCRETE.forEach(x$0 -> this.dropSelf(x$0));
403
		Blocks.CONCRETE_STAIRS.forEach(x$0 -> this.dropSelf(x$0));
404
		Blocks.CONCRETE_SLAB.forEach(block -> {
405
			VanillaBlockLoot rec$ = this;
406
			this.add(block, x$0 -> rec$.createSlabItemTable(x$0));
407
		});
408
		Blocks.CONCRETE_POWDER.forEach(x$0 -> this.dropSelf(x$0));
409
		this.dropSelf(Blocks.KELP);
410
		this.dropSelf(Blocks.DRIED_KELP_BLOCK);
411
		this.dropSelf(Blocks.DEAD_TUBE_CORAL_BLOCK);
412
		this.dropSelf(Blocks.DEAD_BRAIN_CORAL_BLOCK);
413
		this.dropSelf(Blocks.DEAD_BUBBLE_CORAL_BLOCK);
414
		this.dropSelf(Blocks.DEAD_FIRE_CORAL_BLOCK);
415
		this.dropSelf(Blocks.DEAD_HORN_CORAL_BLOCK);
416
		this.dropSelf(Blocks.CONDUIT);
417
		this.dropSelf(Blocks.DRAGON_EGG);
418
		this.dropSelf(Blocks.BAMBOO);
419
		this.dropSelf(Blocks.POLISHED_GRANITE_STAIRS);
420
		this.dropSelf(Blocks.SMOOTH_RED_SANDSTONE_STAIRS);
421
		this.dropSelf(Blocks.MOSSY_STONE_BRICK_STAIRS);
422
		this.dropSelf(Blocks.POLISHED_DIORITE_STAIRS);
423
		this.dropSelf(Blocks.MOSSY_COBBLESTONE_STAIRS);
424
		this.dropSelf(Blocks.END_STONE_BRICK_STAIRS);
425
		this.dropSelf(Blocks.STONE_STAIRS);
426
		this.dropSelf(Blocks.SMOOTH_SANDSTONE_STAIRS);
427
		this.dropSelf(Blocks.SMOOTH_QUARTZ_STAIRS);
428
		this.dropSelf(Blocks.GRANITE_STAIRS);
429
		this.dropSelf(Blocks.ANDESITE_STAIRS);
430
		this.dropSelf(Blocks.RED_NETHER_BRICK_STAIRS);
431
		this.dropSelf(Blocks.POLISHED_ANDESITE_STAIRS);
432
		this.dropSelf(Blocks.DIORITE_STAIRS);
433
		this.dropSelf(Blocks.BRICK_WALL);
434
		this.dropSelf(Blocks.PRISMARINE_WALL);
435
		this.dropSelf(Blocks.RED_SANDSTONE_WALL);
436
		this.dropSelf(Blocks.MOSSY_STONE_BRICK_WALL);
437
		this.dropSelf(Blocks.GRANITE_WALL);
438
		this.dropSelf(Blocks.STONE_BRICK_WALL);
439
		this.dropSelf(Blocks.NETHER_BRICK_WALL);
440
		this.dropSelf(Blocks.ANDESITE_WALL);
441
		this.dropSelf(Blocks.RED_NETHER_BRICK_WALL);
442
		this.dropSelf(Blocks.SANDSTONE_WALL);
443
		this.dropSelf(Blocks.END_STONE_BRICK_WALL);
444
		this.dropSelf(Blocks.DIORITE_WALL);
445
		this.dropSelf(Blocks.MUD_BRICK_WALL);
446
		this.dropSelf(Blocks.LOOM);
447
		this.dropSelf(Blocks.SCAFFOLDING);
448
		this.dropSelf(Blocks.HONEY_BLOCK);
449
		this.dropSelf(Blocks.HONEYCOMB_BLOCK);
450
		this.dropSelf(Blocks.RESPAWN_ANCHOR);
451
		this.dropSelf(Blocks.LODESTONE);
452
		this.dropSelf(Blocks.WARPED_STEM);
453
		this.dropSelf(Blocks.WARPED_HYPHAE);
454
		this.dropSelf(Blocks.WARPED_FUNGUS);
455
		this.dropSelf(Blocks.WARPED_WART_BLOCK);
456
		this.dropSelf(Blocks.CRIMSON_STEM);
457
		this.dropSelf(Blocks.CRIMSON_HYPHAE);
458
		this.dropSelf(Blocks.CRIMSON_FUNGUS);
459
		this.dropSelf(Blocks.SHROOMLIGHT);
460
		this.dropSelf(Blocks.CRIMSON_PLANKS);
461
		this.dropSelf(Blocks.WARPED_PLANKS);
462
		this.dropSelf(Blocks.WARPED_PRESSURE_PLATE);
463
		this.dropSelf(Blocks.WARPED_FENCE);
464
		this.dropSelf(Blocks.WARPED_TRAPDOOR);
465
		this.dropSelf(Blocks.WARPED_FENCE_GATE);
466
		this.dropSelf(Blocks.WARPED_STAIRS);
467
		this.dropSelf(Blocks.WARPED_BUTTON);
468
		this.dropSelf(Blocks.WARPED_SIGN);
469
		this.dropSelf(Blocks.CRIMSON_PRESSURE_PLATE);
470
		this.dropSelf(Blocks.CRIMSON_FENCE);
471
		this.dropSelf(Blocks.CRIMSON_TRAPDOOR);
472
		this.dropSelf(Blocks.CRIMSON_FENCE_GATE);
473
		this.dropSelf(Blocks.CRIMSON_STAIRS);
474
		this.dropSelf(Blocks.CRIMSON_BUTTON);
475
		this.dropSelf(Blocks.CRIMSON_SIGN);
476
		this.dropSelf(Blocks.NETHERITE_BLOCK);
477
		this.dropSelf(Blocks.ANCIENT_DEBRIS);
478
		this.dropSelf(Blocks.BLACKSTONE);
479
		this.dropSelf(Blocks.POLISHED_BLACKSTONE_BRICKS);
480
		this.dropSelf(Blocks.POLISHED_BLACKSTONE_BRICK_STAIRS);
481
		this.dropSelf(Blocks.BLACKSTONE_STAIRS);
482
		this.dropSelf(Blocks.BLACKSTONE_WALL);
483
		this.dropSelf(Blocks.POLISHED_BLACKSTONE_BRICK_WALL);
484
		this.dropSelf(Blocks.CHISELED_POLISHED_BLACKSTONE);
485
		this.dropSelf(Blocks.CRACKED_POLISHED_BLACKSTONE_BRICKS);
486
		this.dropSelf(Blocks.POLISHED_BLACKSTONE);
487
		this.dropSelf(Blocks.POLISHED_BLACKSTONE_STAIRS);
488
		this.dropSelf(Blocks.POLISHED_BLACKSTONE_PRESSURE_PLATE);
489
		this.dropSelf(Blocks.POLISHED_BLACKSTONE_BUTTON);
490
		this.dropSelf(Blocks.POLISHED_BLACKSTONE_WALL);
491
		this.dropSelf(Blocks.CHISELED_NETHER_BRICKS);
492
		this.dropSelf(Blocks.CRACKED_NETHER_BRICKS);
493
		this.dropSelf(Blocks.QUARTZ_BRICKS);
494
		this.dropSelf(Blocks.IRON_CHAIN);
495
		Blocks.COPPER_CHAIN.forEach(x$0 -> this.dropSelf(x$0));
496
		this.dropSelf(Blocks.WARPED_ROOTS);
497
		this.dropSelf(Blocks.CRIMSON_ROOTS);
498
		this.dropSelf(Blocks.MUD_BRICKS);
499
		this.dropSelf(Blocks.MUDDY_MANGROVE_ROOTS);
500
		this.dropSelf(Blocks.MUD_BRICK_STAIRS);
501
		this.dropSelf(Blocks.AMETHYST_BLOCK);
502
		this.dropSelf(Blocks.CALCITE);
503
		this.dropSelf(Blocks.TUFF);
504
		this.dropSelf(Blocks.TINTED_GLASS);
505
		this.dropWhenSilkTouch(Blocks.SCULK_SENSOR);
506
		this.dropWhenSilkTouch(Blocks.CALIBRATED_SCULK_SENSOR);
507
		this.dropWhenSilkTouch(Blocks.SCULK);
508
		this.dropWhenSilkTouch(Blocks.SCULK_CATALYST);
509
		this.add(Blocks.SCULK_VEIN, block -> this.createMultifaceBlockDrops(block, this.hasSilkTouch()));
510
		this.dropWhenSilkTouch(Blocks.SCULK_SHRIEKER);
511
		this.dropWhenSilkTouch(Blocks.CHISELED_BOOKSHELF);
512
		Blocks.COPPER_BLOCK.forEach(x$0 -> this.dropSelf(x$0));
513
		Blocks.CUT_COPPER.forEach(x$0 -> this.dropSelf(x$0));
514
		Blocks.CUT_COPPER_STAIRS.forEach(x$0 -> this.dropSelf(x$0));
515
		Blocks.LIGHTNING_ROD.forEach(x$0 -> this.dropSelf(x$0));
516
		this.dropSelf(Blocks.POINTED_DRIPSTONE);
517
		this.dropSelf(Blocks.SULFUR_SPIKE);
518
		this.dropSelf(Blocks.DRIPSTONE_BLOCK);
519
		this.dropSelf(Blocks.SPORE_BLOSSOM);
520
		this.dropSelf(Blocks.FLOWERING_AZALEA);
521
		this.dropSelf(Blocks.AZALEA);
522
		this.dropSelf(Blocks.MOSS_CARPET);
523
		this.add(Blocks.PINK_PETALS, this.createSegmentedBlockDrops(Blocks.PINK_PETALS));
524
		this.add(Blocks.WILDFLOWERS, this.createSegmentedBlockDrops(Blocks.WILDFLOWERS));
525
		this.add(Blocks.LEAF_LITTER, this.createSegmentedBlockDrops(Blocks.LEAF_LITTER));
526
		this.dropSelf(Blocks.BIG_DRIPLEAF);
527
		this.dropSelf(Blocks.MOSS_BLOCK);
528
		this.add(Blocks.PALE_MOSS_CARPET, x$0 -> this.createMossyCarpetBlockDrops(x$0));
529
		this.add(Blocks.PALE_HANGING_MOSS, x$0 -> this.createShearsOrSilkTouchOnlyDrop(x$0));
530
		this.dropSelf(Blocks.PALE_MOSS_BLOCK);
531
		this.dropSelf(Blocks.ROOTED_DIRT);
532
		this.dropSelf(Blocks.COBBLED_DEEPSLATE);
533
		this.dropSelf(Blocks.COBBLED_DEEPSLATE_STAIRS);
534
		this.dropSelf(Blocks.COBBLED_DEEPSLATE_WALL);
535
		this.dropSelf(Blocks.POLISHED_DEEPSLATE);
536
		this.dropSelf(Blocks.POLISHED_DEEPSLATE_STAIRS);
537
		this.dropSelf(Blocks.POLISHED_DEEPSLATE_WALL);
538
		this.dropSelf(Blocks.DEEPSLATE_TILES);
539
		this.dropSelf(Blocks.DEEPSLATE_TILE_STAIRS);
540
		this.dropSelf(Blocks.DEEPSLATE_TILE_WALL);
541
		this.dropSelf(Blocks.DEEPSLATE_BRICKS);
542
		this.dropSelf(Blocks.DEEPSLATE_BRICK_STAIRS);
543
		this.dropSelf(Blocks.DEEPSLATE_BRICK_WALL);
544
		this.dropSelf(Blocks.CHISELED_DEEPSLATE);
545
		this.dropSelf(Blocks.CRACKED_DEEPSLATE_BRICKS);
546
		this.dropSelf(Blocks.CRACKED_DEEPSLATE_TILES);
547
		this.dropSelf(Blocks.RAW_IRON_BLOCK);
548
		this.dropSelf(Blocks.RAW_COPPER_BLOCK);
549
		this.dropSelf(Blocks.RAW_GOLD_BLOCK);
550
		this.dropSelf(Blocks.OCHRE_FROGLIGHT);
551
		this.dropSelf(Blocks.VERDANT_FROGLIGHT);
552
		this.dropSelf(Blocks.PEARLESCENT_FROGLIGHT);
553
		this.dropSelf(Blocks.MANGROVE_ROOTS);
554
		this.dropSelf(Blocks.MANGROVE_LOG);
555
		this.dropSelf(Blocks.MUD);
556
		this.dropSelf(Blocks.PACKED_MUD);
557
		this.dropSelf(Blocks.CRAFTER);
558
		this.dropSelf(Blocks.CHISELED_TUFF);
559
		this.dropSelf(Blocks.TUFF_STAIRS);
560
		this.dropSelf(Blocks.TUFF_WALL);
561
		this.dropSelf(Blocks.POLISHED_TUFF);
562
		this.dropSelf(Blocks.POLISHED_TUFF_STAIRS);
563
		this.dropSelf(Blocks.POLISHED_TUFF_WALL);
564
		this.dropSelf(Blocks.TUFF_BRICKS);
565
		this.dropSelf(Blocks.TUFF_BRICK_STAIRS);
566
		this.dropSelf(Blocks.TUFF_BRICK_WALL);
567
		this.dropSelf(Blocks.CHISELED_TUFF_BRICKS);
568
		this.add(Blocks.TUFF_SLAB, x$0 -> this.createSlabItemTable(x$0));
569
		this.add(Blocks.TUFF_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
570
		this.add(Blocks.POLISHED_TUFF_SLAB, x$0 -> this.createSlabItemTable(x$0));
571
		this.dropSelf(Blocks.SULFUR);
572
		this.dropSelf(Blocks.POTENT_SULFUR);
573
		this.dropSelf(Blocks.SULFUR_STAIRS);
574
		this.add(Blocks.SULFUR_SLAB, x$0 -> this.createSlabItemTable(x$0));
575
		this.dropSelf(Blocks.SULFUR_WALL);
576
		this.dropSelf(Blocks.CHISELED_SULFUR);
577
		this.dropSelf(Blocks.POLISHED_SULFUR);
578
		this.dropSelf(Blocks.POLISHED_SULFUR_STAIRS);
579
		this.add(Blocks.POLISHED_SULFUR_SLAB, x$0 -> this.createSlabItemTable(x$0));
580
		this.dropSelf(Blocks.POLISHED_SULFUR_WALL);
581
		this.dropSelf(Blocks.SULFUR_BRICKS);
582
		this.dropSelf(Blocks.SULFUR_BRICK_STAIRS);
583
		this.add(Blocks.SULFUR_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
584
		this.dropSelf(Blocks.SULFUR_BRICK_WALL);
585
		this.dropSelf(Blocks.CINNABAR);
586
		this.dropSelf(Blocks.CINNABAR_STAIRS);
587
		this.add(Blocks.CINNABAR_SLAB, x$0 -> this.createSlabItemTable(x$0));
588
		this.dropSelf(Blocks.CINNABAR_WALL);
589
		this.dropSelf(Blocks.CHISELED_CINNABAR);
590
		this.dropSelf(Blocks.POLISHED_CINNABAR);
591
		this.dropSelf(Blocks.POLISHED_CINNABAR_STAIRS);
592
		this.add(Blocks.POLISHED_CINNABAR_SLAB, x$0 -> this.createSlabItemTable(x$0));
593
		this.dropSelf(Blocks.POLISHED_CINNABAR_WALL);
594
		this.dropSelf(Blocks.CINNABAR_BRICKS);
595
		this.dropSelf(Blocks.CINNABAR_BRICK_STAIRS);
596
		this.add(Blocks.CINNABAR_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
597
		this.dropSelf(Blocks.CINNABAR_BRICK_WALL);
598
		Blocks.CHISELED_COPPER.forEach(x$0 -> this.dropSelf(x$0));
599
		Blocks.COPPER_GRATE.forEach(x$0 -> this.dropSelf(x$0));
600
		Blocks.COPPER_BULB.forEach(x$0 -> this.dropSelf(x$0));
601
		Blocks.COPPER_GOLEM_STATUE.forEach(block -> this.add(block, this.createCopperGolemStatueBlock(block)));
602
		this.dropSelf(Blocks.HEAVY_CORE);
603
		this.dropSelf(Blocks.FIREFLY_BUSH);
604
		this.dropSelf(Blocks.RED_SHRUB);
605
		this.dropSelf(Blocks.CACTUS_FLOWER);
606
		this.dropOther(Blocks.FARMLAND, Blocks.DIRT);
607
		this.dropOther(Blocks.TRIPWIRE, Items.STRING);
608
		this.dropOther(Blocks.DIRT_PATH, Blocks.DIRT);
609
		this.dropOther(Blocks.KELP_PLANT, Blocks.KELP);
610
		this.dropOther(Blocks.BAMBOO_SAPLING, Blocks.BAMBOO);
611
		this.dropOther(Blocks.WATER_CAULDRON, Blocks.CAULDRON);
612
		this.dropOther(Blocks.LAVA_CAULDRON, Blocks.CAULDRON);
613
		this.dropOther(Blocks.POWDER_SNOW_CAULDRON, Blocks.CAULDRON);
614
		this.dropOther(Blocks.BIG_DRIPLEAF_STEM, Blocks.BIG_DRIPLEAF);
615
		this.add(Blocks.STONE, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.COBBLESTONE));
616
		this.add(Blocks.DEEPSLATE, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.COBBLED_DEEPSLATE));
617
		this.add(Blocks.GRASS_BLOCK, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.DIRT));
618
		this.add(Blocks.PODZOL, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.DIRT));
619
		this.add(Blocks.MYCELIUM, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.DIRT));
620
		this.add(Blocks.TUBE_CORAL_BLOCK, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.DEAD_TUBE_CORAL_BLOCK));
621
		this.add(Blocks.BRAIN_CORAL_BLOCK, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.DEAD_BRAIN_CORAL_BLOCK));
622
		this.add(Blocks.BUBBLE_CORAL_BLOCK, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.DEAD_BUBBLE_CORAL_BLOCK));
623
		this.add(Blocks.FIRE_CORAL_BLOCK, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.DEAD_FIRE_CORAL_BLOCK));
624
		this.add(Blocks.HORN_CORAL_BLOCK, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.DEAD_HORN_CORAL_BLOCK));
625
		this.add(Blocks.CRIMSON_NYLIUM, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.NETHERRACK));
626
		this.add(Blocks.WARPED_NYLIUM, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.NETHERRACK));
627
		this.add(Blocks.BOOKSHELF, block -> this.createSingleItemTableWithSilkTouch(block, Items.BOOK, ContextIntProviders.exactly(3)));
628
		this.add(Blocks.CLAY, block -> this.createSingleItemTableWithSilkTouch(block, Items.CLAY_BALL, ContextIntProviders.exactly(4)));
629
		this.add(Blocks.ENDER_CHEST, block -> this.createSingleItemTableWithSilkTouch(block, Blocks.OBSIDIAN, ContextIntProviders.exactly(8)));
630
		this.add(Blocks.SNOW_BLOCK, block -> this.createSingleItemTableWithSilkTouch(block, Items.SNOWBALL, ContextIntProviders.exactly(4)));
631
		this.add(Blocks.CHORUS_PLANT, this.createSingleItemTable(Items.CHORUS_FRUIT, ContextIntProviders.between(0, 1)));
632
		this.dropPottedContents(Blocks.POTTED_OAK_SAPLING);
633
		this.dropPottedContents(Blocks.POTTED_SPRUCE_SAPLING);
634
		this.dropPottedContents(Blocks.POTTED_BIRCH_SAPLING);
635
		this.dropPottedContents(Blocks.POTTED_JUNGLE_SAPLING);
636
		this.dropPottedContents(Blocks.POTTED_ACACIA_SAPLING);
637
		this.dropPottedContents(Blocks.POTTED_DARK_OAK_SAPLING);
638
		this.dropPottedContents(Blocks.POTTED_PALE_OAK_SAPLING);
639
		this.dropPottedContents(Blocks.POTTED_POPLAR_SAPLING);
640
		this.dropPottedContents(Blocks.POTTED_MANGROVE_PROPAGULE);
641
		this.dropPottedContents(Blocks.POTTED_CHERRY_SAPLING);
642
		this.dropPottedContents(Blocks.POTTED_FERN);
643
		this.dropPottedContents(Blocks.POTTED_DANDELION);
644
		this.dropPottedContents(Blocks.POTTED_GOLDEN_DANDELION);
645
		this.dropPottedContents(Blocks.POTTED_POPPY);
646
		this.dropPottedContents(Blocks.POTTED_OPEN_EYEBLOSSOM);
647
		this.dropPottedContents(Blocks.POTTED_CLOSED_EYEBLOSSOM);
648
		this.dropPottedContents(Blocks.POTTED_BLUE_ORCHID);
649
		this.dropPottedContents(Blocks.POTTED_ALLIUM);
650
		this.dropPottedContents(Blocks.POTTED_AZURE_BLUET);
651
		this.dropPottedContents(Blocks.POTTED_RED_TULIP);
652
		this.dropPottedContents(Blocks.POTTED_ORANGE_TULIP);
653
		this.dropPottedContents(Blocks.POTTED_WHITE_TULIP);
654
		this.dropPottedContents(Blocks.POTTED_PINK_TULIP);
655
		this.dropPottedContents(Blocks.POTTED_OXEYE_DAISY);
656
		this.dropPottedContents(Blocks.POTTED_CORNFLOWER);
657
		this.dropPottedContents(Blocks.POTTED_LILY_OF_THE_VALLEY);
658
		this.dropPottedContents(Blocks.POTTED_WITHER_ROSE);
659
		this.dropPottedContents(Blocks.POTTED_RED_MUSHROOM);
660
		this.dropPottedContents(Blocks.POTTED_BROWN_MUSHROOM);
661
		this.dropPottedContents(Blocks.POTTED_DEAD_BUSH);
662
		this.dropPottedContents(Blocks.POTTED_CACTUS);
663
		this.dropPottedContents(Blocks.POTTED_BAMBOO);
664
		this.dropPottedContents(Blocks.POTTED_CRIMSON_FUNGUS);
665
		this.dropPottedContents(Blocks.POTTED_WARPED_FUNGUS);
666
		this.dropPottedContents(Blocks.POTTED_CRIMSON_ROOTS);
667
		this.dropPottedContents(Blocks.POTTED_WARPED_ROOTS);
668
		this.dropPottedContents(Blocks.POTTED_AZALEA);
669
		this.dropPottedContents(Blocks.POTTED_FLOWERING_AZALEA);
670
		this.dropPottedContents(Blocks.POTTED_TORCHFLOWER);
671
		this.add(Blocks.OAK_SLAB, x$0 -> this.createSlabItemTable(x$0));
672
		this.add(Blocks.PETRIFIED_OAK_SLAB, x$0 -> this.createSlabItemTable(x$0));
673
		this.add(Blocks.SPRUCE_SLAB, x$0 -> this.createSlabItemTable(x$0));
674
		this.add(Blocks.BIRCH_SLAB, x$0 -> this.createSlabItemTable(x$0));
675
		this.add(Blocks.JUNGLE_SLAB, x$0 -> this.createSlabItemTable(x$0));
676
		this.add(Blocks.ACACIA_SLAB, x$0 -> this.createSlabItemTable(x$0));
677
		this.add(Blocks.DARK_OAK_SLAB, x$0 -> this.createSlabItemTable(x$0));
678
		this.add(Blocks.PALE_OAK_SLAB, x$0 -> this.createSlabItemTable(x$0));
679
		this.add(Blocks.MANGROVE_SLAB, x$0 -> this.createSlabItemTable(x$0));
680
		this.add(Blocks.POPLAR_SLAB, x$0 -> this.createSlabItemTable(x$0));
681
		this.add(Blocks.CHERRY_SLAB, x$0 -> this.createSlabItemTable(x$0));
682
		this.add(Blocks.BAMBOO_SLAB, x$0 -> this.createSlabItemTable(x$0));
683
		this.add(Blocks.BAMBOO_MOSAIC_SLAB, x$0 -> this.createSlabItemTable(x$0));
684
		this.add(Blocks.BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
685
		this.add(Blocks.COBBLESTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
686
		this.add(Blocks.DARK_PRISMARINE_SLAB, x$0 -> this.createSlabItemTable(x$0));
687
		this.add(Blocks.NETHER_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
688
		this.add(Blocks.PRISMARINE_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
689
		this.add(Blocks.PRISMARINE_SLAB, x$0 -> this.createSlabItemTable(x$0));
690
		this.add(Blocks.PURPUR_SLAB, x$0 -> this.createSlabItemTable(x$0));
691
		this.add(Blocks.QUARTZ_SLAB, x$0 -> this.createSlabItemTable(x$0));
692
		this.add(Blocks.RED_SANDSTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
693
		this.add(Blocks.SANDSTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
694
		this.add(Blocks.CUT_RED_SANDSTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
695
		this.add(Blocks.CUT_SANDSTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
696
		this.add(Blocks.STONE_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
697
		this.add(Blocks.STONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
698
		this.add(Blocks.SMOOTH_STONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
699
		this.add(Blocks.POLISHED_GRANITE_SLAB, x$0 -> this.createSlabItemTable(x$0));
700
		this.add(Blocks.SMOOTH_RED_SANDSTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
701
		this.add(Blocks.MOSSY_STONE_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
702
		this.add(Blocks.POLISHED_DIORITE_SLAB, x$0 -> this.createSlabItemTable(x$0));
703
		this.add(Blocks.MOSSY_COBBLESTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
704
		this.add(Blocks.END_STONE_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
705
		this.add(Blocks.SMOOTH_SANDSTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
706
		this.add(Blocks.SMOOTH_QUARTZ_SLAB, x$0 -> this.createSlabItemTable(x$0));
707
		this.add(Blocks.GRANITE_SLAB, x$0 -> this.createSlabItemTable(x$0));
708
		this.add(Blocks.ANDESITE_SLAB, x$0 -> this.createSlabItemTable(x$0));
709
		this.add(Blocks.RED_NETHER_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
710
		this.add(Blocks.POLISHED_ANDESITE_SLAB, x$0 -> this.createSlabItemTable(x$0));
711
		this.add(Blocks.DIORITE_SLAB, x$0 -> this.createSlabItemTable(x$0));
712
		this.add(Blocks.CRIMSON_SLAB, x$0 -> this.createSlabItemTable(x$0));
713
		this.add(Blocks.WARPED_SLAB, x$0 -> this.createSlabItemTable(x$0));
714
		this.add(Blocks.BLACKSTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
715
		this.add(Blocks.POLISHED_BLACKSTONE_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
716
		this.add(Blocks.POLISHED_BLACKSTONE_SLAB, x$0 -> this.createSlabItemTable(x$0));
717
		Blocks.CUT_COPPER_SLAB.forEach(block -> {
718
			VanillaBlockLoot rec$ = this;
719
			this.add(block, x$0 -> rec$.createSlabItemTable(x$0));
720
		});
721
		this.add(Blocks.COBBLED_DEEPSLATE_SLAB, x$0 -> this.createSlabItemTable(x$0));
722
		this.add(Blocks.POLISHED_DEEPSLATE_SLAB, x$0 -> this.createSlabItemTable(x$0));
723
		this.add(Blocks.DEEPSLATE_TILE_SLAB, x$0 -> this.createSlabItemTable(x$0));
724
		this.add(Blocks.DEEPSLATE_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
725
		this.add(Blocks.MUD_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
726
		this.add(Blocks.RESIN_BRICK_SLAB, x$0 -> this.createSlabItemTable(x$0));
727
		this.add(Blocks.OAK_DOOR, x$0 -> this.createDoorTable(x$0));
728
		this.add(Blocks.SPRUCE_DOOR, x$0 -> this.createDoorTable(x$0));
729
		this.add(Blocks.BIRCH_DOOR, x$0 -> this.createDoorTable(x$0));
730
		this.add(Blocks.JUNGLE_DOOR, x$0 -> this.createDoorTable(x$0));
731
		this.add(Blocks.ACACIA_DOOR, x$0 -> this.createDoorTable(x$0));
732
		this.add(Blocks.DARK_OAK_DOOR, x$0 -> this.createDoorTable(x$0));
733
		this.add(Blocks.PALE_OAK_DOOR, x$0 -> this.createDoorTable(x$0));
734
		this.add(Blocks.MANGROVE_DOOR, x$0 -> this.createDoorTable(x$0));
735
		this.add(Blocks.POPLAR_DOOR, x$0 -> this.createDoorTable(x$0));
736
		this.add(Blocks.CHERRY_DOOR, x$0 -> this.createDoorTable(x$0));
737
		this.add(Blocks.BAMBOO_DOOR, x$0 -> this.createDoorTable(x$0));
738
		this.add(Blocks.WARPED_DOOR, x$0 -> this.createDoorTable(x$0));
739
		this.add(Blocks.CRIMSON_DOOR, x$0 -> this.createDoorTable(x$0));
740
		this.add(Blocks.IRON_DOOR, x$0 -> this.createDoorTable(x$0));
741
		Blocks.COPPER_DOOR.forEach(block -> {
742
			VanillaBlockLoot rec$ = this;
743
			this.add(block, x$0 -> rec$.createDoorTable(x$0));
744
		});
745
		Blocks.BED.forEach(block -> this.add(block, var2x -> this.createSinglePropConditionTable(block, BedBlock.PART, BedPart.HEAD)));
746
		this.add(Blocks.STRAW_BED, block -> this.createSinglePropConditionTable(block, BedBlock.PART, BedPart.HEAD));
747
		this.add(Blocks.LILAC, block -> this.createSinglePropConditionTable(block, DoublePlantBlock.HALF, DoubleBlockHalf.LOWER));
748
		this.add(Blocks.SUNFLOWER, block -> this.createSinglePropConditionTable(block, DoublePlantBlock.HALF, DoubleBlockHalf.LOWER));
749
		this.add(Blocks.PEONY, block -> this.createSinglePropConditionTable(block, DoublePlantBlock.HALF, DoubleBlockHalf.LOWER));
750
		this.add(Blocks.ROSE_BUSH, block -> this.createSinglePropConditionTable(block, DoublePlantBlock.HALF, DoubleBlockHalf.LOWER));
751
		this.add(
752
			Blocks.TNT,
753
			LootTable.lootTable()
754
				.withPool(
755
					this.applyExplosionCondition(
756
						Blocks.TNT,
757
						LootPool.lootPool()
758
							.setRolls(ContextIntProviders.exactly(1))
759
							.add(
760
								LootItem.lootTableItem(Blocks.TNT)
761
									.when(MatchBlock.blockMatches(this.blocks, Blocks.TNT, StatePropertiesPredicate.Builder.properties().hasProperty(TntBlock.UNSTABLE, false)))
762
							)
763
					)
764
				)
765
		);
766
		this.add(
767
			Blocks.COCOA,
768
			block -> LootTable.lootTable()
769
				.withPool(
770
					LootPool.lootPool()
771
						.setRolls(ContextIntProviders.exactly(1))
772
						.add(
773
							(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
774
								block,
775
								LootItem.lootTableItem(Items.COCOA_BEANS)
776
									.apply(
777
										SetItemCountFunction.setCount(ContextIntProviders.exactly(3))
778
											.when(MatchBlock.blockMatches(this.blocks, block, StatePropertiesPredicate.Builder.properties().hasProperty(CocoaBlock.AGE, 2)))
779
									)
780
							)
781
						)
782
				)
783
		);
784
		this.add(
785
			Blocks.SHELF_MUSHROOM,
786
			block -> LootTable.lootTable()
787
				.withPool(
788
					LootPool.lootPool()
789
						.setRolls(ContextIntProviders.exactly(1))
790
						.add(
791
							(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
792
								block,
793
								LootItem.lootTableItem(Items.SHELF_MUSHROOM)
794
									.apply(
795
										SetItemCountFunction.setCount(ContextIntProviders.exactly(2))
796
											.when(MatchBlock.blockMatches(this.blocks, block, StatePropertiesPredicate.Builder.properties().hasProperty(ShelfMushroomBlock.AGE, 1)))
797
									)
798
							)
799
						)
800
				)
801
		);
802
		this.add(
803
			Blocks.SEA_PICKLE,
804
			block -> LootTable.lootTable()
805
				.withPool(
806
					LootPool.lootPool()
807
						.setRolls(ContextIntProviders.exactly(1))
808
						.add(
809
							(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
810
								Blocks.SEA_PICKLE,
811
								LootItem.lootTableItem(block)
812
									.apply(
813
										List.of(2, 3, 4),
814
										count -> SetItemCountFunction.setCount(ContextIntProviders.exactly(count))
815
											.when(
816
												MatchBlock.blockMatches(this.blocks, block, StatePropertiesPredicate.Builder.properties().hasProperty(SeaPickleBlock.PICKLES, count.intValue()))
817
											)
818
									)
819
							)
820
						)
821
				)
822
		);
823
		this.add(
824
			Blocks.COMPOSTER,
825
			block -> LootTable.lootTable()
826
				.withPool(LootPool.lootPool().add((LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(block, LootItem.lootTableItem(Items.COMPOSTER))))
827
				.withPool(
828
					LootPool.lootPool()
829
						.add(LootItem.lootTableItem(Items.BONE_MEAL))
830
						.when(MatchBlock.blockMatches(this.blocks, block, StatePropertiesPredicate.Builder.properties().hasProperty(ComposterBlock.LEVEL, 8)))
831
				)
832
		);
833
		this.add(Blocks.CAVE_VINES, x$0 -> this.createCaveVinesDrop(x$0));
834
		this.add(Blocks.CAVE_VINES_PLANT, x$0 -> this.createCaveVinesDrop(x$0));
835
		this.add(Blocks.CANDLE, x$0 -> this.createCandleDrops(x$0));
836
		Blocks.DYED_CANDLE.forEach(block -> {
837
			VanillaBlockLoot rec$ = this;
838
			this.add(block, x$0 -> rec$.createCandleDrops(x$0));
839
		});
840
		this.add(Blocks.BEACON, x$0 -> this.createNameableBlockEntityTable(x$0));
841
		this.add(Blocks.BREWING_STAND, x$0 -> this.createNameableBlockEntityTable(x$0));
842
		this.add(Blocks.CHEST, x$0 -> this.createNameableBlockEntityTable(x$0));
843
		Blocks.COPPER_CHEST.forEach(block -> {
844
			VanillaBlockLoot rec$ = this;
845
			this.add(block, x$0 -> rec$.createNameableBlockEntityTable(x$0));
846
		});
847
		this.add(Blocks.DISPENSER, x$0 -> this.createNameableBlockEntityTable(x$0));
848
		this.add(Blocks.DROPPER, x$0 -> this.createNameableBlockEntityTable(x$0));
849
		this.add(Blocks.ENCHANTING_TABLE, x$0 -> this.createNameableBlockEntityTable(x$0));
850
		this.add(Blocks.FURNACE, x$0 -> this.createNameableBlockEntityTable(x$0));
851
		this.add(Blocks.HOPPER, x$0 -> this.createNameableBlockEntityTable(x$0));
852
		this.add(Blocks.TRAPPED_CHEST, x$0 -> this.createNameableBlockEntityTable(x$0));
853
		this.add(Blocks.SMOKER, x$0 -> this.createNameableBlockEntityTable(x$0));
854
		this.add(Blocks.BLAST_FURNACE, x$0 -> this.createNameableBlockEntityTable(x$0));
855
		this.add(Blocks.BARREL, x$0 -> this.createNameableBlockEntityTable(x$0));
856
		this.dropSelf(Blocks.CARTOGRAPHY_TABLE);
857
		this.dropSelf(Blocks.FLETCHING_TABLE);
858
		this.dropSelf(Blocks.GRINDSTONE);
859
		this.dropSelf(Blocks.LECTERN);
860
		this.dropSelf(Blocks.SMITHING_TABLE);
861
		this.dropSelf(Blocks.STONECUTTER);
862
		this.dropSelf(Blocks.ACACIA_SHELF);
863
		this.dropSelf(Blocks.BAMBOO_SHELF);
864
		this.dropSelf(Blocks.BIRCH_SHELF);
865
		this.dropSelf(Blocks.CHERRY_SHELF);
866
		this.dropSelf(Blocks.CRIMSON_SHELF);
867
		this.dropSelf(Blocks.DARK_OAK_SHELF);
868
		this.dropSelf(Blocks.JUNGLE_SHELF);
869
		this.dropSelf(Blocks.MANGROVE_SHELF);
870
		this.dropSelf(Blocks.POPLAR_SHELF);
871
		this.dropSelf(Blocks.OAK_SHELF);
872
		this.dropSelf(Blocks.PALE_OAK_SHELF);
873
		this.dropSelf(Blocks.SPRUCE_SHELF);
874
		this.dropSelf(Blocks.WARPED_SHELF);
875
		this.add(Blocks.BELL, this::createSingleItemTable);
876
		this.add(Blocks.LANTERN, this::createSingleItemTable);
877
		this.add(Blocks.SOUL_LANTERN, this::createSingleItemTable);
878
		Blocks.COPPER_LANTERN.forEach(block -> this.add(block, this::createSingleItemTable));
879
		this.add(Blocks.SHULKER_BOX, x$0 -> this.createShulkerBoxDrop(x$0));
880
		Blocks.DYED_SHULKER_BOX.forEach(block -> {
881
			VanillaBlockLoot rec$ = this;
882
			this.add(block, x$0 -> rec$.createShulkerBoxDrop(x$0));
883
		});
884
		Blocks.BANNER.forEach(block -> {
885
			VanillaBlockLoot rec$ = this;
886
			this.add(block, x$0 -> rec$.createBannerDrop(x$0));
887
		});
888
		this.add(
889
			Blocks.PLAYER_HEAD,
890
			block -> LootTable.lootTable()
891
				.withPool(
892
					this.applyExplosionCondition(
893
						block,
894
						LootPool.lootPool()
895
							.setRolls(ContextIntProviders.exactly(1))
896
							.add(
897
								LootItem.lootTableItem(block)
898
									.apply(
899
										CopyComponentsFunction.copyComponentsFromBlockEntity(LootContextParams.BLOCK_ENTITY)
900
											.include(DataComponents.PROFILE)
901
											.include(DataComponents.NOTE_BLOCK_SOUND)
902
											.include(DataComponents.CUSTOM_NAME)
903
									)
904
							)
905
					)
906
				)
907
		);
908
		this.add(Blocks.SKELETON_SKULL, this::createMobSkullDrop);
909
		this.add(Blocks.WITHER_SKELETON_SKULL, this::createMobSkullDrop);
910
		this.add(Blocks.ZOMBIE_HEAD, this::createMobSkullDrop);
911
		this.add(Blocks.CREEPER_HEAD, this::createMobSkullDrop);
912
		this.add(Blocks.PIGLIN_HEAD, this::createMobSkullDrop);
913
		this.add(Blocks.DRAGON_HEAD, this::createMobSkullDrop);
914
		this.add(Blocks.BEE_NEST, x$0 -> this.createBeeNestDrop(x$0));
915
		this.add(Blocks.BEEHIVE, x$0 -> this.createBeeHiveDrop(x$0));
916
		this.add(Blocks.OAK_LEAVES, block -> this.createOakLeavesDrops(block, Blocks.OAK_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
917
		this.add(Blocks.SPRUCE_LEAVES, block -> this.createLeavesDrops(block, Blocks.SPRUCE_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
918
		this.add(Blocks.BIRCH_LEAVES, block -> this.createLeavesDrops(block, Blocks.BIRCH_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
919
		this.add(Blocks.JUNGLE_LEAVES, block -> this.createLeavesDrops(block, Blocks.JUNGLE_SAPLING, JUNGLE_LEAVES_SAPLING_CHANGES));
920
		this.add(Blocks.ACACIA_LEAVES, block -> this.createLeavesDrops(block, Blocks.ACACIA_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
921
		this.add(Blocks.DARK_OAK_LEAVES, block -> this.createOakLeavesDrops(block, Blocks.DARK_OAK_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
922
		this.add(Blocks.PALE_OAK_LEAVES, block -> this.createLeavesDrops(block, Blocks.PALE_OAK_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
923
		this.add(Blocks.CHERRY_LEAVES, block -> this.createLeavesDrops(block, Blocks.CHERRY_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
924
		this.add(Blocks.RED_POPLAR_LEAVES, block -> this.createLeavesDrops(block, Blocks.POPLAR_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
925
		this.add(Blocks.ORANGE_POPLAR_LEAVES, block -> this.createLeavesDrops(block, Blocks.POPLAR_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
926
		this.add(Blocks.YELLOW_POPLAR_LEAVES, block -> this.createLeavesDrops(block, Blocks.POPLAR_SAPLING, NORMAL_LEAVES_SAPLING_CHANCES));
927
		this.add(Blocks.AZALEA_LEAVES, block -> this.createLeavesDrops(block, Blocks.AZALEA, NORMAL_LEAVES_SAPLING_CHANCES));
928
		this.add(Blocks.FLOWERING_AZALEA_LEAVES, block -> this.createLeavesDrops(block, Blocks.FLOWERING_AZALEA, NORMAL_LEAVES_SAPLING_CHANCES));
929
		LootItemCondition.Builder isBeetrootMaxAge = MatchBlock.blockMatches(
930
			this.blocks, Blocks.BEETROOTS, StatePropertiesPredicate.Builder.properties().hasProperty(BeetrootBlock.AGE, 3)
931
		);
932
		this.add(Blocks.BEETROOTS, this.createCropDrops(Blocks.BEETROOTS, Items.BEETROOT, Items.BEETROOT_SEEDS, isBeetrootMaxAge));
933
		LootItemCondition.Builder isWheatMaxAge = MatchBlock.blockMatches(
934
			this.blocks, Blocks.WHEAT, StatePropertiesPredicate.Builder.properties().hasProperty(CropBlock.AGE, 7)
935
		);
936
		this.add(Blocks.WHEAT, this.createCropDrops(Blocks.WHEAT, Items.WHEAT, Items.WHEAT_SEEDS, isWheatMaxAge));
937
		LootItemCondition.Builder isCarrotMaxAge = MatchBlock.blockMatches(
938
			this.blocks, Blocks.CARROTS, StatePropertiesPredicate.Builder.properties().hasProperty(CarrotBlock.AGE, 7)
939
		);
940
		LootItemCondition.Builder isMangrovePropaguleMaxAge = MatchBlock.blockMatches(
941
			this.blocks, Blocks.MANGROVE_PROPAGULE, StatePropertiesPredicate.Builder.properties().hasProperty(MangrovePropaguleBlock.AGE, 4)
942
		);
943
		this.add(
944
			Blocks.MANGROVE_PROPAGULE,
945
			this.applyExplosionDecay(
946
				Blocks.MANGROVE_PROPAGULE,
947
				LootTable.lootTable().withPool(LootPool.lootPool().when(isMangrovePropaguleMaxAge).add(LootItem.lootTableItem(Items.MANGROVE_PROPAGULE)))
948
			)
949
		);
950
		this.add(
951
			Blocks.TORCHFLOWER_CROP,
952
			this.applyExplosionDecay(Blocks.TORCHFLOWER_CROP, LootTable.lootTable().withPool(LootPool.lootPool().add(LootItem.lootTableItem(Items.TORCHFLOWER_SEEDS))))
953
		);
954
		this.dropSelf(Blocks.SNIFFER_EGG);
955
		this.dropSelf(Blocks.DRIED_GHAST);
956
		this.add(Blocks.PITCHER_CROP, block -> this.createPitcherCropLoot());
957
		this.dropSelf(Blocks.PITCHER_PLANT);
958
		this.add(
959
			Blocks.PITCHER_PLANT,
960
			this.applyExplosionDecay(
961
				Blocks.PITCHER_PLANT,
962
				LootTable.lootTable()
963
					.withPool(
964
						LootPool.lootPool()
965
							.add(
966
								LootItem.lootTableItem(Items.PITCHER_PLANT)
967
									.when(
968
										MatchBlock.blockMatches(
969
											this.blocks, Blocks.PITCHER_PLANT, StatePropertiesPredicate.Builder.properties().hasProperty(DoublePlantBlock.HALF, DoubleBlockHalf.LOWER)
970
										)
971
									)
972
							)
973
					)
974
			)
975
		);
976
		this.add(
977
			Blocks.CARROTS,
978
			this.applyExplosionDecay(
979
				Blocks.CARROTS,
980
				LootTable.lootTable()
981
					.withPool(LootPool.lootPool().add(LootItem.lootTableItem(Items.CARROT)))
982
					.withPool(
983
						LootPool.lootPool()
984
							.when(isCarrotMaxAge)
985
							.add(
986
								LootItem.lootTableItem(Items.CARROT)
987
									.apply(ApplyBonusCount.addBonusBinomialDistributionCount(this.enchantments.getOrThrow(Enchantments.FORTUNE), 0.5714286F, 3))
988
							)
989
					)
990
			)
991
		);
992
		LootItemCondition.Builder isPotatoMaxAge = MatchBlock.blockMatches(
993
			this.blocks, Blocks.POTATOES, StatePropertiesPredicate.Builder.properties().hasProperty(PotatoBlock.AGE, 7)
994
		);
995
		this.add(
996
			Blocks.POTATOES,
997
			this.applyExplosionDecay(
998
				Blocks.POTATOES,
999
				LootTable.lootTable()
1000
					.withPool(LootPool.lootPool().add(LootItem.lootTableItem(Items.POTATO)))
1001
					.withPool(
1002
						LootPool.lootPool()
1003
							.when(isPotatoMaxAge)
1004
							.add(
1005
								LootItem.lootTableItem(Items.POTATO)
1006
									.apply(ApplyBonusCount.addBonusBinomialDistributionCount(this.enchantments.getOrThrow(Enchantments.FORTUNE), 0.5714286F, 3))
1007
							)
1008
					)
1009
					.withPool(
1010
						LootPool.lootPool().when(isPotatoMaxAge).add(LootItem.lootTableItem(Items.POISONOUS_POTATO).when(LootItemRandomChanceCondition.randomChance(0.02F)))
1011
					)
1012
			)
1013
		);
1014
		this.add(
1015
			Blocks.SWEET_BERRY_BUSH,
1016
			block -> this.applyExplosionDecay(
1017
				block,
1018
				LootTable.lootTable()
1019
					.withPool(
1020
						LootPool.lootPool()
1021
							.when(
1022
								MatchBlock.blockMatches(this.blocks, Blocks.SWEET_BERRY_BUSH, StatePropertiesPredicate.Builder.properties().hasProperty(SweetBerryBushBlock.AGE, 3))
1023
							)
1024
							.add(LootItem.lootTableItem(Items.SWEET_BERRIES))
1025
							.apply(SetItemCountFunction.setCount(ContextIntProviders.between(2, 3)))
1026
							.apply(ApplyBonusCount.addUniformBonusCount(this.enchantments.getOrThrow(Enchantments.FORTUNE)))
1027
					)
1028
					.withPool(
1029
						LootPool.lootPool()
1030
							.when(
1031
								MatchBlock.blockMatches(this.blocks, Blocks.SWEET_BERRY_BUSH, StatePropertiesPredicate.Builder.properties().hasProperty(SweetBerryBushBlock.AGE, 2))
1032
							)
1033
							.add(LootItem.lootTableItem(Items.SWEET_BERRIES))
1034
							.apply(SetItemCountFunction.setCount(ContextIntProviders.between(1, 2)))
1035
							.apply(ApplyBonusCount.addUniformBonusCount(this.enchantments.getOrThrow(Enchantments.FORTUNE)))
1036
					)
1037
			)
1038
		);
1039
		this.add(Blocks.BROWN_MUSHROOM_BLOCK, block -> this.createMushroomBlockDrop(block, Blocks.BROWN_MUSHROOM));
1040
		this.add(Blocks.RED_MUSHROOM_BLOCK, block -> this.createMushroomBlockDrop(block, Blocks.RED_MUSHROOM));
1041
		this.add(Blocks.COAL_ORE, block -> this.createOreDrop(block, Items.COAL));
1042
		this.add(Blocks.DEEPSLATE_COAL_ORE, block -> this.createOreDrop(block, Items.COAL));
1043
		this.add(Blocks.EMERALD_ORE, block -> this.createOreDrop(block, Items.EMERALD));
1044
		this.add(Blocks.DEEPSLATE_EMERALD_ORE, block -> this.createOreDrop(block, Items.EMERALD));
1045
		this.add(Blocks.NETHER_QUARTZ_ORE, block -> this.createOreDrop(block, Items.QUARTZ));
1046
		this.add(Blocks.DIAMOND_ORE, block -> this.createOreDrop(block, Items.DIAMOND));
1047
		this.add(Blocks.DEEPSLATE_DIAMOND_ORE, block -> this.createOreDrop(block, Items.DIAMOND));
1048
		this.add(Blocks.COPPER_ORE, x$0 -> this.createCopperOreDrops(x$0));
1049
		this.add(Blocks.DEEPSLATE_COPPER_ORE, x$0 -> this.createCopperOreDrops(x$0));
1050
		this.add(Blocks.IRON_ORE, block -> this.createOreDrop(block, Items.RAW_IRON));
1051
		this.add(Blocks.DEEPSLATE_IRON_ORE, block -> this.createOreDrop(block, Items.RAW_IRON));
1052
		this.add(Blocks.GOLD_ORE, block -> this.createOreDrop(block, Items.RAW_GOLD));
1053
		this.add(Blocks.DEEPSLATE_GOLD_ORE, block -> this.createOreDrop(block, Items.RAW_GOLD));
1054
		this.add(
1055
			Blocks.NETHER_GOLD_ORE,
1056
			block -> this.createSilkTouchDispatchTable(
1057
				block,
1058
				(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
1059
					block,
1060
					LootItem.lootTableItem(Items.GOLD_NUGGET)
1061
						.apply(SetItemCountFunction.setCount(ContextIntProviders.between(2, 6)))
1062
						.apply(ApplyBonusCount.addOreBonusCount(this.enchantments.getOrThrow(Enchantments.FORTUNE)))
1063
				)
1064
			)
1065
		);
1066
		this.add(Blocks.LAPIS_ORE, x$0 -> this.createLapisOreDrops(x$0));
1067
		this.add(Blocks.DEEPSLATE_LAPIS_ORE, x$0 -> this.createLapisOreDrops(x$0));
1068
		this.add(
1069
			Blocks.COBWEB,
1070
			block -> this.createSilkTouchOrShearsDispatchTable(
1071
				block, (LootPoolEntryContainer.Builder<?>)this.applyExplosionCondition(block, LootItem.lootTableItem(Items.STRING))
1072
			)
1073
		);
1074
		this.add(
1075
			Blocks.DEAD_BUSH,
1076
			block -> this.createShearsDispatchTable(
1077
				block,
1078
				(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
1079
					block, LootItem.lootTableItem(Items.STICK).apply(SetItemCountFunction.setCount(ContextIntProviders.between(0, 2)))
1080
				)
1081
			)
1082
		);
1083
		this.add(Blocks.SHORT_DRY_GRASS, x$0 -> this.createShearsOrSilkTouchOnlyDrop(x$0));
1084
		this.add(Blocks.TALL_DRY_GRASS, x$0 -> this.createShearsOrSilkTouchOnlyDrop(x$0));
1085
		this.add(Blocks.BUSH, x$0 -> this.createShearsOrSilkTouchOnlyDrop(x$0));
1086
		this.add(Blocks.NETHER_SPROUTS, x$0 -> this.createShearsOnlyDrop(x$0));
1087
		this.add(Blocks.SEAGRASS, x$0 -> this.createShearsOnlyDrop(x$0));
1088
		this.add(Blocks.VINE, x$0 -> this.createShearsOnlyDrop(x$0));
1089
		this.add(Blocks.GLOW_LICHEN, block -> this.createMultifaceBlockDrops(block, this.hasShears()));
1090
		this.add(Blocks.RESIN_CLUMP, x$0 -> this.createMultifaceBlockDrops(x$0));
1091
		this.add(Blocks.HANGING_ROOTS, x$0 -> this.createShearsOnlyDrop(x$0));
1092
		this.add(Blocks.SMALL_DRIPLEAF, x$0 -> this.createShearsOnlyDrop(x$0));
1093
		this.add(Blocks.MANGROVE_LEAVES, x$0 -> this.createMangroveLeavesDrops(x$0));
1094
		this.add(Blocks.TALL_SEAGRASS, this.createDoublePlantShearsDrop(Blocks.SEAGRASS));
1095
		this.add(Blocks.LARGE_FERN, block -> this.createDoublePlantWithSeedDrops(block, Blocks.FERN));
1096
		this.add(Blocks.TALL_GRASS, block -> this.createDoublePlantWithSeedDrops(block, Blocks.SHORT_GRASS));
1097
		this.add(Blocks.MELON_STEM, block -> this.createStemDrops(block, Items.MELON_SEEDS));
1098
		this.add(Blocks.ATTACHED_MELON_STEM, block -> this.createAttachedStemDrops(block, Items.MELON_SEEDS));
1099
		this.add(Blocks.PUMPKIN_STEM, block -> this.createStemDrops(block, Items.PUMPKIN_SEEDS));
1100
		this.add(Blocks.ATTACHED_PUMPKIN_STEM, block -> this.createAttachedStemDrops(block, Items.PUMPKIN_SEEDS));
1101
		this.add(
1102
			Blocks.CHORUS_FLOWER,
1103
			block -> LootTable.lootTable()
1104
				.withPool(
1105
					LootPool.lootPool()
1106
						.setRolls(ContextIntProviders.exactly(1))
1107
						.add(
1108
							(LootPoolEntryContainer.Builder<?>)((UniformContainerBase.Builder)this.applyExplosionCondition(block, LootItem.lootTableItem(block)))
1109
								.when(LootItemEntityPropertyCondition.entityPresent(LootContext.EntityTarget.THIS))
1110
						)
1111
				)
1112
		);
1113
		this.add(Blocks.FERN, x$0 -> this.createGrassDrops(x$0));
1114
		this.add(Blocks.SHORT_GRASS, x$0 -> this.createGrassDrops(x$0));
1115
		this.add(
1116
			Blocks.GLOWSTONE,
1117
			block -> this.createSilkTouchDispatchTable(
1118
				block,
1119
				(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
1120
					block,
1121
					LootItem.lootTableItem(Items.GLOWSTONE_DUST)
1122
						.apply(SetItemCountFunction.setCount(ContextIntProviders.between(2, 4)))
1123
						.apply(ApplyBonusCount.addUniformBonusCount(this.enchantments.getOrThrow(Enchantments.FORTUNE)))
1124
						.apply(LimitCount.limitCount(IntLimit.range(1, 4)))
1125
				)
1126
			)
1127
		);
1128
		this.add(
1129
			Blocks.MELON,
1130
			block -> this.createSilkTouchDispatchTable(
1131
				block,
1132
				(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
1133
					block,
1134
					LootItem.lootTableItem(Items.MELON_SLICE)
1135
						.apply(SetItemCountFunction.setCount(ContextIntProviders.between(3, 7)))
1136
						.apply(ApplyBonusCount.addUniformBonusCount(this.enchantments.getOrThrow(Enchantments.FORTUNE)))
1137
						.apply(LimitCount.limitCount(IntLimit.upperBound(9)))
1138
				)
1139
			)
1140
		);
1141
		this.add(Blocks.REDSTONE_ORE, x$0 -> this.createRedstoneOreDrops(x$0));
1142
		this.add(Blocks.DEEPSLATE_REDSTONE_ORE, x$0 -> this.createRedstoneOreDrops(x$0));
1143
		this.add(
1144
			Blocks.SEA_LANTERN,
1145
			block -> this.createSilkTouchDispatchTable(
1146
				block,
1147
				(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
1148
					block,
1149
					LootItem.lootTableItem(Items.PRISMARINE_CRYSTALS)
1150
						.apply(SetItemCountFunction.setCount(ContextIntProviders.between(2, 3)))
1151
						.apply(ApplyBonusCount.addUniformBonusCount(this.enchantments.getOrThrow(Enchantments.FORTUNE)))
1152
						.apply(LimitCount.limitCount(IntLimit.range(1, 5)))
1153
				)
1154
			)
1155
		);
1156
		this.add(
1157
			Blocks.CREAKING_HEART,
1158
			block -> this.createSilkTouchDispatchTable(
1159
				block,
1160
				(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
1161
					block,
1162
					LootItem.lootTableItem(Items.RESIN_CLUMP)
1163
						.apply(SetItemCountFunction.setCount(ContextIntProviders.between(1, 3)))
1164
						.apply(ApplyBonusCount.addUniformBonusCount(this.enchantments.getOrThrow(Enchantments.FORTUNE)))
1165
						.apply(LimitCount.limitCount(IntLimit.upperBound(9)))
1166
				)
1167
			)
1168
		);
1169
		this.add(
1170
			Blocks.NETHER_WART,
1171
			block -> LootTable.lootTable()
1172
				.withPool(
1173
					this.applyExplosionDecay(
1174
						block,
1175
						LootPool.lootPool()
1176
							.setRolls(ContextIntProviders.exactly(1))
1177
							.add(
1178
								LootItem.lootTableItem(Items.NETHER_WART)
1179
									.apply(
1180
										SetItemCountFunction.setCount(ContextIntProviders.between(2, 4))
1181
											.when(MatchBlock.blockMatches(this.blocks, block, StatePropertiesPredicate.Builder.properties().hasProperty(NetherWartBlock.AGE, 3)))
1182
									)
1183
									.apply(
1184
										ApplyBonusCount.addUniformBonusCount(this.enchantments.getOrThrow(Enchantments.FORTUNE))
1185
											.when(MatchBlock.blockMatches(this.blocks, block, StatePropertiesPredicate.Builder.properties().hasProperty(NetherWartBlock.AGE, 3)))
1186
									)
1187
							)
1188
					)
1189
				)
1190
		);
1191
		this.add(
1192
			Blocks.SNOW,
1193
			block -> LootTable.lootTable()
1194
				.withPool(
1195
					LootPool.lootPool()
1196
						.when(LootItemEntityPropertyCondition.entityPresent(LootContext.EntityTarget.THIS))
1197
						.add(
1198
							AlternativesEntry.alternatives(
1199
								AlternativesEntry.alternatives(
1200
										SnowLayerBlock.LAYERS.getPossibleValues(),
1201
										layers -> LootItem.lootTableItem(Items.SNOWBALL)
1202
											.when(
1203
												MatchBlock.blockMatches(this.blocks, block, StatePropertiesPredicate.Builder.properties().hasProperty(SnowLayerBlock.LAYERS, layers.intValue()))
1204
											)
1205
											.apply(SetItemCountFunction.setCount(ContextIntProviders.exactly(layers)))
1206
									)
1207
									.when(this.doesNotHaveSilkTouch()),
1208
								AlternativesEntry.alternatives(
1209
									SnowLayerBlock.LAYERS.getPossibleValues(),
1210
									layers -> layers == 8
1211
										? LootItem.lootTableItem(Blocks.SNOW_BLOCK)
1212
										: LootItem.lootTableItem(Blocks.SNOW)
1213
											.apply(SetItemCountFunction.setCount(ContextIntProviders.exactly(layers)))
1214
											.when(
1215
												MatchBlock.blockMatches(this.blocks, block, StatePropertiesPredicate.Builder.properties().hasProperty(SnowLayerBlock.LAYERS, layers.intValue()))
1216
											)
1217
								)
1218
							)
1219
						)
1220
				)
1221
		);
1222
		this.add(
1223
			Blocks.GRAVEL,
1224
			block -> this.createSilkTouchDispatchTable(
1225
				block,
1226
				this.applyExplosionCondition(
1227
					block,
1228
					LootItem.lootTableItem(Items.FLINT)
1229
						.when(BonusLevelTableCondition.bonusLevelFlatChance(this.enchantments.getOrThrow(Enchantments.FORTUNE), 0.1F, 0.14285715F, 0.25F, 1.0F))
1230
						.otherwise(LootItem.lootTableItem(block))
1231
				)
1232
			)
1233
		);
1234
		this.add(
1235
			Blocks.CAMPFIRE,
1236
			block -> this.createSilkTouchDispatchTable(
1237
				block,
1238
				(LootPoolEntryContainer.Builder<?>)this.applyExplosionCondition(
1239
					block, LootItem.lootTableItem(Items.CHARCOAL).apply(SetItemCountFunction.setCount(ContextIntProviders.exactly(2)))
1240
				)
1241
			)
1242
		);
1243
		this.add(
1244
			Blocks.GILDED_BLACKSTONE,
1245
			block -> this.createSilkTouchDispatchTable(
1246
				block,
1247
				this.applyExplosionCondition(
1248
					block,
1249
					LootItem.lootTableItem(Items.GOLD_NUGGET)
1250
						.apply(SetItemCountFunction.setCount(ContextIntProviders.between(2, 5)))
1251
						.when(BonusLevelTableCondition.bonusLevelFlatChance(this.enchantments.getOrThrow(Enchantments.FORTUNE), 0.1F, 0.14285715F, 0.25F, 1.0F))
1252
						.otherwise(LootItem.lootTableItem(block))
1253
				)
1254
			)
1255
		);
1256
		this.add(
1257
			Blocks.SOUL_CAMPFIRE,
1258
			block -> this.createSilkTouchDispatchTable(
1259
				block,
1260
				(LootPoolEntryContainer.Builder<?>)this.applyExplosionCondition(
1261
					block, LootItem.lootTableItem(Items.SOUL_SOIL).apply(SetItemCountFunction.setCount(ContextIntProviders.exactly(1)))
1262
				)
1263
			)
1264
		);
1265
		this.add(
1266
			Blocks.AMETHYST_CLUSTER,
1267
			block -> this.createSilkTouchDispatchTable(
1268
				block,
1269
				LootItem.lootTableItem(Items.AMETHYST_SHARD)
1270
					.apply(SetItemCountFunction.setCount(ContextIntProviders.exactly(4)))
1271
					.apply(ApplyBonusCount.addOreBonusCount(this.enchantments.getOrThrow(Enchantments.FORTUNE)))
1272
					.when(MatchTool.toolMatches(ItemPredicate.Builder.item().of(this.items, ItemTags.CLUSTER_MAX_HARVESTABLES)))
1273
					.otherwise(
1274
						(LootPoolEntryContainer.Builder<?>)this.applyExplosionDecay(
1275
							block, LootItem.lootTableItem(Items.AMETHYST_SHARD).apply(SetItemCountFunction.setCount(ContextIntProviders.exactly(2)))
1276
						)
1277
					)
1278
			)
1279
		);
1280
		this.dropWhenSilkTouch(Blocks.SMALL_AMETHYST_BUD);
1281
		this.dropWhenSilkTouch(Blocks.MEDIUM_AMETHYST_BUD);
1282
		this.dropWhenSilkTouch(Blocks.LARGE_AMETHYST_BUD);
1283
		this.dropWhenSilkTouch(Blocks.GLASS);
1284
		Blocks.STAINED_GLASS.forEach(x$0 -> this.dropWhenSilkTouch(x$0));
1285
		this.dropWhenSilkTouch(Blocks.GLASS_PANE);
1286
		Blocks.STAINED_GLASS_PANE.forEach(x$0 -> this.dropWhenSilkTouch(x$0));
1287
		this.dropWhenSilkTouch(Blocks.ICE);
1288
		this.dropWhenSilkTouch(Blocks.PACKED_ICE);
1289
		this.dropWhenSilkTouch(Blocks.BLUE_ICE);
1290
		this.dropWhenSilkTouch(Blocks.TURTLE_EGG);
1291
		this.dropWhenSilkTouch(Blocks.MUSHROOM_STEM);
1292
		this.dropWhenSilkTouch(Blocks.DEAD_TUBE_CORAL);
1293
		this.dropWhenSilkTouch(Blocks.DEAD_BRAIN_CORAL);
1294
		this.dropWhenSilkTouch(Blocks.DEAD_BUBBLE_CORAL);
1295
		this.dropWhenSilkTouch(Blocks.DEAD_FIRE_CORAL);
1296
		this.dropWhenSilkTouch(Blocks.DEAD_HORN_CORAL);
1297
		this.dropWhenSilkTouch(Blocks.TUBE_CORAL);
1298
		this.dropWhenSilkTouch(Blocks.BRAIN_CORAL);
1299
		this.dropWhenSilkTouch(Blocks.BUBBLE_CORAL);
1300
		this.dropWhenSilkTouch(Blocks.FIRE_CORAL);
1301
		this.dropWhenSilkTouch(Blocks.HORN_CORAL);
1302
		this.dropWhenSilkTouch(Blocks.DEAD_TUBE_CORAL_FAN);
1303
		this.dropWhenSilkTouch(Blocks.DEAD_BRAIN_CORAL_FAN);
1304
		this.dropWhenSilkTouch(Blocks.DEAD_BUBBLE_CORAL_FAN);
1305
		this.dropWhenSilkTouch(Blocks.DEAD_FIRE_CORAL_FAN);
1306
		this.dropWhenSilkTouch(Blocks.DEAD_HORN_CORAL_FAN);
1307
		this.dropWhenSilkTouch(Blocks.TUBE_CORAL_FAN);
1308
		this.dropWhenSilkTouch(Blocks.BRAIN_CORAL_FAN);
1309
		this.dropWhenSilkTouch(Blocks.BUBBLE_CORAL_FAN);
1310
		this.dropWhenSilkTouch(Blocks.FIRE_CORAL_FAN);
1311
		this.dropWhenSilkTouch(Blocks.HORN_CORAL_FAN);
1312
		this.otherWhenSilkTouch(Blocks.INFESTED_STONE, Blocks.STONE);
1313
		this.otherWhenSilkTouch(Blocks.INFESTED_COBBLESTONE, Blocks.COBBLESTONE);
1314
		this.otherWhenSilkTouch(Blocks.INFESTED_STONE_BRICKS, Blocks.STONE_BRICKS);
1315
		this.otherWhenSilkTouch(Blocks.INFESTED_MOSSY_STONE_BRICKS, Blocks.MOSSY_STONE_BRICKS);
1316
		this.otherWhenSilkTouch(Blocks.INFESTED_CRACKED_STONE_BRICKS, Blocks.CRACKED_STONE_BRICKS);
1317
		this.otherWhenSilkTouch(Blocks.INFESTED_CHISELED_STONE_BRICKS, Blocks.CHISELED_STONE_BRICKS);
1318
		this.otherWhenSilkTouch(Blocks.INFESTED_DEEPSLATE, Blocks.DEEPSLATE);
1319
		this.addNetherVinesDropTable(Blocks.WEEPING_VINES, Blocks.WEEPING_VINES_PLANT);
1320
		this.addNetherVinesDropTable(Blocks.TWISTING_VINES, Blocks.TWISTING_VINES_PLANT);
1321
		this.add(Blocks.CAKE, noDrop());
1322
		this.add(Blocks.CANDLE_CAKE, createCandleCakeDrops(Blocks.CANDLE));
1323
		ColorCollection.zipApply(Blocks.DYED_CANDLE_CAKE, Blocks.DYED_CANDLE, (cake, candle) -> this.add(cake, createCandleCakeDrops(candle)));
1324
		this.add(Blocks.FROSTED_ICE, noDrop());
1325
		this.add(Blocks.SPAWNER, noDrop());
1326
		this.add(Blocks.TRIAL_SPAWNER, noDrop());
1327
		this.add(Blocks.VAULT, noDrop());
1328
		this.add(Blocks.FIRE, noDrop());
1329
		this.add(Blocks.SOUL_FIRE, noDrop());
1330
		this.add(Blocks.NETHER_PORTAL, noDrop());
1331
		this.add(Blocks.BUDDING_AMETHYST, noDrop());
1332
		this.add(Blocks.POWDER_SNOW, noDrop());
1333
		this.add(Blocks.FROGSPAWN, noDrop());
1334
		this.add(Blocks.REINFORCED_DEEPSLATE, noDrop());
1335
		this.add(Blocks.SUSPICIOUS_SAND, noDrop());
1336
		this.add(Blocks.SUSPICIOUS_GRAVEL, noDrop());
1337
	}
1338
1339
	private LootTable.Builder createDecoratedPotTable(final Block original) {
1340
		return LootTable.lootTable()
1341
			.withPool(
1342
				LootPool.lootPool()
1343
					.setRolls(ContextIntProviders.exactly(1))
1344
					.add(
1345
						DynamicLoot.dynamicEntry(DecoratedPotBlock.SHERDS_DYNAMIC_DROP_ID)
1346
							.when(MatchBlock.blockMatches(this.blocks, original, StatePropertiesPredicate.Builder.properties().hasProperty(DecoratedPotBlock.CRACKED, true)))
1347
							.otherwise(
1348
								LootItem.lootTableItem(original)
1349
									.apply(CopyComponentsFunction.copyComponentsFromBlockEntity(LootContextParams.BLOCK_ENTITY).include(DataComponents.POT_DECORATIONS))
1350
							)
1351
					)
1352
			);
1353
	}
1354
1355
	private LootTable.Builder createPitcherCropLoot() {
1356
		return this.applyExplosionDecay(
1357
			Blocks.PITCHER_CROP,
1358
			LootTable.lootTable()
1359
				.withPool(
1360
					LootPool.lootPool()
1361
						.add(
1362
							AlternativesEntry.alternatives(
1363
								PitcherCropBlock.AGE.getPossibleValues(),
1364
								age -> {
1365
									LootItemCondition.Builder isLowerPart = MatchBlock.blockMatches(
1366
										this.blocks, Blocks.PITCHER_CROP, StatePropertiesPredicate.Builder.properties().hasProperty(DoublePlantBlock.HALF, DoubleBlockHalf.LOWER)
1367
									);
1368
									LootItemCondition.Builder isAge = MatchBlock.blockMatches(
1369
										this.blocks, Blocks.PITCHER_CROP, StatePropertiesPredicate.Builder.properties().hasProperty(PitcherCropBlock.AGE, age.intValue())
1370
									);
1371
									return age == 4
1372
										? LootItem.lootTableItem(Items.PITCHER_PLANT).when(isAge).when(isLowerPart).apply(SetItemCountFunction.setCount(ContextIntProviders.exactly(1)))
1373
										: LootItem.lootTableItem(Items.PITCHER_POD).when(isAge).when(isLowerPart).apply(SetItemCountFunction.setCount(ContextIntProviders.exactly(1)));
1374
								}
1375
							)
1376
						)
1377
				)
1378
		);
1379
	}
1380
1381
	private LootTable.Builder createMobSkullDrop(final Block block) {
1382
		return LootTable.lootTable()
1383
			.withPool(
1384
				this.applyExplosionCondition(
1385
					block,
1386
					LootPool.lootPool()
1387
						.setRolls(ContextIntProviders.exactly(1))
1388
						.add(
1389
							LootItem.lootTableItem(block)
1390
								.apply(CopyComponentsFunction.copyComponentsFromBlockEntity(LootContextParams.BLOCK_ENTITY).include(DataComponents.CUSTOM_NAME))
1391
						)
1392
				)
1393
			);
1394
	}
1395
}
1396

Decompiled Minecraft 26.3 source of VanillaBlockLoot (net/minecraft/data/loot/packs/VanillaBlockLoot.java) with Mojang official mappings, stored verbatim on the site.