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 ij
intermediary net/minecraft/class_2434
named net/minecraft/data/server/EntityLootTableGenerator
-
Field Summary
Fields Modifier and Type Field Description private static Set<EntityType<?>>
ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK
private Map<Identifier,LootTable.Builder>
lootTables
private static EntityPredicate.Builder
NEEDS_ENTITY_ON_FIRE
-
Constructor Summary
Constructors Constructor Description EntityLootTableGenerator()
-
Method Summary
Modifier and Type Method Description void
accept(BiConsumer<Identifier,LootTable.Builder> biConsumer)
private static LootTable.Builder
createForSheep(ItemConvertible item)
private void
register(EntityType<?> entityType, LootTable.Builder builder)
private void
register(Identifier identifier, LootTable.Builder builder)
-
Field Details
-
NEEDS_ENTITY_ON_FIRE
- Mappings:
Namespace Name Mixin selector official a
Lij;a:Lbg$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
Lij;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
Lij;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
Lij;a(Lbtu;)Ldel$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
Lij;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
Lij;a(Laqz;Ldel$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
Lij;a(Lwb;Ldel$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
-