net.minecraft.data.loottable

public abstract class EntityLootTableGenerator

implements LootTableGenerator

net.minecraft.data.loot.EntityLootSubProvider
net.minecraft.class_7789
net.minecraft.data.loottable.EntityLootTableGenerator

Field summary

Modifier and TypeField
protected final LootTableGenerator$Output
output
field_1_8503
field_1_8503
protected final RegistryEntryLookup<Enchantment>
enchantments
field_1_8500
field_1_8500
protected final RegistryEntryLookup<EntityType<?>>
entityTypes
field_1_8501
field_1_8501
protected final RegistryEntryLookup<FrogVariant>
frogVariants
field_1_8502
field_1_8502
private final FeatureSet
allowed
field_42084
requiredFeatures
private final FeatureSet
required
field_42085
featureSet
private final Map<EntityType<?>, Map<RegistryKey<LootTable>, LootTable$Builder>>
map
field_40615
lootTables

Constructor summary

ModifierConstructor
protected (FeatureSet requiredFeatures, LootTableGenerator$Output output)
protected (FeatureSet requiredFeatures, FeatureSet featureSet, LootTableGenerator$Output output)

Method summary

Modifier and TypeMethod
protected final AnyOfLootCondition$Builder
shouldSmeltLoot()
method_60394()
createSmeltLootCondition()
public static LootPool$Builder
createSheepDispatchPool(ColorCollection<ResourceKey<LootTable>> tableNames)
method_46031(class_1_727<class_5321<class_52>> arg0)
createForSheep(ColorMap<RegistryKey<LootTable>> arg0)
public abstract void
generate()
method_10400()
generate()
public void
run()
method_1_7738()
accept()
protected LootCondition$Builder
killedByFrog()
method_46034()
killedByFrog()
protected LootCondition$Builder
killedByFrogVariant(ResourceKey<FrogVariant> variant)
method_46030(class_5321<class_7106> arg0)
killedByFrog(RegistryKey<FrogVariant> frogVariant)
protected void
add(EntityType<?> type, LootTable$Builder builder)
method_46029(class_1299<?> arg0, class_52$class_53 arg1)
register(EntityType<?> entityType, LootTable$Builder lootTable)
protected void
add(EntityType<?> type, ResourceKey<LootTable> lootTable, LootTable$Builder builder)
method_46028(class_1299<?> arg0, class_5321<class_52> arg1, class_52$class_53 arg2)
register(EntityType<?> entityType, RegistryKey<LootTable> tableKey, LootTable$Builder lootTable)
private static Map
lambda$add$1(EntityType arg0)
method_46035(class_1299 arg0)
method_46035(EntityType type)
private static IllegalStateException
lambda$add$0(EntityType arg0)
method_63540(class_1299 arg0)
method_63540(EntityType arg0)
private void
lambda$run$0(Set arg0, Holder$Reference arg1)
method_46033(Set arg0, class_6880$class_6883 arg1)
method_46033(Set arg0, RegistryEntry$Reference entityType)
private static String
lambda$run$2(ResourceKey arg0)
method_58573(class_5321 arg0)
method_58573(RegistryKey key)
private void
lambda$run$1(Set arg0, Holder$Reference arg1, ResourceKey arg2, LootTable$Builder arg3)
method_46032(Set arg0, class_6880$class_6883 arg1, class_5321 arg2, class_52$class_53 arg3)
method_46032(Set arg0, RegistryEntry$Reference arg1, RegistryKey tableKey, LootTable$Builder lootTableBuilder)