Class VanillaBlockLootTableGenerator
java.lang.Object
net.minecraft.data.loottable.BlockLootTableGenerator
net.minecraft.data.loottable.vanilla.VanillaBlockLootTableGenerator
- All Implemented Interfaces:
LootTableGenerator
- Mappings:
Namespace Name named net/minecraft/data/loottable/vanilla/VanillaBlockLootTableGeneratorintermediary net/minecraft/class_2430official ns
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final float[]Fields inherited from class net.minecraft.data.loottable.BlockLootTableGenerator
explosionImmuneItems, lootTables, registries, requiredFeatures, SAPLING_DROP_CHANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate LootTable.BuilderdecoratedPotDrops(Block block) protected voidgenerate()private LootTable.BuilderMethods inherited from class net.minecraft.data.loottable.BlockLootTableGenerator
accept, addDrop, addDrop, addDrop, addDrop, addDropWithSilkTouch, addDropWithSilkTouch, addPottedPlantDrops, addSurvivesExplosionCondition, addVinePlantDrop, applyExplosionDecay, attachedCropStemDrops, bannerDrops, beehiveDrops, beeNestDrops, candleCakeDrops, candleDrops, copperOreDrops, createSilkTouchCondition, createWithoutSilkTouchCondition, createWithShearsCondition, cropDrops, cropStemDrops, doorDrops, drops, drops, drops, drops, dropsNothing, dropsWithProperty, dropsWithShears, dropsWithShears, dropsWithSilkTouch, dropsWithSilkTouchOrShears, dropsWithSilkTouchOrShears, glowBerryDrops, lapisOreDrops, leavesDrops, mangroveLeavesDrops, multifaceGrowthDrops, multifaceGrowthDrops, mushroomBlockDrops, nameableContainerDrops, oakLeavesDrops, oreDrops, paleMossCarpetDrops, redstoneOreDrops, seagrassDrops, segmentedDrops, 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_CHANCELnet/minecraft/data/loottable/vanilla/VanillaBlockLootTableGenerator;JUNGLE_SAPLING_DROP_CHANCE:[Fintermediary field_11338Lnet/minecraft/class_2430;field_11338:[Fofficial fLns;f:[F
-
EXPLOSION_IMMUNE
- Mappings:
Namespace Name Mixin selector named EXPLOSION_IMMUNELnet/minecraft/data/loottable/vanilla/VanillaBlockLootTableGenerator;EXPLOSION_IMMUNE:Ljava/util/Set;intermediary field_11340Lnet/minecraft/class_2430;field_11340:Ljava/util/Set;official gLns;g:Ljava/util/Set;
-
-
Constructor Details
-
VanillaBlockLootTableGenerator
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/data/loottable/vanilla/VanillaBlockLootTableGenerator;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Vintermediary <init>Lnet/minecraft/class_2430;<init>(Lnet/minecraft/class_7225$class_7874;)Vofficial <init>Lns;<init>(Lji$a;)V
-
-
Method Details
-
generate
protected void generate()- Specified by:
generatein classBlockLootTableGenerator- Mappings:
Namespace Name Mixin selector named generateLnet/minecraft/data/loottable/BlockLootTableGenerator;generate()Vintermediary method_10379Lnet/minecraft/class_7788;method_10379()Vofficial eLnj;e()V
-
decoratedPotDrops
- Mappings:
Namespace Name Mixin selector named decoratedPotDropsLnet/minecraft/data/loottable/vanilla/VanillaBlockLootTableGenerator;decoratedPotDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;intermediary method_49984Lnet/minecraft/class_2430;method_49984(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;official wLns;w(Ldno;)Lfay$a;
-
pitcherCropDrops
- Mappings:
Namespace Name Mixin selector named pitcherCropDropsLnet/minecraft/data/loottable/vanilla/VanillaBlockLootTableGenerator;pitcherCropDrops()Lnet/minecraft/loot/LootTable$Builder;intermediary method_49983Lnet/minecraft/class_2430;method_49983()Lnet/minecraft/class_52$class_53;official fLns;f()Lfay$a;
-