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 official kiintermediary net/minecraft/class_2430named net/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final float[]Fields inherited from class net.minecraft.data.server.loottable.BlockLootTableGenerator
explosionImmuneItems, lootTables, requiredFeatures, SAPLING_DROP_CHANCE, WITH_SHEARS, WITH_SILK_TOUCH, WITHOUT_SILK_TOUCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate LootTable.BuilderdecoratedPotDrops(Block block) protected voidgenerate()private LootTable.BuilderMethods 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, cropDrops, cropStemDrops, doorDrops, drops, drops, drops, drops, dropsNothing, dropsWithProperty, dropsWithShears, dropsWithShears, dropsWithSilkTouch, dropsWithSilkTouchOrShears, flowerbedDrops, glowBerryDrops, grassDrops, lapisOreDrops, leavesDrops, mangroveLeavesDrops, multifaceGrowthDrops, mushroomBlockDrops, nameableContainerDrops, oakLeavesDrops, oreDrops, redstoneOreDrops, seagrassDrops, shulkerBoxDrops, slabDrops, tallGrassDrops
-
Field Details
-
JUNGLE_SAPLING_DROP_CHANCE
private static final float[] JUNGLE_SAPLING_DROP_CHANCE- Mappings:
Namespace Name Mixin selector official hLki;h:[Fintermediary field_11338Lnet/minecraft/class_2430;field_11338:[Fnamed JUNGLE_SAPLING_DROP_CHANCELnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;JUNGLE_SAPLING_DROP_CHANCE:[F
-
EXPLOSION_IMMUNE
- Mappings:
Namespace Name Mixin selector official iLki;i:Ljava/util/Set;intermediary field_11340Lnet/minecraft/class_2430;field_11340:Ljava/util/Set;named EXPLOSION_IMMUNELnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;EXPLOSION_IMMUNE:Ljava/util/Set;
-
-
Constructor Details
-
VanillaBlockLootTableGenerator
public VanillaBlockLootTableGenerator()
-
-
Method Details
-
generate
protected void generate()- Specified by:
generatein classBlockLootTableGenerator- Mappings:
Namespace Name Mixin selector official bLka;b()Vintermediary method_10379Lnet/minecraft/class_7788;method_10379()Vnamed generateLnet/minecraft/data/server/loottable/BlockLootTableGenerator;generate()V
-
decoratedPotDrops
- Mappings:
Namespace Name Mixin selector official uLki;u(Lctc;)Lecs$a;intermediary method_49984Lnet/minecraft/class_2430;method_49984(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;named decoratedPotDropsLnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;decoratedPotDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
-
pitcherCropDrops
- Mappings:
Namespace Name Mixin selector official cLki;c()Lecs$a;intermediary method_49983Lnet/minecraft/class_2430;method_49983()Lnet/minecraft/class_52$class_53;named pitcherCropDropsLnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;pitcherCropDrops()Lnet/minecraft/loot/LootTable$Builder;
-