net.minecraft.data.loot

public abstract class EntityLootSubProvider

implements LootTableSubProvider

kb
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<ResourceLocation, 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(cml 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(BiConsumer<acq, dzs$a> arg0)
generate(BiConsumer<ResourceLocation, LootTable$Builder> arg0)
method_10399(BiConsumer<class_2960, class_52$class_53> arg0)
accept(BiConsumer<Identifier, LootTable$Builder> arg0)
m_245126_(BiConsumer<C_5265_, C_2822_$C_2824_> arg0)
private static boolean
a(bfn<?> 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(brw arg0)
killedByFrogVariant(FrogVariant arg0)
method_46030(class_7106 arg0)
killedByFrog(FrogVariant variant)
m_247253_(C_213034_ arg0)
protected void
a(bfn<?> arg0, dzs$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(bfn<?> arg0, acq arg1, dzs$a arg2)
add(EntityType<?> arg0, ResourceLocation arg1, LootTable$Builder arg2)
method_46028(class_1299<?> arg0, class_2960 arg1, class_52$class_53 arg2)
register(EntityType<?> entityType, Identifier entityId, LootTable$Builder lootTable)
m_247520_(C_513_<?> p_251706_, C_5265_ p_249357_, C_2822_$C_2824_ arg2)