net.minecraft.data.loot

public abstract class BlockLootSubProvider

implements LootTableSubProvider

mr
net.minecraft.data.loot.BlockLootSubProvider
net.minecraft.class_7788
net.minecraft.unmapped.C_qvbzxacb
net.minecraft.data.server.loottable.BlockLootTableGenerator
net.minecraft.data.server.loot_table.BlockLootTableGenerator
net.minecraft.src.C_243556_

Field summary

Modifier and TypeField
protected static final LootItemCondition$Builder
a
HAS_SILK_TOUCH
field_40602
f_tdwqluze
WITH_SILK_TOUCH
WITH_SILK_TOUCH
f_243678_
protected static final LootItemCondition$Builder
b
HAS_NO_SILK_TOUCH
field_40603
f_pbtagkng
WITHOUT_SILK_TOUCH
WITHOUT_SILK_TOUCH
f_244217_
protected static final LootItemCondition$Builder
c
HAS_SHEARS
field_40604
f_obaulack
WITH_SHEARS
WITH_SHEARS
f_243905_
private static final LootItemCondition$Builder
h
HAS_SHEARS_OR_SILK_TOUCH
field_40606
f_uoxfrmri
WITH_SILK_TOUCH_OR_SHEARS
WITH_SHEARS_OR_SILK_TOUCH
f_244301_
private static final LootItemCondition$Builder
i
HAS_NO_SHEARS_OR_SILK_TOUCH
field_40607
f_ustmwfwz
WITHOUT_SILK_TOUCH_NOR_SHEARS
WITHOUT_SHEARS_OR_SILK_TOUCH
f_244248_
protected final Set<Item>
d
explosionResistant
field_40608
f_scztoibg
explosionImmuneItems
explosionResistantItems
f_243865_
protected final FeatureFlagSet
e
enabledFeatures
field_40609
f_icxaaeib
requiredFeatures
enabledFeatures
f_243739_
protected final Map<ResourceKey<LootTable>, LootTable$Builder>
f
map
field_40610
f_qxvtbsum
lootTables
lootTables
f_244441_
protected static final float[]
g
NORMAL_LEAVES_SAPLING_CHANCES
field_40605
f_llapfzxm
SAPLING_DROP_CHANCE
LEAVES_SAPLING_DROP_CHANCES
f_244509_
private static final float[]
j
NORMAL_LEAVES_STICK_CHANCES
field_40611
f_inyjghhz
LEAVES_STICK_DROP_CHANCE
LEAVES_STICK_DROP_CHANCES
f_244531_

Constructor summary

ModifierConstructor
protected (Set<Item> explosionImmuneItems, FeatureFlagSet requiredFeatures)
protected (Set<Item> explosionImmuneItems, FeatureFlagSet requiredFeatures, Map<ResourceKey<LootTable>, LootTable$Builder> lootTables)

Method summary

