net.minecraft.data.loot

public abstract class EntityLootSubProvider

implements LootTableSubProvider

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

Field summary

Modifier and TypeField
protected final HolderLookup$Provider
a
registries
field_51846
registries
private final FeatureFlagSet
b
allowed
field_42084
requiredFeatures
private final FeatureFlagSet
c
required
field_42085
featureSet
private final Map<EntityType<?>, Map<ResourceKey<LootTable>, LootTable$Builder>>
d
map
field_40615
lootTables

Constructor summary

ModifierConstructor
protected (FeatureFlagSet requiredFeatures, HolderLookup$Provider registries)
protected (FeatureFlagSet requiredFeatures, FeatureFlagSet featureSet, HolderLookup$Provider registries)

Method summary

Modifier and TypeMethod
protected final AnyOfCondition$Builder
a()
shouldSmeltLoot()
method_60394()
createSmeltLootCondition()
public static LootPool$Builder
a(Map<cwm, aly<ewu>> arg0)
createSheepDispatchPool(Map<DyeColor, ResourceKey<LootTable>> arg0)
method_46031(Map<class_1767, class_5321<class_52>> arg0)
createForSheep(Map<DyeColor, RegistryKey<LootTable>> colorLootTables)
public abstract void
b()
generate()
method_10400()
generate()
public void
generate(BiConsumer<aly<ewu>, ewu$a> arg0)
generate(BiConsumer<ResourceKey<LootTable>, LootTable$Builder> arg0)
method_10399(BiConsumer<class_5321<class_52>, class_52$class_53> arg0)
accept(BiConsumer<RegistryKey<LootTable>, LootTable$Builder> arg0)
protected LootItemCondition$Builder
a(jr<bvr<?>> arg0)
killedByFrog(HolderGetter<EntityType<?>> arg0)
method_46034(class_7871<class_1299<?>> arg0)
killedByFrog(RegistryEntryLookup<EntityType<?>> registryLookup)
protected LootItemCondition$Builder
a(jr<bvr<?>> arg0, aly<cii> arg1)
killedByFrogVariant(HolderGetter<EntityType<?>> arg0, ResourceKey<FrogVariant> arg1)
method_46030(class_7871<class_1299<?>> arg0, class_5321<class_7106> arg1)
killedByFrog(RegistryEntryLookup<EntityType<?>> registryLookup, RegistryKey<FrogVariant> frogVariant)
protected void
a(bvr<?> arg0, ewu$a arg1)
add(EntityType<?> arg0, LootTable$Builder arg1)
method_46029(class_1299<?> arg0, class_52$class_53 arg1)
register(EntityType<?> entityType, LootTable$Builder lootTable)
protected void
a(bvr<?> arg0, aly<ewu> arg1, ewu$a arg2)
add(EntityType<?> arg0, ResourceKey<LootTable> arg1, LootTable$Builder arg2)
method_46028(class_1299<?> arg0, class_5321<class_52> arg1, class_52$class_53 arg2)
register(EntityType<?> entityType, RegistryKey<LootTable> tableKey, LootTable$Builder lootTable)