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/VanillaBlockLootTableGeneratorintermediary net/minecraft/class_2430official nc
-
Field Summary
FieldsModifier 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
ConstructorsConstructorDescriptionVanillaBlockLootTableGenerator(RegistryWrapper.WrapperLookup registryLookup) -
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, 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_CHANCELnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;JUNGLE_SAPLING_DROP_CHANCE:[Fintermediary field_11338Lnet/minecraft/class_2430;field_11338:[Fofficial gLnc;g:[F
-
EXPLOSION_IMMUNE
- Mappings:
Namespace Name Mixin selector named EXPLOSION_IMMUNELnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;EXPLOSION_IMMUNE:Ljava/util/Set;intermediary field_11340Lnet/minecraft/class_2430;field_11340:Ljava/util/Set;official hLnc;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;)Vintermediary <init>Lnet/minecraft/class_2430;<init>(Lnet/minecraft/class_7225$class_7874;)Vofficial <init>Lnc;<init>(Ljo$a;)V
-
-
Method Details
-
generate
protected void generate()- Specified by:
generatein classBlockLootTableGenerator- Mappings:
Namespace Name Mixin selector named generateLnet/minecraft/data/server/loottable/BlockLootTableGenerator;generate()Vintermediary method_10379Lnet/minecraft/class_7788;method_10379()Vofficial dLmu;d()V
-
decoratedPotDrops
- Mappings:
Namespace Name Mixin selector named decoratedPotDropsLnet/minecraft/data/server/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 uLnc;u(Ldfy;)Lerw$a;
-
pitcherCropDrops
- Mappings:
Namespace Name Mixin selector named pitcherCropDropsLnet/minecraft/data/server/loottable/vanilla/VanillaBlockLootTableGenerator;pitcherCropDrops()Lnet/minecraft/loot/LootTable$Builder;intermediary method_49983Lnet/minecraft/class_2430;method_49983()Lnet/minecraft/class_52$class_53;official eLnc;e()Lerw$a;
-