net.minecraft.data.loot

public abstract class EntityLootSubProvider

implements LootTableSubProvider

ms
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
protected static final EntityPredicate$Builder
a
ENTITY_ON_FIRE
field_40612
NEEDS_ENTITY_ON_FIRE
f_244460_
private static final Set<EntityType<?>>
b
SPECIAL_LOOT_TABLE_TYPES
field_40613
ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK
f_244591_
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)
protected (FeatureFlagSet requiredFeatures, FeatureFlagSet featureSet)

Method summary

Modifier and TypeMethod
protected static LootTable$Builder
a(dbz arg0)
createSheepTable(ItemLike arg0)
method_46031(class_1935 arg0)
createForSheep(ItemConvertible item)
m_246752_(C_1595_ p_249422_)
public abstract void
a()
generate()
method_10400()
generate()
m_246942_()
public void
generate(jk$a arg0, BiConsumer<ale<eqp>, eqp$a> arg1)
generate(HolderLookup$Provider arg0, BiConsumer<ResourceKey<LootTable>, LootTable$Builder> arg1)
method_10399(class_7225$class_7874 arg0, BiConsumer<class_5321<class_52>, class_52$class_53> arg1)
accept(RegistryWrapper$WrapperLookup arg0, BiConsumer<RegistryKey<LootTable>, LootTable$Builder> arg1)
m_245126_(C_213466_$C_254607_ p_251751_, BiConsumer<C_5264_<C_2822_>, C_2822_$C_2824_> arg1)
private static boolean
a(btc<?> arg0)
canHaveLootTable(EntityType<?> arg0)
method_46027(class_1299<?> arg0)
shouldCheck(EntityType<?> entityType)
m_245552_(C_513_<?> p_249029_)
protected LootItemCondition$Builder
b()
killedByFrog()
method_46034()
killedByFrog()
m_245873_()
protected LootItemCondition$Builder
a(ale<cfs> 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(btc<?> arg0, eqp$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(btc<?> arg0, ale<eqp> arg1, eqp$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)