Modifier and TypeMethod
protected <T extends FunctionUserBuilder<T>> T
a(dbz arg0, ert<T> arg1)
applyExplosionDecay(ItemLike arg0, FunctionUserBuilder<T> arg1)
method_45977(class_1935 arg0, class_116<T> arg1)
m_uciprkeh(C_gmbqjnle arg0, C_uenkggwx<T> arg1)
applyExplosionDecay(ItemConvertible drop, LootFunctionConsumingBuilder<T> builder)
applyExplosionDecay(ItemConvertible drop, LootFunctionConsumingBuilder<T> builder)
m_246108_(C_1595_ p_248548_, C_2920_<T> arg1)
protected <T extends ConditionUserBuilder<T>> T
a(dbz arg0, etn<T> arg1)
applyExplosionCondition(ItemLike arg0, ConditionUserBuilder<T> arg1)
method_45978(class_1935 arg0, class_192<T> arg1)
m_kfomhbnn(C_gmbqjnle arg0, C_xlpxhrrl<T> arg1)
addSurvivesExplosionCondition(ItemConvertible drop, LootConditionConsumingBuilder<T> builder)
applySurvivesExplosionCondition(ItemConvertible drop, LootConditionConsumingBuilder<T> builder)
m_247733_(C_1595_ p_248851_, C_2985_<T> arg1)
public LootTable$Builder
a(dbz arg0)
createSingleItemTable(ItemLike arg0)
method_45976(class_1935 arg0)
m_mqmibism(C_gmbqjnle arg0)
drops(ItemConvertible drop)
singleDrop(ItemConvertible drop)
m_247033_(C_1595_ arg0)
private static LootTable$Builder
a(dfb arg0, etu$a arg1, era$a<?> arg2)
createSelfDropDispatchTable(Block arg0, LootItemCondition$Builder arg1, LootPoolEntryContainer$Builder<?> arg2)
method_45991(class_2248 arg0, class_5341$class_210 arg1, class_79$class_80<?> arg2)
m_tnhhlied(C_mmxmpdoq arg0, C_vqkczpuv$C_cjvmpogn arg1, C_rhqekity$C_ygespcrj<?> arg2)
drops(Block drop, LootCondition$Builder conditionBuilder, LootPoolEntry$Builder<?> child)
dropsConditionally(Block drop, LootCondition$Builder condition, LootPoolEntry$Builder<?> alternative)
m_246900_(C_1706_ p_252253_, C_3004_$C_3005_ p_248764_, C_2856_$C_2857_<?> p_249146_)
protected static LootTable$Builder
a(dfb arg0, era$a<?> arg1)
createSilkTouchDispatchTable(Block arg0, LootPoolEntryContainer$Builder<?> arg1)
method_45989(class_2248 arg0, class_79$class_80<?> arg1)
m_xsbkmpdj(C_mmxmpdoq arg0, C_rhqekity$C_ygespcrj<?> arg1)
dropsWithSilkTouch(Block drop, LootPoolEntry$Builder<?> child)
dropsWithSilkTouch(Block drop, LootPoolEntry$Builder<?> alternative)
m_247502_(C_1706_ p_250203_, C_2856_$C_2857_<?> p_252089_)
protected static LootTable$Builder
b(dfb arg0, era$a<?> arg1)
createShearsDispatchTable(Block arg0, LootPoolEntryContainer$Builder<?> arg1)
method_46001(class_2248 arg0, class_79$class_80<?> arg1)
m_npbtbssh(C_mmxmpdoq arg0, C_rhqekity$C_ygespcrj<?> arg1)
dropsWithShears(Block drop, LootPoolEntry$Builder<?> child)
dropsWithShears(Block drop, LootPoolEntry$Builder<?> alternative)
m_247184_(C_1706_ p_252195_, C_2856_$C_2857_<?> p_250102_)
protected static LootTable$Builder
c(dfb arg0, era$a<?> arg1)
createSilkTouchOrShearsDispatchTable(Block arg0, LootPoolEntryContainer$Builder<?> arg1)
method_46008(class_2248 arg0, class_79$class_80<?> arg1)
m_btqwsjay(C_mmxmpdoq arg0, C_rhqekity$C_ygespcrj<?> arg1)
dropsWithSilkTouchOrShears(Block drop, LootPoolEntry$Builder<?> child)
dropsWithShearsOrSilkTouch(Block drop, LootPoolEntry$Builder<?> alternative)
m_246160_(C_1706_ p_250539_, C_2856_$C_2857_<?> p_251459_)
protected LootTable$Builder
a(dfb arg0, dbz arg1)
createSingleItemTableWithSilkTouch(Block arg0, ItemLike arg1)
method_45983(class_2248 arg0, class_1935 arg1)
m_uhfrelnt(C_mmxmpdoq arg0, C_gmbqjnle arg1)
drops(Block dropWithSilkTouch, ItemConvertible drop)
dropsWithSilkTouch(Block drop, ItemConvertible alternative)
m_245514_(C_1706_ p_251905_, C_1595_ arg1)
protected LootTable$Builder
a(dbz arg0, eup arg1)
createSingleItemTable(ItemLike arg0, NumberProvider arg1)
method_45979(class_1935 arg0, class_5658 arg1)
m_ivwzwdoy(C_gmbqjnle arg0, C_iajmfyig arg1)
drops(ItemConvertible drop, LootNumberProvider count)
singleDrop(ItemConvertible drop, LootNumberProvider count)
m_245765_(C_1595_ p_249865_, C_141501_ arg1)
protected LootTable$Builder
a(dfb arg0, dbz arg1, eup arg2)
createSingleItemTableWithSilkTouch(Block arg0, ItemLike arg1, NumberProvider arg2)
method_45984(class_2248 arg0, class_1935 arg1, class_5658 arg2)
m_vwoeavmn(C_mmxmpdoq arg0, C_gmbqjnle arg1, C_iajmfyig arg2)
drops(Block dropWithSilkTouch, ItemConvertible drop, LootNumberProvider count)
dropsWithSilkTouch(Block drop, ItemConvertible alternative, LootNumberProvider alternativeCount)
m_245142_(C_1706_ p_248558_, C_1595_ p_250047_, C_141501_ arg2)
private static LootTable$Builder
c(dbz arg0)
createSilkTouchOnlyTable(ItemLike arg0)
method_46003(class_1935 arg0)
m_llfqgnyd(C_gmbqjnle arg0)
dropsWithSilkTouch(ItemConvertible drop)
dropsWithSilkTouch(ItemConvertible drop)
m_245335_(C_1595_ p_252216_)
private LootTable$Builder
d(dbz arg0)
createPotFlowerItemTable(ItemLike arg0)
method_46009(class_1935 arg0)
m_jlqaivfs(C_gmbqjnle arg0)
pottedPlantDrops(ItemConvertible drop)
pottedPlantDrops(ItemConvertible plant)
m_245602_(C_1595_ arg0)
protected LootTable$Builder
a(dfb arg0)
createSlabItemTable(Block arg0)
method_45980(class_2248 arg0)
m_lqojiqvk(C_mmxmpdoq arg0)
slabDrops(Block drop)
slabDrops(Block block)
m_247233_(C_1706_ arg0)
protected <T extends Comparable<T>, StringRepresentable> LootTable$Builder
a(dfb arg0, dth<T> arg1, T arg2)
createSinglePropConditionTable(Block arg0, Property<T> arg1, T arg2)
method_45987(class_2248 arg0, class_2769<T> arg1, T arg2)
m_mdpyjjrq(C_mmxmpdoq arg0, C_vzlztuyw<T> arg1, T arg2)
dropsWithProperty(Block drop, Property<T> property, T value)
dropsWithPropertyValue(Block drop, Property<T> property, T value)
m_245178_(C_1706_ p_250272_, C_2097_<T> p_250292_, T arg2)
protected LootTable$Builder
b(dfb arg0)
createNameableBlockEntityTable(Block arg0)
method_45996(class_2248 arg0)
m_wgxgtmrm(C_mmxmpdoq arg0)
nameableContainerDrops(Block drop)
nameableBlockEntityDrops(Block drop)
m_246180_(C_1706_ arg0)
protected LootTable$Builder
c(dfb arg0)
createShulkerBoxDrop(Block arg0)
method_46004(class_2248 arg0)
m_fcihpktt(C_mmxmpdoq arg0)
shulkerBoxDrops(Block drop)
shulkerBoxDrops(Block drop)
m_247334_(C_1706_ arg0)
protected LootTable$Builder
d(dfb arg0)
createCopperOreDrops(Block arg0)
method_46010(class_2248 arg0)
m_doejxrqc(C_mmxmpdoq arg0)
copperOreDrops(Block drop)
copperOreDrops(Block drop)
m_246167_(C_1706_ arg0)
protected LootTable$Builder
e(dfb arg0)
createLapisOreDrops(Block arg0)
method_46011(class_2248 arg0)
m_ocoglggc(C_mmxmpdoq arg0)
lapisOreDrops(Block drop)
lapisLazuliOreDrops(Block drop)
m_246218_(C_1706_ arg0)
protected LootTable$Builder
f(dfb arg0)
createRedstoneOreDrops(Block arg0)
method_46012(class_2248 arg0)
m_hpsfdeye(C_mmxmpdoq arg0)
redstoneOreDrops(Block drop)
redstoneOreDrops(Block drop)
m_245671_(C_1706_ arg0)
protected LootTable$Builder
g(dfb arg0)
createBannerDrop(Block arg0)
method_46013(class_2248 arg0)
m_njksnwsr(C_mmxmpdoq arg0)
bannerDrops(Block drop)
bannerDrops(Block drop)
m_247458_(C_1706_ arg0)
protected static LootTable$Builder
h(dfb arg0)
createBeeNestDrop(Block arg0)
method_46014(class_2248 arg0)
m_pjgvtcdj(C_mmxmpdoq arg0)
beeNestDrops(Block drop)
beeNestDrops(Block drop)
m_247273_(C_1706_ p_250988_)
protected static LootTable$Builder
i(dfb arg0)
createBeeHiveDrop(Block arg0)
method_46015(class_2248 arg0)
m_nhzkwlcr(C_mmxmpdoq arg0)
beehiveDrops(Block drop)
beeHiveDrops(Block drop)
m_247247_(C_1706_ p_248770_)
protected static LootTable$Builder
j(dfb arg0)
createCaveVinesDrop(Block arg0)
method_46016(class_2248 arg0)
m_tzqnvsdr(C_mmxmpdoq arg0)
glowBerryDrops(Block drop)
caveVineDrops(Block drop)
m_245658_(C_1706_ p_251070_)
protected LootTable$Builder
a(dfb arg0, cum arg1)
createOreDrop(Block arg0, Item arg1)
method_45981(class_2248 arg0, class_1792 arg1)
m_imzrkxfh(C_mmxmpdoq arg0, C_vorddnax arg1)
oreDrops(Block dropWithSilkTouch, Item drop)
oreDrops(Block dropWithSilkTouch, Item drop)
m_246109_(C_1706_ p_249745_, C_1381_ arg1)
protected LootTable$Builder
b(dfb arg0, dbz arg1)
createMushroomBlockDrop(Block arg0, ItemLike arg1)
method_45998(class_2248 arg0, class_1935 arg1)
m_mvgsyhrv(C_mmxmpdoq arg0, C_gmbqjnle arg1)
mushroomBlockDrops(Block dropWithSilkTouch, ItemConvertible drop)
mushroomBlockDrops(Block dropWithSilkTouch, ItemConvertible drop)
m_245079_(C_1706_ p_249315_, C_1595_ arg1)
protected LootTable$Builder
k(dfb arg0)
createGrassDrops(Block arg0)
method_46017(class_2248 arg0)
m_rjtmxkxc(C_mmxmpdoq arg0)
shortPlantDrops(Block dropWithShears)
grassDrops(Block dropWithShears)
m_245349_(C_1706_ arg0)
public LootTable$Builder
b(dfb arg0, cum arg1)
createStemDrops(Block arg0, Item arg1)
method_45997(class_2248 arg0, class_1792 arg1)
m_icjzesrx(C_mmxmpdoq arg0, C_vorddnax arg1)
cropStemDrops(Block stem, Item drop)
stemDrops(Block stem, Item drop)
m_247642_(C_1706_ p_249098_, C_1381_ arg1)
public LootTable$Builder
c(dfb arg0, cum arg1)
createAttachedStemDrops(Block arg0, Item arg1)
method_46005(class_2248 arg0, class_1792 arg1)
m_ynjolyvi(C_mmxmpdoq arg0, C_vorddnax arg1)
attachedCropStemDrops(Block stem, Item drop)
attachedStemDrops(Block stem, Item drop)
m_246312_(C_1706_ p_250678_, C_1381_ arg1)
protected static LootTable$Builder
b(dbz arg0)
createShearsOnlyDrop(ItemLike arg0)
method_45995(class_1935 arg0)
m_lfklkvaa(C_gmbqjnle arg0)
dropsWithShears(ItemConvertible drop)
dropsWithShears(ItemConvertible drop)
m_245929_(C_1595_ p_250684_)
protected LootTable$Builder
a(dfb arg0, etu$a arg1)
createMultifaceBlockDrops(Block arg0, LootItemCondition$Builder arg1)
method_45990(class_2248 arg0, class_5341$class_210 arg1)
m_kurpjrxc(C_mmxmpdoq arg0, C_vqkczpuv$C_cjvmpogn arg1)
multifaceGrowthDrops(Block drop, LootCondition$Builder condition)
multiFaceBlockDrops(Block drop, LootCondition$Builder condition)
m_246235_(C_1706_ p_251535_, C_3004_$C_3005_ arg1)
protected LootTable$Builder
a(dfb arg0, dfb arg1, float... arg2)
createLeavesDrops(Block arg0, Block arg1, float... arg2)
method_45986(class_2248 arg0, class_2248 arg1, float... arg2)
m_pgjzzrvc(C_mmxmpdoq arg0, C_mmxmpdoq arg1, float... arg2)
leavesDrops(Block leaves, Block drop, float... chance)
leavesDrops(Block leaves, Block drop, float... chance)
m_246047_(C_1706_ p_250731_, C_1706_ p_248949_, float... arg2)
protected LootTable$Builder
b(dfb arg0, dfb arg1, float... arg2)
createOakLeavesDrops(Block arg0, Block arg1, float... arg2)
method_46000(class_2248 arg0, class_2248 arg1, float... arg2)
m_huwptlyk(C_mmxmpdoq arg0, C_mmxmpdoq arg1, float... arg2)
oakLeavesDrops(Block leaves, Block drop, float... chance)
oakLeavesDrops(Block leaves, Block drop, float... chance)
m_246142_(C_1706_ p_251505_, C_1706_ p_250753_, float... arg2)
protected LootTable$Builder
l(dfb arg0)
createMangroveLeavesDrops(Block arg0)
method_46018(class_2248 arg0)
m_seoyeuaw(C_mmxmpdoq arg0)
mangroveLeavesDrops(Block leaves)
mangroveLeavesDrops(Block leaves)
m_245170_(C_1706_ arg0)
protected LootTable$Builder
a(dfb arg0, cum arg1, cum arg2, etu$a arg3)
createCropDrops(Block arg0, Item arg1, Item arg2, LootItemCondition$Builder arg3)
method_45982(class_2248 arg0, class_1792 arg1, class_1792 arg2, class_5341$class_210 arg3)
m_sgdbhupd(C_mmxmpdoq arg0, C_vorddnax arg1, C_vorddnax arg2, C_vqkczpuv$C_cjvmpogn arg3)
cropDrops(Block crop, Item product, Item seeds, LootCondition$Builder condition)
cropDrops(Block crop, Item product, Item seeds, LootCondition$Builder condition)
m_245238_(C_1706_ p_248599_, C_1381_ p_251915_, C_1381_ p_252202_, C_3004_$C_3005_ arg3)
protected static LootTable$Builder
m(dfb arg0)
createDoublePlantShearsDrop(Block arg0)
method_46019(class_2248 arg0)
m_lvjwktnr(C_mmxmpdoq arg0)
seagrassDrops(Block seagrass)
seagrassDrops(Block drop)
m_246463_(C_1706_ p_248678_)
protected LootTable$Builder
a(dfb arg0, dfb arg1)
createDoublePlantWithSeedDrops(Block arg0, Block arg1)
method_45985(class_2248 arg0, class_2248 arg1)
m_nezujawp(C_mmxmpdoq arg0, C_mmxmpdoq arg1)
tallPlantDrops(Block tallPlant, Block shortPlant)
tallGrassDrops(Block tallGrass, Block drop)
m_246224_(C_1706_ p_248735_, C_1706_ arg1)
protected LootTable$Builder
n(dfb arg0)
createCandleDrops(Block arg0)
method_46020(class_2248 arg0)
m_jbysywuh(C_mmxmpdoq arg0)
candleDrops(Block candle)
candleDrops(Block drop)
m_245895_(C_1706_ arg0)
protected LootTable$Builder
o(dfb arg0)
createPetalsDrops(Block arg0)
method_49358(class_2248 arg0)
m_igkkhmzt(C_mmxmpdoq arg0)
flowerbedDrops(Block flowerbed)
flowerbedDrops(Block drop)
m_271693_(C_1706_ arg0)
protected static LootTable$Builder
p(dfb arg0)
createCandleCakeDrops(Block arg0)
method_46021(class_2248 arg0)
m_buprdvjq(C_mmxmpdoq arg0)
candleCakeDrops(Block candleCake)
candleCakeDrops(Block drop)
m_246838_(C_1706_ p_250280_)
public static LootTable$Builder
a()
noDrop()
method_45975()
m_xfxbfttg()
dropsNothing()
dropsNothing()
m_246386_()
protected abstract void
b()
generate()
method_10379()
m_mkxtlejp()
generate()
generate()
m_245660_()
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_249322_, BiConsumer<C_5264_<C_2822_>, C_2822_$C_2824_> arg1)
protected void
b(dfb arg0, dfb arg1)
addNetherVinesDropTable(Block arg0, Block arg1)
method_45999(class_2248 arg0, class_2248 arg1)
m_rpleggpc(C_mmxmpdoq arg0, C_mmxmpdoq arg1)
addVinePlantDrop(Block block, Block drop)
addNetherVinesDrops(Block vines, Block plant)
m_245693_(C_1706_ p_250696_, C_1706_ arg1)
protected LootTable$Builder
q(dfb arg0)
createDoorTable(Block arg0)
method_46022(class_2248 arg0)
m_pzwbwszi(C_mmxmpdoq arg0)
doorDrops(Block block)
doorDrops(Block drop)
m_247398_(C_1706_ arg0)
protected void
r(dfb arg0)
dropPottedContents(Block arg0)
method_46023(class_2248 arg0)
m_xtkqbrpf(C_mmxmpdoq arg0)
addPottedPlantDrops(Block block)
addPottedPlantDrops(Block block)
m_246535_(C_1706_ arg0)
protected void
c(dfb arg0, dfb arg1)
otherWhenSilkTouch(Block arg0, Block arg1)
method_46007(class_2248 arg0, class_2248 arg1)
m_nwsdiuso(C_mmxmpdoq arg0, C_mmxmpdoq arg1)
addDropWithSilkTouch(Block block, Block drop)
addDropWithSilkTouch(Block block, Block drop)
m_245854_(C_1706_ p_252053_, C_1706_ arg1)
protected void
c(dfb arg0, dbz arg1)
dropOther(Block arg0, ItemLike arg1)
method_46006(class_2248 arg0, class_1935 arg1)
m_psgoknhy(C_mmxmpdoq arg0, C_gmbqjnle arg1)
addDrop(Block block, ItemConvertible drop)
addDrop(Block block, ItemConvertible drop)
m_246125_(C_1706_ p_251883_, C_1595_ arg1)
protected void
s(dfb arg0)
dropWhenSilkTouch(Block arg0)
method_46024(class_2248 arg0)
m_bnzvpgqo(C_mmxmpdoq arg0)
addDropWithSilkTouch(Block block)
addDropWithSilkTouch(Block block)
m_245644_(C_1706_ arg0)
protected void
t(dfb arg0)
dropSelf(Block arg0)
method_46025(class_2248 arg0)
m_wddtzajg(C_mmxmpdoq arg0)
addDrop(Block block)
addDrop(Block block)
m_245724_(C_1706_ arg0)
protected void
a(dfb arg0, Function<dfb, eqp$a> arg1)
add(Block arg0, Function<Block, LootTable$Builder> arg1)
method_45994(class_2248 arg0, Function<class_2248, class_52$class_53> arg1)
m_qxdwxduz(C_mmxmpdoq arg0, Function<C_mmxmpdoq, C_inwsuliy$C_daaljsfu> arg1)
addDrop(Block block, Function<Block, LootTable$Builder> lootTableFunction)
add(Block block, Function<Block, LootTable$Builder> lootTableFunction)
m_246481_(C_1706_ p_251699_, Function<C_1706_, C_2822_$C_2824_> arg1)
protected void
a(dfb arg0, eqp$a arg1)
add(Block arg0, LootTable$Builder arg1)
method_45988(class_2248 arg0, class_52$class_53 arg1)
m_ptdrisyl(C_mmxmpdoq arg0, C_inwsuliy$C_daaljsfu arg1)
addDrop(Block block, LootTable$Builder lootTable)
add(Block block, LootTable$Builder lootTable)
m_247577_(C_1706_ p_249817_, C_2822_$C_2824_ arg1)