Class VanillaBlockLootTableGenerator
java.lang.Object
net.minecraft.data.server.loottable.BlockLootTableGenerator
net.minecraft.data.server.loottable.vanilla.VanillaBlockLootTableGenerator
- All Implemented Interfaces:
LootTableGenerator
- Mappings:
Namespace Name named net/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator
intermediary net/minecraft/class_2430
official my
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float[]
Fields inherited from class net.minecraft.data.server.loottable.BlockLootTableGenerator
explosionImmuneItems, lootTables, registryLookup, requiredFeatures, SAPLING_DROP_CHANCE, WITH_SHEARS
-
Constructor Summary
ConstructorDescriptionVanillaBlockLootTableGenerator
(RegistryWrapper.WrapperLookup registryLookup) -
Method Summary
Modifier and TypeMethodDescriptionprivate LootTable.Builder
decoratedPotDrops
(Block block) protected void
generate()
private LootTable.Builder
Methods inherited from class net.minecraft.data.server.loottable.BlockLootTableGenerator
accept, addDrop, addDrop, addDrop, addDrop, addDropWithSilkTouch, addDropWithSilkTouch, addPottedPlantDrops, addSurvivesExplosionCondition, addVinePlantDrop, applyExplosionDecay, attachedCropStemDrops, bannerDrops, beehiveDrops, beeNestDrops, candleCakeDrops, candleDrops, copperOreDrops, createSilkTouchCondition, createWithoutSilkTouchCondition, cropDrops, cropStemDrops, doorDrops, drops, drops, drops, drops, dropsNothing, dropsWithProperty, dropsWithShears, dropsWithShears, dropsWithSilkTouch, dropsWithSilkTouchOrShears, flowerbedDrops, glowBerryDrops, lapisOreDrops, leavesDrops, mangroveLeavesDrops, multifaceGrowthDrops, mushroomBlockDrops, nameableContainerDrops, oakLeavesDrops, oreDrops, redstoneOreDrops, seagrassDrops, shortPlantDrops, shulkerBoxDrops, slabDrops, tallPlantDrops
-
Field Details
-
JUNGLE_SAPLING_DROP_CHANCE
private static final float[] JUNGLE_SAPLING_DROP_CHANCE- Mappings:
Namespace Name Mixin selector named JUNGLE_SAPLING_DROP_CHANCE
Lnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;JUNGLE_SAPLING_DROP_CHANCE:[F
intermediary field_11338
Lnet/minecraft/class_2430;field_11338:[F
official g
Lmy;g:[F
-
EXPLOSION_IMMUNE
- Mappings:
Namespace Name Mixin selector named EXPLOSION_IMMUNE
Lnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;EXPLOSION_IMMUNE:Ljava/util/Set;
intermediary field_11340
Lnet/minecraft/class_2430;field_11340:Ljava/util/Set;
official h
Lmy;h:Ljava/util/Set;
-
-
Constructor Details
-
VanillaBlockLootTableGenerator
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary <init>
Lnet/minecraft/class_2430;<init>(Lnet/minecraft/class_7225$class_7874;)V
official <init>
Lmy;<init>(Ljl$a;)V
-
-
Method Details
-
generate
protected void generate()- Specified by:
generate
in classBlockLootTableGenerator
- Mappings:
Namespace Name Mixin selector named generate
Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;generate()V
intermediary method_10379
Lnet/minecraft/class_7788;method_10379()V
official d
Lmq;d()V
-
decoratedPotDrops
- Mappings:
Namespace Name Mixin selector named decoratedPotDrops
Lnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;decoratedPotDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
intermediary method_49984
Lnet/minecraft/class_2430;method_49984(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
official u
Lmy;u(Ldfi;)Lerb$a;
-
pitcherCropDrops
- Mappings:
Namespace Name Mixin selector named pitcherCropDrops
Lnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;pitcherCropDrops()Lnet/minecraft/loot/LootTable$Builder;
intermediary method_49983
Lnet/minecraft/class_2430;method_49983()Lnet/minecraft/class_52$class_53;
official e
Lmy;e()Lerb$a;
-