Class EntityLootTableGenerator

java.lang.Object
net.minecraft.data.server.EntityLootTableGenerator
All Implemented Interfaces:
Consumer<BiConsumer<Identifier,LootTable.Builder>>

public class EntityLootTableGenerator extends Object implements Consumer<BiConsumer<Identifier,LootTable.Builder>>
Mappings:
Namespace Name
official jq
intermediary net/minecraft/class_2434
named net/minecraft/data/server/EntityLootTableGenerator
  • Field Details

    • NEEDS_ENTITY_ON_FIRE

      private static final EntityPredicate.Builder NEEDS_ENTITY_ON_FIRE
      Mappings:
      Namespace Name Mixin selector
      official a Ljq;a:Lbo$a;
      intermediary field_11344 Lnet/minecraft/class_2434;field_11344:Lnet/minecraft/class_2048$class_2049;
      named NEEDS_ENTITY_ON_FIRE Lnet/minecraft/data/server/EntityLootTableGenerator;NEEDS_ENTITY_ON_FIRE:Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
    • ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK

      private static final Set<EntityType<?>> ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK
      Mappings:
      Namespace Name Mixin selector
      official b Ljq;b:Ljava/util/Set;
      intermediary field_19339 Lnet/minecraft/class_2434;field_19339:Ljava/util/Set;
      named ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK Lnet/minecraft/data/server/EntityLootTableGenerator;ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK:Ljava/util/Set;
    • lootTables

      private final Map<Identifier,LootTable.Builder> lootTables
      Mappings:
      Namespace Name Mixin selector
      official c Ljq;c:Ljava/util/Map;
      intermediary field_16543 Lnet/minecraft/class_2434;field_16543:Ljava/util/Map;
      named lootTables Lnet/minecraft/data/server/EntityLootTableGenerator;lootTables:Ljava/util/Map;
  • Constructor Details

    • EntityLootTableGenerator

      public EntityLootTableGenerator()
  • Method Details

    • createForSheep

      private static LootTable.Builder createForSheep(ItemConvertible item)
      Mappings:
      Namespace Name Mixin selector
      official a Ljq;a(Lcgw;)Ldsg$a;
      intermediary method_10401 Lnet/minecraft/class_2434;method_10401(Lnet/minecraft/class_1935;)Lnet/minecraft/class_52$class_53;
      named createForSheep Lnet/minecraft/data/server/EntityLootTableGenerator;createForSheep(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/loot/LootTable$Builder;
    • accept

      public void accept(BiConsumer<Identifier,LootTable.Builder> biConsumer)
      Specified by:
      accept in interface Consumer<BiConsumer<Identifier,LootTable.Builder>>
      Mappings:
      Namespace Name Mixin selector
      official a Ljq;a(Ljava/util/function/BiConsumer;)V
      intermediary method_10400 Lnet/minecraft/class_2434;method_10400(Ljava/util/function/BiConsumer;)V
      named accept Lnet/minecraft/data/server/EntityLootTableGenerator;accept(Ljava/util/function/BiConsumer;)V
    • killedByFrog

      private LootCondition.Builder killedByFrog()
      Mappings:
      Namespace Name Mixin selector
      official a Ljq;a()Ldux$a;
      intermediary method_43226 Lnet/minecraft/class_2434;method_43226()Lnet/minecraft/class_5341$class_210;
      named killedByFrog Lnet/minecraft/data/server/EntityLootTableGenerator;killedByFrog()Lnet/minecraft/loot/condition/LootCondition$Builder;
    • killedByFrog

      private LootCondition.Builder killedByFrog(FrogVariant variant)
      Mappings:
      Namespace Name Mixin selector
      official a Ljq;a(Lbnp;)Ldux$a;
      intermediary method_43227 Lnet/minecraft/class_2434;method_43227(Lnet/minecraft/class_7106;)Lnet/minecraft/class_5341$class_210;
      named killedByFrog Lnet/minecraft/data/server/EntityLootTableGenerator;killedByFrog(Lnet/minecraft/entity/passive/FrogVariant;)Lnet/minecraft/loot/condition/LootCondition$Builder;
    • register

      private void register(EntityType<?> entityType, LootTable.Builder lootTable)
      Mappings:
      Namespace Name Mixin selector
      official a Ljq;a(Lbbr;Ldsg$a;)V
      intermediary method_16368 Lnet/minecraft/class_2434;method_16368(Lnet/minecraft/class_1299;Lnet/minecraft/class_52$class_53;)V
      named register Lnet/minecraft/data/server/EntityLootTableGenerator;register(Lnet/minecraft/entity/EntityType;Lnet/minecraft/loot/LootTable$Builder;)V
    • register

      private void register(Identifier entityId, LootTable.Builder lootTable)
      Mappings:
      Namespace Name Mixin selector
      official a Ljq;a(Labb;Ldsg$a;)V
      intermediary method_16369 Lnet/minecraft/class_2434;method_16369(Lnet/minecraft/class_2960;Lnet/minecraft/class_52$class_53;)V
      named register Lnet/minecraft/data/server/EntityLootTableGenerator;register(Lnet/minecraft/util/Identifier;Lnet/minecraft/loot/LootTable$Builder;)V