Class BlockLootTableGenerator

java.lang.Object
net.minecraft.data.server.loottable.BlockLootTableGenerator
All Implemented Interfaces:
LootTableGenerator
Direct Known Subclasses:
OneTwentyBlockLootTableGenerator, VanillaBlockLootTableGenerator

public abstract class BlockLootTableGenerator extends Object implements LootTableGenerator
Mappings:
Namespace Name
official jx
intermediary net/minecraft/class_7788
named net/minecraft/data/server/loottable/BlockLootTableGenerator
  • Field Details

    • WITH_SILK_TOUCH

      protected static final LootCondition.Builder WITH_SILK_TOUCH
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a:Ldyl$a;
      intermediary field_40602 Lnet/minecraft/class_7788;field_40602:Lnet/minecraft/class_5341$class_210;
      named WITH_SILK_TOUCH Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;WITH_SILK_TOUCH:Lnet/minecraft/loot/condition/LootCondition$Builder;
    • WITHOUT_SILK_TOUCH

      protected static final LootCondition.Builder WITHOUT_SILK_TOUCH
      Mappings:
      Namespace Name Mixin selector
      official b Ljx;b:Ldyl$a;
      intermediary field_40603 Lnet/minecraft/class_7788;field_40603:Lnet/minecraft/class_5341$class_210;
      named WITHOUT_SILK_TOUCH Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;WITHOUT_SILK_TOUCH:Lnet/minecraft/loot/condition/LootCondition$Builder;
    • WITH_SHEARS

      protected static final LootCondition.Builder WITH_SHEARS
      Mappings:
      Namespace Name Mixin selector
      official c Ljx;c:Ldyl$a;
      intermediary field_40604 Lnet/minecraft/class_7788;field_40604:Lnet/minecraft/class_5341$class_210;
      named WITH_SHEARS Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;WITH_SHEARS:Lnet/minecraft/loot/condition/LootCondition$Builder;
    • WITH_SILK_TOUCH_OR_SHEARS

      private static final LootCondition.Builder WITH_SILK_TOUCH_OR_SHEARS
      Mappings:
      Namespace Name Mixin selector
      official e Ljx;e:Ldyl$a;
      intermediary field_40606 Lnet/minecraft/class_7788;field_40606:Lnet/minecraft/class_5341$class_210;
      named WITH_SILK_TOUCH_OR_SHEARS Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;WITH_SILK_TOUCH_OR_SHEARS:Lnet/minecraft/loot/condition/LootCondition$Builder;
    • WITHOUT_SILK_TOUCH_NOR_SHEARS

      private static final LootCondition.Builder WITHOUT_SILK_TOUCH_NOR_SHEARS
      Mappings:
      Namespace Name Mixin selector
      official f Ljx;f:Ldyl$a;
      intermediary field_40607 Lnet/minecraft/class_7788;field_40607:Lnet/minecraft/class_5341$class_210;
      named WITHOUT_SILK_TOUCH_NOR_SHEARS Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;WITHOUT_SILK_TOUCH_NOR_SHEARS:Lnet/minecraft/loot/condition/LootCondition$Builder;
    • SAPLING_DROP_CHANCE

      protected static final float[] SAPLING_DROP_CHANCE
      Mappings:
      Namespace Name Mixin selector
      official d Ljx;d:[F
      intermediary field_40605 Lnet/minecraft/class_7788;field_40605:[F
      named SAPLING_DROP_CHANCE Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;SAPLING_DROP_CHANCE:[F
    • LEAVES_STICK_DROP_CHANCE

      private static final float[] LEAVES_STICK_DROP_CHANCE
      Mappings:
      Namespace Name Mixin selector
      official j Ljx;j:[F
      intermediary field_40611 Lnet/minecraft/class_7788;field_40611:[F
      named LEAVES_STICK_DROP_CHANCE Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;LEAVES_STICK_DROP_CHANCE:[F
    • explosionImmuneItems

      private final Set<Item> explosionImmuneItems
      Mappings:
      Namespace Name Mixin selector
      official g Ljx;g:Ljava/util/Set;
      intermediary field_40608 Lnet/minecraft/class_7788;field_40608:Ljava/util/Set;
      named explosionImmuneItems Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;explosionImmuneItems:Ljava/util/Set;
    • requiredFeatures

      private final FeatureSet requiredFeatures
      Mappings:
      Namespace Name Mixin selector
      official h Ljx;h:Lbyx;
      intermediary field_40609 Lnet/minecraft/class_7788;field_40609:Lnet/minecraft/class_7699;
      named requiredFeatures Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;requiredFeatures:Lnet/minecraft/resource/featuretoggle/FeatureSet;
    • lootTables

      private final Map<Identifier,LootTable.Builder> lootTables
      Mappings:
      Namespace Name Mixin selector
      official i Ljx;i:Ljava/util/Map;
      intermediary field_40610 Lnet/minecraft/class_7788;field_40610:Ljava/util/Map;
      named lootTables Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;lootTables:Ljava/util/Map;
  • Constructor Details

    • BlockLootTableGenerator

      protected BlockLootTableGenerator(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljx;<init>(Ljava/util/Set;Lbyx;)V
      intermediary <init> Lnet/minecraft/class_7788;<init>(Ljava/util/Set;Lnet/minecraft/class_7699;)V
      named <init> Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;<init>(Ljava/util/Set;Lnet/minecraft/resource/featuretoggle/FeatureSet;)V
  • Method Details

    • applyExplosionDecay

      protected <T extends LootFunctionConsumingBuilder<T>> T applyExplosionDecay(ItemConvertible drop, LootFunctionConsumingBuilder<T> builder)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcjv;Ldwz;)Ldwz;
      intermediary method_45977 Lnet/minecraft/class_7788;method_45977(Lnet/minecraft/class_1935;Lnet/minecraft/class_116;)Lnet/minecraft/class_116;
      named applyExplosionDecay Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;applyExplosionDecay(Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/loot/function/LootFunctionConsumingBuilder;)Lnet/minecraft/loot/function/LootFunctionConsumingBuilder;
    • addSurvivesExplosionCondition

      protected <T extends LootConditionConsumingBuilder<T>> T addSurvivesExplosionCondition(ItemConvertible drop, LootConditionConsumingBuilder<T> builder)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcjv;Ldye;)Ldye;
      intermediary method_45978 Lnet/minecraft/class_7788;method_45978(Lnet/minecraft/class_1935;Lnet/minecraft/class_192;)Lnet/minecraft/class_192;
      named addSurvivesExplosionCondition Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;addSurvivesExplosionCondition(Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/loot/condition/LootConditionConsumingBuilder;)Lnet/minecraft/loot/condition/LootConditionConsumingBuilder;
    • drops

      public LootTable.Builder drops(ItemConvertible drop)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcjv;)Ldvu$a;
      intermediary method_45976 Lnet/minecraft/class_7788;method_45976(Lnet/minecraft/class_1935;)Lnet/minecraft/class_52$class_53;
      named drops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;drops(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/loot/LootTable$Builder;
    • drops

      private static LootTable.Builder drops(Block drop, LootCondition.Builder conditionBuilder, LootPoolEntry.Builder<?> child)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Ldyl$a;Ldwj$a;)Ldvu$a;
      intermediary method_45991 Lnet/minecraft/class_7788;method_45991(Lnet/minecraft/class_2248;Lnet/minecraft/class_5341$class_210;Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_52$class_53;
      named drops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;drops(Lnet/minecraft/block/Block;Lnet/minecraft/loot/condition/LootCondition$Builder;Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/LootTable$Builder;
    • dropsWithSilkTouch

      protected static LootTable.Builder dropsWithSilkTouch(Block drop, LootPoolEntry.Builder<?> child)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Ldwj$a;)Ldvu$a;
      intermediary method_45989 Lnet/minecraft/class_7788;method_45989(Lnet/minecraft/class_2248;Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_52$class_53;
      named dropsWithSilkTouch Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;dropsWithSilkTouch(Lnet/minecraft/block/Block;Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/LootTable$Builder;
    • dropsWithShears

      protected static LootTable.Builder dropsWithShears(Block drop, LootPoolEntry.Builder<?> child)
      Mappings:
      Namespace Name Mixin selector
      official b Ljx;b(Lcmt;Ldwj$a;)Ldvu$a;
      intermediary method_46001 Lnet/minecraft/class_7788;method_46001(Lnet/minecraft/class_2248;Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_52$class_53;
      named dropsWithShears Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;dropsWithShears(Lnet/minecraft/block/Block;Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/LootTable$Builder;
    • dropsWithSilkTouchOrShears

      protected static LootTable.Builder dropsWithSilkTouchOrShears(Block drop, LootPoolEntry.Builder<?> child)
      Mappings:
      Namespace Name Mixin selector
      official c Ljx;c(Lcmt;Ldwj$a;)Ldvu$a;
      intermediary method_46008 Lnet/minecraft/class_7788;method_46008(Lnet/minecraft/class_2248;Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_52$class_53;
      named dropsWithSilkTouchOrShears Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;dropsWithSilkTouchOrShears(Lnet/minecraft/block/Block;Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/LootTable$Builder;
    • drops

      protected LootTable.Builder drops(Block dropWithSilkTouch, ItemConvertible drop)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Lcjv;)Ldvu$a;
      intermediary method_45983 Lnet/minecraft/class_7788;method_45983(Lnet/minecraft/class_2248;Lnet/minecraft/class_1935;)Lnet/minecraft/class_52$class_53;
      named drops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;drops(Lnet/minecraft/block/Block;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/loot/LootTable$Builder;
    • drops

      protected LootTable.Builder drops(ItemConvertible drop, LootNumberProvider count)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcjv;Ldzg;)Ldvu$a;
      intermediary method_45979 Lnet/minecraft/class_7788;method_45979(Lnet/minecraft/class_1935;Lnet/minecraft/class_5658;)Lnet/minecraft/class_52$class_53;
      named drops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;drops(Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/LootTable$Builder;
    • drops

      protected LootTable.Builder drops(Block dropWithSilkTouch, ItemConvertible drop, LootNumberProvider count)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Lcjv;Ldzg;)Ldvu$a;
      intermediary method_45984 Lnet/minecraft/class_7788;method_45984(Lnet/minecraft/class_2248;Lnet/minecraft/class_1935;Lnet/minecraft/class_5658;)Lnet/minecraft/class_52$class_53;
      named drops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;drops(Lnet/minecraft/block/Block;Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/LootTable$Builder;
    • dropsWithSilkTouch

      private static LootTable.Builder dropsWithSilkTouch(ItemConvertible drop)
      Mappings:
      Namespace Name Mixin selector
      official c Ljx;c(Lcjv;)Ldvu$a;
      intermediary method_46003 Lnet/minecraft/class_7788;method_46003(Lnet/minecraft/class_1935;)Lnet/minecraft/class_52$class_53;
      named dropsWithSilkTouch Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;dropsWithSilkTouch(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/loot/LootTable$Builder;
    • pottedPlantDrops

      private LootTable.Builder pottedPlantDrops(ItemConvertible drop)
      Mappings:
      Namespace Name Mixin selector
      official d Ljx;d(Lcjv;)Ldvu$a;
      intermediary method_46009 Lnet/minecraft/class_7788;method_46009(Lnet/minecraft/class_1935;)Lnet/minecraft/class_52$class_53;
      named pottedPlantDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;pottedPlantDrops(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/loot/LootTable$Builder;
    • slabDrops

      protected LootTable.Builder slabDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;)Ldvu$a;
      intermediary method_45980 Lnet/minecraft/class_7788;method_45980(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named slabDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;slabDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • dropsWithProperty

      protected <T extends Comparable<T> & StringIdentifiable> LootTable.Builder dropsWithProperty(Block drop, Property<T> property, T value)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Lczw;Ljava/lang/Comparable;)Ldvu$a;
      intermediary method_45987 Lnet/minecraft/class_7788;method_45987(Lnet/minecraft/class_2248;Lnet/minecraft/class_2769;Ljava/lang/Comparable;)Lnet/minecraft/class_52$class_53;
      named dropsWithProperty Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;dropsWithProperty(Lnet/minecraft/block/Block;Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/loot/LootTable$Builder;
    • nameableContainerDrops

      protected LootTable.Builder nameableContainerDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official b Ljx;b(Lcmt;)Ldvu$a;
      intermediary method_45996 Lnet/minecraft/class_7788;method_45996(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named nameableContainerDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;nameableContainerDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • shulkerBoxDrops

      protected LootTable.Builder shulkerBoxDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official c Ljx;c(Lcmt;)Ldvu$a;
      intermediary method_46004 Lnet/minecraft/class_7788;method_46004(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named shulkerBoxDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;shulkerBoxDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • copperOreDrops

      protected LootTable.Builder copperOreDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official d Ljx;d(Lcmt;)Ldvu$a;
      intermediary method_46010 Lnet/minecraft/class_7788;method_46010(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named copperOreDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;copperOreDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • lapisOreDrops

      protected LootTable.Builder lapisOreDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official e Ljx;e(Lcmt;)Ldvu$a;
      intermediary method_46011 Lnet/minecraft/class_7788;method_46011(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named lapisOreDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;lapisOreDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • redstoneOreDrops

      protected LootTable.Builder redstoneOreDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official f Ljx;f(Lcmt;)Ldvu$a;
      intermediary method_46012 Lnet/minecraft/class_7788;method_46012(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named redstoneOreDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;redstoneOreDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • bannerDrops

      protected LootTable.Builder bannerDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official g Ljx;g(Lcmt;)Ldvu$a;
      intermediary method_46013 Lnet/minecraft/class_7788;method_46013(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named bannerDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;bannerDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • beeNestDrops

      protected static LootTable.Builder beeNestDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official h Ljx;h(Lcmt;)Ldvu$a;
      intermediary method_46014 Lnet/minecraft/class_7788;method_46014(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named beeNestDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;beeNestDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • beehiveDrops

      protected static LootTable.Builder beehiveDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official i Ljx;i(Lcmt;)Ldvu$a;
      intermediary method_46015 Lnet/minecraft/class_7788;method_46015(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named beehiveDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;beehiveDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • glowBerryDrops

      protected static LootTable.Builder glowBerryDrops(Block drop)
      Mappings:
      Namespace Name Mixin selector
      official j Ljx;j(Lcmt;)Ldvu$a;
      intermediary method_46016 Lnet/minecraft/class_7788;method_46016(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named glowBerryDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;glowBerryDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • oreDrops

      protected LootTable.Builder oreDrops(Block dropWithSilkTouch, Item drop)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Lcdp;)Ldvu$a;
      intermediary method_45981 Lnet/minecraft/class_7788;method_45981(Lnet/minecraft/class_2248;Lnet/minecraft/class_1792;)Lnet/minecraft/class_52$class_53;
      named oreDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;oreDrops(Lnet/minecraft/block/Block;Lnet/minecraft/item/Item;)Lnet/minecraft/loot/LootTable$Builder;
    • mushroomBlockDrops

      protected LootTable.Builder mushroomBlockDrops(Block dropWithSilkTouch, ItemConvertible drop)
      Mappings:
      Namespace Name Mixin selector
      official b Ljx;b(Lcmt;Lcjv;)Ldvu$a;
      intermediary method_45998 Lnet/minecraft/class_7788;method_45998(Lnet/minecraft/class_2248;Lnet/minecraft/class_1935;)Lnet/minecraft/class_52$class_53;
      named mushroomBlockDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;mushroomBlockDrops(Lnet/minecraft/block/Block;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/loot/LootTable$Builder;
    • grassDrops

      protected LootTable.Builder grassDrops(Block dropWithShears)
      Mappings:
      Namespace Name Mixin selector
      official k Ljx;k(Lcmt;)Ldvu$a;
      intermediary method_46017 Lnet/minecraft/class_7788;method_46017(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named grassDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;grassDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • cropStemDrops

      public LootTable.Builder cropStemDrops(Block stem, Item drop)
      Mappings:
      Namespace Name Mixin selector
      official b Ljx;b(Lcmt;Lcdp;)Ldvu$a;
      intermediary method_45997 Lnet/minecraft/class_7788;method_45997(Lnet/minecraft/class_2248;Lnet/minecraft/class_1792;)Lnet/minecraft/class_52$class_53;
      named cropStemDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;cropStemDrops(Lnet/minecraft/block/Block;Lnet/minecraft/item/Item;)Lnet/minecraft/loot/LootTable$Builder;
    • attachedCropStemDrops

      public LootTable.Builder attachedCropStemDrops(Block stem, Item drop)
      Mappings:
      Namespace Name Mixin selector
      official c Ljx;c(Lcmt;Lcdp;)Ldvu$a;
      intermediary method_46005 Lnet/minecraft/class_7788;method_46005(Lnet/minecraft/class_2248;Lnet/minecraft/class_1792;)Lnet/minecraft/class_52$class_53;
      named attachedCropStemDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;attachedCropStemDrops(Lnet/minecraft/block/Block;Lnet/minecraft/item/Item;)Lnet/minecraft/loot/LootTable$Builder;
    • dropsWithShears

      protected static LootTable.Builder dropsWithShears(ItemConvertible drop)
      Mappings:
      Namespace Name Mixin selector
      official b Ljx;b(Lcjv;)Ldvu$a;
      intermediary method_45995 Lnet/minecraft/class_7788;method_45995(Lnet/minecraft/class_1935;)Lnet/minecraft/class_52$class_53;
      named dropsWithShears Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;dropsWithShears(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/loot/LootTable$Builder;
    • multifaceGrowthDrops

      protected LootTable.Builder multifaceGrowthDrops(Block drop, LootCondition.Builder condition)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Ldyl$a;)Ldvu$a;
      intermediary method_45990 Lnet/minecraft/class_7788;method_45990(Lnet/minecraft/class_2248;Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_52$class_53;
      named multifaceGrowthDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;multifaceGrowthDrops(Lnet/minecraft/block/Block;Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/LootTable$Builder;
    • leavesDrops

      protected LootTable.Builder leavesDrops(Block leaves, Block drop, float[] chance)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Lcmt;[F)Ldvu$a;
      intermediary method_45986 Lnet/minecraft/class_7788;method_45986(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;[F)Lnet/minecraft/class_52$class_53;
      named leavesDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;leavesDrops(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;[F)Lnet/minecraft/loot/LootTable$Builder;
    • oakLeavesDrops

      protected LootTable.Builder oakLeavesDrops(Block leaves, Block drop, float[] chance)
      Mappings:
      Namespace Name Mixin selector
      official b Ljx;b(Lcmt;Lcmt;[F)Ldvu$a;
      intermediary method_46000 Lnet/minecraft/class_7788;method_46000(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;[F)Lnet/minecraft/class_52$class_53;
      named oakLeavesDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;oakLeavesDrops(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;[F)Lnet/minecraft/loot/LootTable$Builder;
    • mangroveLeavesDrops

      protected LootTable.Builder mangroveLeavesDrops(Block leaves)
      Mappings:
      Namespace Name Mixin selector
      official l Ljx;l(Lcmt;)Ldvu$a;
      intermediary method_46018 Lnet/minecraft/class_7788;method_46018(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named mangroveLeavesDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;mangroveLeavesDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • cropDrops

      protected LootTable.Builder cropDrops(Block crop, Item product, Item seeds, LootCondition.Builder condition)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Lcdp;Lcdp;Ldyl$a;)Ldvu$a;
      intermediary method_45982 Lnet/minecraft/class_7788;method_45982(Lnet/minecraft/class_2248;Lnet/minecraft/class_1792;Lnet/minecraft/class_1792;Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_52$class_53;
      named cropDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;cropDrops(Lnet/minecraft/block/Block;Lnet/minecraft/item/Item;Lnet/minecraft/item/Item;Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/LootTable$Builder;
    • seagrassDrops

      protected static LootTable.Builder seagrassDrops(Block seagrass)
      Mappings:
      Namespace Name Mixin selector
      official m Ljx;m(Lcmt;)Ldvu$a;
      intermediary method_46019 Lnet/minecraft/class_7788;method_46019(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named seagrassDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;seagrassDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • tallGrassDrops

      protected LootTable.Builder tallGrassDrops(Block tallGrass, Block grass)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Lcmt;)Ldvu$a;
      intermediary method_45985 Lnet/minecraft/class_7788;method_45985(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named tallGrassDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;tallGrassDrops(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • candleDrops

      protected LootTable.Builder candleDrops(Block candle)
      Mappings:
      Namespace Name Mixin selector
      official n Ljx;n(Lcmt;)Ldvu$a;
      intermediary method_46020 Lnet/minecraft/class_7788;method_46020(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named candleDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;candleDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • candleCakeDrops

      protected static LootTable.Builder candleCakeDrops(Block candleCake)
      Mappings:
      Namespace Name Mixin selector
      official o Ljx;o(Lcmt;)Ldvu$a;
      intermediary method_46021 Lnet/minecraft/class_7788;method_46021(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named candleCakeDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;candleCakeDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • dropsNothing

      public static LootTable.Builder dropsNothing()
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a()Ldvu$a;
      intermediary method_45975 Lnet/minecraft/class_7788;method_45975()Lnet/minecraft/class_52$class_53;
      named dropsNothing Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;dropsNothing()Lnet/minecraft/loot/LootTable$Builder;
    • generate

      protected abstract void generate()
      Mappings:
      Namespace Name Mixin selector
      official b Ljx;b()V
      intermediary method_10379 Lnet/minecraft/class_7788;method_10379()V
      named generate Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;generate()V
    • accept

      public void accept(BiConsumer<Identifier,LootTable.Builder> exporter)
      Specified by:
      accept in interface LootTableGenerator
      Mappings:
      Namespace Name Mixin selector
      official generate Lka;generate(Ljava/util/function/BiConsumer;)V
      intermediary method_10399 Lnet/minecraft/class_7791;method_10399(Ljava/util/function/BiConsumer;)V
      named accept Lnet/minecraft/data/server/loottable/LootTableGenerator;accept(Ljava/util/function/BiConsumer;)V
    • addVinePlantDrop

      protected void addVinePlantDrop(Block block, Block drop)
      Mappings:
      Namespace Name Mixin selector
      official b Ljx;b(Lcmt;Lcmt;)V
      intermediary method_45999 Lnet/minecraft/class_7788;method_45999(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)V
      named addVinePlantDrop Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;addVinePlantDrop(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)V
    • doorDrops

      protected LootTable.Builder doorDrops(Block block)
      Mappings:
      Namespace Name Mixin selector
      official p Ljx;p(Lcmt;)Ldvu$a;
      intermediary method_46022 Lnet/minecraft/class_7788;method_46022(Lnet/minecraft/class_2248;)Lnet/minecraft/class_52$class_53;
      named doorDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;doorDrops(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/LootTable$Builder;
    • addPottedPlantDrops

      protected void addPottedPlantDrops(Block block)
      Mappings:
      Namespace Name Mixin selector
      official q Ljx;q(Lcmt;)V
      intermediary method_46023 Lnet/minecraft/class_7788;method_46023(Lnet/minecraft/class_2248;)V
      named addPottedPlantDrops Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;addPottedPlantDrops(Lnet/minecraft/block/Block;)V
    • addDropWithSilkTouch

      protected void addDropWithSilkTouch(Block block, Block drop)
      Mappings:
      Namespace Name Mixin selector
      official c Ljx;c(Lcmt;Lcmt;)V
      intermediary method_46007 Lnet/minecraft/class_7788;method_46007(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)V
      named addDropWithSilkTouch Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;addDropWithSilkTouch(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)V
    • addDrop

      protected void addDrop(Block block, ItemConvertible drop)
      Mappings:
      Namespace Name Mixin selector
      official c Ljx;c(Lcmt;Lcjv;)V
      intermediary method_46006 Lnet/minecraft/class_7788;method_46006(Lnet/minecraft/class_2248;Lnet/minecraft/class_1935;)V
      named addDrop Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;addDrop(Lnet/minecraft/block/Block;Lnet/minecraft/item/ItemConvertible;)V
    • addDropWithSilkTouch

      protected void addDropWithSilkTouch(Block block)
      Mappings:
      Namespace Name Mixin selector
      official r Ljx;r(Lcmt;)V
      intermediary method_46024 Lnet/minecraft/class_7788;method_46024(Lnet/minecraft/class_2248;)V
      named addDropWithSilkTouch Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;addDropWithSilkTouch(Lnet/minecraft/block/Block;)V
    • addDrop

      protected void addDrop(Block block)
      Mappings:
      Namespace Name Mixin selector
      official s Ljx;s(Lcmt;)V
      intermediary method_46025 Lnet/minecraft/class_7788;method_46025(Lnet/minecraft/class_2248;)V
      named addDrop Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;addDrop(Lnet/minecraft/block/Block;)V
    • addDrop

      protected void addDrop(Block block, Function<Block,LootTable.Builder> lootTableFunction)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Ljava/util/function/Function;)V
      intermediary method_45994 Lnet/minecraft/class_7788;method_45994(Lnet/minecraft/class_2248;Ljava/util/function/Function;)V
      named addDrop Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;addDrop(Lnet/minecraft/block/Block;Ljava/util/function/Function;)V
    • addDrop

      protected void addDrop(Block block, LootTable.Builder lootTable)
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a(Lcmt;Ldvu$a;)V
      intermediary method_45988 Lnet/minecraft/class_7788;method_45988(Lnet/minecraft/class_2248;Lnet/minecraft/class_52$class_53;)V
      named addDrop Lnet/minecraft/data/server/loottable/BlockLootTableGenerator;addDrop(Lnet/minecraft/block/Block;Lnet/minecraft/loot/LootTable$Builder;)V