Package net.minecraft.data.server
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 Summary
Modifier and TypeFieldDescriptionprivate static final Set<EntityType<?>>
private final Map<Identifier,
LootTable.Builder> private static final EntityPredicate.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(BiConsumer<Identifier, LootTable.Builder> biConsumer) private static LootTable.Builder
private LootCondition.Builder
private LootCondition.Builder
killedByFrog
(FrogVariant variant) private void
register
(EntityType<?> entityType, LootTable.Builder lootTable) private void
register
(Identifier entityId, LootTable.Builder lootTable)
-
Field Details
-
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
- 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
- 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
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Lcfz;)Ldri$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
- Specified by:
accept
in interfaceConsumer<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
- Mappings:
Namespace Name Mixin selector official a
Ljq;a()Ldtz$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
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Lbms;)Ldtz$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
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Lbau;Ldri$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
- Mappings:
Namespace Name Mixin selector official a
Ljq;a(Laaj;Ldri$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
-