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 iw
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 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
Liw;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
Liw;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
Liw;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
Liw;a(Lcac;)Ldkd$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
Liw;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
-
register
- Mappings:
Namespace Name Mixin selector official a
Liw;a(Lawx;Ldkd$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
Liw;a(Lyh;Ldkd$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
-