net.minecraft.data.loot

public abstract class EntityLootSubProvider

implements LootTableSubProvider

mv
net.minecraft.data.loot.EntityLootSubProvider
net.minecraft.class_7789
net.minecraft.data.server.loottable.EntityLootTableGenerator
net.minecraft.src.C_243464_

Field summary

Modifier and TypeField
private static final Set<EntityType<?>>
b
SPECIAL_LOOT_TABLE_TYPES
field_40613
ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK
f_244591_
protected final HolderLookup$Provider
a
registries
field_51846
registryLookup
f_337320_
private final FeatureFlagSet
c
allowed
field_42084
requiredFeatures
f_265862_
private final FeatureFlagSet
d
required
field_42085
featureSet
f_266009_
private final Map<EntityType<?>, Map<ResourceKey<LootTable>, LootTable$Builder>>
e
map
field_40615
lootTables
f_244213_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected final AnyOfCondition$Builder
a()
shouldSmeltLoot()
method_60394()
createSmeltLootCondition()
m_340326_()
protected static LootTable$Builder
a(dcv arg0)
createSheepTable(ItemLike arg0)
method_46031(class_1935 arg0)
createForSheep(ItemConvertible item)
m_246752_(C_1595_ p_249422_)
public abstract void
b()
generate()
method_10400()
generate()
m_246942_()
public void
generate(BiConsumer<akq<erw>, erw$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)
m_245126_(BiConsumer<C_5264_<C_2822_>, C_2822_$C_2824_> arg0)
private static boolean
a(bsx<?> arg0)
canHaveLootTable(EntityType<?> arg0)
method_46027(class_1299<?> arg0)
shouldCheck(EntityType<?> entityType)
m_245552_(C_513_<?> p_249029_)
protected LootItemCondition$Builder
c()
killedByFrog()
method_46034()
killedByFrog()
m_245873_()
protected LootItemCondition$Builder
a(akq<cfp> arg0)
killedByFrogVariant(ResourceKey<FrogVariant> arg0)
method_46030(class_5321<class_7106> arg0)
killedByFrog(RegistryKey<FrogVariant> frogVariant)
m_247253_(C_5264_<C_213034_> arg0)
protected void
a(bsx<?> arg0, erw$a arg1)
add(EntityType<?> arg0, LootTable$Builder arg1)
method_46029(class_1299<?> arg0, class_52$class_53 arg1)
register(EntityType<?> entityType, LootTable$Builder lootTable)
m_245309_(C_513_<?> p_249440_, C_2822_$C_2824_ arg1)
protected void
a(bsx<?> arg0, akq<erw> arg1, erw$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)
m_247520_(C_513_<?> p_332898_, C_5264_<C_2822_> p_249357_, C_2822_$C_2824_ arg2)