net.minecraft.data.loot

public class BlockLoot

implements Consumer<BiConsumer<ResourceLocation, LootTable$Builder>>

ir
net.minecraft.data.loot.BlockLoot
net.minecraft.class_2430
net.minecraft.data.server.BlockLootTableGenerator
net.minecraft.src.C_4776_

Field summary

Modifier and TypeField
private static final LootItemCondition$Builder
a
HAS_SILK_TOUCH
field_11336
WITH_SILK_TOUCH
f_124062_
private static final LootItemCondition$Builder
b
HAS_NO_SILK_TOUCH
field_11337
WITHOUT_SILK_TOUCH
f_124063_
private static final LootItemCondition$Builder
c
HAS_SHEARS
field_11343
WITH_SHEARS
f_124064_
private static final LootItemCondition$Builder
d
HAS_SHEARS_OR_SILK_TOUCH
field_11342
WITH_SILK_TOUCH_OR_SHEARS
f_124065_
private static final LootItemCondition$Builder
e
HAS_NO_SHEARS_OR_SILK_TOUCH
field_11341
WITHOUT_SILK_TOUCH_NOR_SHEARS
f_124066_
private static final Set<Item>
f
EXPLOSION_RESISTANT
field_11340
EXPLOSION_IMMUNE
f_124067_
private static final float[]
g
NORMAL_LEAVES_SAPLING_CHANCES
field_11339
SAPLING_DROP_CHANCE
f_124068_
private static final float[]
h
JUNGLE_LEAVES_SAPLING_CHANGES
field_11338
JUNGLE_SAPLING_DROP_CHANCE
f_124069_
private final Map<ResourceLocation, LootTable$Builder>
i
map
field_16493
lootTables
f_124070_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T> T
a(bwo arg0, djx<T> arg1)
applyExplosionDecay(ItemLike arg0, FunctionUserBuilder<T> arg1)
method_10393(class_1935 arg0, class_116<T> arg1)
applyExplosionDecay(ItemConvertible drop, LootFunctionConsumingBuilder<T> builder)
m_124131_(C_1595_ p_124132_, C_2920_<T> p_124133_)
private static <T> T
a(bwo arg0, dla<T> arg1)
applyExplosionCondition(ItemLike arg0, ConditionUserBuilder<T> arg1)
method_10392(class_1935 arg0, class_192<T> arg1)
addSurvivesExplosionCondition(ItemConvertible drop, LootConditionConsumingBuilder<T> builder)
m_124134_(C_1595_ p_124135_, C_2985_<T> p_124136_)
private static LootTable$Builder
a(bwo arg0)
createSingleItemTable(ItemLike arg0)
method_10394(class_1935 arg0)
drops(ItemConvertible drop)
m_124126_(C_1595_ p_124127_)
private static LootTable$Builder
a(bzo arg0, dlh$a arg1, djh$a<?> arg2)
createSelfDropDispatchTable(Block arg0, LootItemCondition$Builder arg1, LootPoolEntryContainer$Builder<?> arg2)
method_10381(class_2248 arg0, class_5341$class_210 arg1, class_79$class_80<?> arg2)
drops(Block drop, LootCondition$Builder conditionBuilder, LootPoolEntry$Builder<?> child)
m_124171_(C_1706_ p_124172_, C_3004_$C_3005_ p_124173_, C_2856_$C_2857_<?> p_124174_)
private static LootTable$Builder
a(bzo arg0, djh$a<?> arg1)
createSilkTouchDispatchTable(Block arg0, LootPoolEntryContainer$Builder<?> arg1)
method_10397(class_2248 arg0, class_79$class_80<?> arg1)
dropsWithSilkTouch(Block drop, LootPoolEntry$Builder<?> child)
m_124168_(C_1706_ p_124169_, C_2856_$C_2857_<?> p_124170_)
private static LootTable$Builder
b(bzo arg0, djh$a<?> arg1)
createShearsDispatchTable(Block arg0, LootPoolEntryContainer$Builder<?> arg1)
method_10380(class_2248 arg0, class_79$class_80<?> arg1)
dropsWithShears(Block drop, LootPoolEntry$Builder<?> child)
m_124267_(C_1706_ p_124268_, C_2856_$C_2857_<?> p_124269_)
private static LootTable$Builder
c(bzo arg0, djh$a<?> arg1)
createSilkTouchOrShearsDispatchTable(Block arg0, LootPoolEntryContainer$Builder<?> arg1)
method_10388(class_2248 arg0, class_79$class_80<?> arg1)
dropsWithSilkTouchOrShears(Block drop, LootPoolEntry$Builder<?> child)
m_124283_(C_1706_ p_124284_, C_2856_$C_2857_<?> p_124285_)
private static LootTable$Builder
b(bzo arg0, bwo arg1)
createSingleItemTableWithSilkTouch(Block arg0, ItemLike arg1)
method_10382(class_2248 arg0, class_1935 arg1)
drops(Block dropWithSilkTouch, ItemConvertible drop)
m_124257_(C_1706_ p_124258_, C_1595_ p_124259_)
private static LootTable$Builder
a(bwo arg0, dmc arg1)
createSingleItemTable(ItemLike arg0, NumberProvider arg1)
method_10384(class_1935 arg0, class_5658 arg1)
drops(ItemConvertible drop, LootNumberProvider count)
m_176039_(C_1595_ p_176040_, C_141501_ p_176041_)
private static LootTable$Builder
a(bzo arg0, bwo arg1, dmc arg2)
createSingleItemTableWithSilkTouch(Block arg0, ItemLike arg1, NumberProvider arg2)
method_10386(class_2248 arg0, class_1935 arg1, class_5658 arg2)
drops(Block dropWithSilkTouch, ItemConvertible drop, LootNumberProvider count)
m_176042_(C_1706_ p_176043_, C_1595_ p_176044_, C_141501_ p_176045_)
private static LootTable$Builder
b(bwo arg0)
createSilkTouchOnlyTable(ItemLike arg0)
method_10373(class_1935 arg0)
dropsWithSilkTouch(ItemConvertible drop)
m_124250_(C_1595_ p_124251_)
private static LootTable$Builder
c(bwo arg0)
createPotFlowerItemTable(ItemLike arg0)
method_10389(class_1935 arg0)
pottedPlantDrops(ItemConvertible plant)
m_124270_(C_1595_ p_124271_)
private static LootTable$Builder
e(bzo arg0)
createSlabItemTable(Block arg0)
method_10383(class_2248 arg0)
slabDrops(Block drop)
m_124290_(C_1706_ p_124291_)
private static <T extends Comparable<T>, StringRepresentable> LootTable$Builder
a(bzo arg0, clv<T> arg1, T arg2)
createSinglePropConditionTable(Block arg0, Property<T> arg1, T arg2)
method_10375(class_2248 arg0, class_2769<T> arg1, T arg2)
dropsWithProperty(Block drop, Property<T> arg1, T arg2)
m_124161_(C_1706_ p_124162_, C_2097_<T> p_124163_, T p_124164_)
private static LootTable$Builder
f(bzo arg0)
createNameableBlockEntityTable(Block arg0)
method_10396(class_2248 arg0)
nameableContainerDrops(Block drop)
m_124292_(C_1706_ p_124293_)
private static LootTable$Builder
g(bzo arg0)
createShulkerBoxDrop(Block arg0)
method_16876(class_2248 arg0)
shulkerBoxDrops(Block drop)
m_124294_(C_1706_ p_124295_)
private static LootTable$Builder
h(bzo arg0)
createCopperOreDrops(Block arg0)
method_36545(class_2248 arg0)
copperOreDrops(Block ore)
m_176046_(C_1706_ p_176047_)
private static LootTable$Builder
i(bzo arg0)
createLapisOreDrops(Block arg0)
method_34057(class_2248 arg0)
lapisOreDrops(Block ore)
m_176048_(C_1706_ p_176049_)
private static LootTable$Builder
j(bzo arg0)
createRedstoneOreDrops(Block arg0)
method_34058(class_2248 arg0)
redstoneOreDrops(Block ore)
m_176050_(C_1706_ p_176051_)
private static LootTable$Builder
k(bzo arg0)
createBannerDrop(Block arg0)
method_16877(class_2248 arg0)
bannerDrops(Block drop)
m_124296_(C_1706_ p_124297_)
private static LootTable$Builder
l(bzo arg0)
createBeeNestDrop(Block arg0)
method_22142(class_2248 arg0)
beeNestDrops(Block drop)
m_124298_(C_1706_ p_124299_)
private static LootTable$Builder
m(bzo arg0)
createBeeHiveDrop(Block arg0)
method_22143(class_2248 arg0)
beehiveDrops(Block drop)
m_124300_(C_1706_ p_124301_)
private static LootTable$Builder
n(bzo arg0)
createCaveVinesDrop(Block arg0)
method_33709(class_2248 arg0)
glowBerryDrops(Block drop)
m_176052_(C_1706_ p_176053_)
private static LootTable$Builder
a(bzo arg0, bql arg1)
createOreDrop(Block arg0, Item arg1)
method_10377(class_2248 arg0, class_1792 arg1)
oreDrops(Block dropWithSilkTouch, Item drop)
m_124139_(C_1706_ p_124140_, C_1381_ p_124141_)
private static LootTable$Builder
c(bzo arg0, bwo arg1)
createMushroomBlockDrop(Block arg0, ItemLike arg1)
method_10385(class_2248 arg0, class_1935 arg1)
mushroomBlockDrops(Block dropWithSilkTouch, ItemConvertible drop)
m_124277_(C_1706_ p_124278_, C_1595_ p_124279_)
private static LootTable$Builder
o(bzo arg0)
createGrassDrops(Block arg0)
method_10371(class_2248 arg0)
grassDrops(Block dropWithShears)
m_124302_(C_1706_ p_124303_)
private static LootTable$Builder
b(bzo arg0, bql arg1)
createStemDrops(Block arg0, Item arg1)
method_10387(class_2248 arg0, class_1792 arg1)
cropStemDrops(Block stem, Item drop)
m_124254_(C_1706_ p_124255_, C_1381_ p_124256_)
private static LootTable$Builder
c(bzo arg0, bql arg1)
createAttachedStemDrops(Block arg0, Item arg1)
method_23229(class_2248 arg0, class_1792 arg1)
attachedCropStemDrops(Block stem, Item drop)
m_124274_(C_1706_ p_124275_, C_1381_ p_124276_)
private static LootTable$Builder
d(bwo arg0)
createShearsOnlyDrop(ItemLike arg0)
method_10372(class_1935 arg0)
dropsWithShears(ItemConvertible drop)
m_124286_(C_1595_ p_124287_)
private static LootTable$Builder
p(bzo arg0)
createGlowLichenDrops(Block arg0)
method_37108(class_2248 arg0)
method_37108(Block arg0)
m_176054_(C_1706_ p_176055_)
private static LootTable$Builder
a(bzo arg0, bzo arg1, float... arg2)
createLeavesDrops(Block arg0, Block arg1, float... arg2)
method_10390(class_2248 arg0, class_2248 arg1, float... arg2)
leavesDrop(Block leaves, Block drop, float... chance)
m_124157_(C_1706_ p_124158_, C_1706_ p_124159_, float... p_124160_)
private static LootTable$Builder
b(bzo arg0, bzo arg1, float... arg2)
createOakLeavesDrops(Block arg0, Block arg1, float... arg2)
method_10378(class_2248 arg0, class_2248 arg1, float... arg2)
oakLeavesDrop(Block leaves, Block drop, float... chance)
m_124263_(C_1706_ p_124264_, C_1706_ p_124265_, float... p_124266_)
private static LootTable$Builder
a(bzo arg0, bql arg1, bql arg2, dlh$a arg3)
createCropDrops(Block arg0, Item arg1, Item arg2, LootItemCondition$Builder arg3)
method_10391(class_2248 arg0, class_1792 arg1, class_1792 arg2, class_5341$class_210 arg3)
cropDrops(Block crop, Item product, Item seeds, LootCondition$Builder condition)
m_124142_(C_1706_ p_124143_, C_1381_ p_124144_, C_1381_ p_124145_, C_3004_$C_3005_ p_124146_)
private static LootTable$Builder
q(bzo arg0)
createDoublePlantShearsDrop(Block arg0)
method_30159(class_2248 arg0)
seagrassDrops(Block seagrass)
m_124304_(C_1706_ p_124305_)
private static LootTable$Builder
b(bzo arg0, bzo arg1)
createDoublePlantWithSeedDrops(Block arg0, Block arg1)
method_30158(class_2248 arg0, class_2248 arg1)
tallGrassDrops(Block tallGrass, Block grass)
m_124260_(C_1706_ p_124261_, C_1706_ p_124262_)
private static LootTable$Builder
r(bzo arg0)
createCandleDrops(Block arg0)
method_32224(class_2248 arg0)
candleDrops(Block candle)
m_176056_(C_1706_ p_176057_)
private static LootTable$Builder
s(bzo arg0)
createCandleCakeDrops(Block arg0)
method_32225(class_2248 arg0)
candleCakeDrops(Block candle)
m_176058_(C_1706_ p_176059_)
public static LootTable$Builder
a()
noDrop()
method_10395()
dropsNothing()
m_124125_()
public void
a(BiConsumer<ww, dis$a> arg0)
accept(BiConsumer<ResourceLocation, LootTable$Builder> arg0)
method_10379(BiConsumer<class_2960, class_52$class_53> arg0)
accept(BiConsumer<Identifier, LootTable$Builder> arg0)
accept(BiConsumer<C_5265_, C_2822_$C_2824_> arg0)
private void
c(bzo arg0, bzo arg1)
addNetherVinesDropTable(Block arg0, Block arg1)
method_26000(class_2248 arg0, class_2248 arg1)
addVinePlantDrop(Block block, Block drop)
m_124280_(C_1706_ p_124282_, C_1706_ arg1)
public static LootTable$Builder
a(bzo arg0)
createDoorTable(Block arg0)
method_24817(class_2248 arg0)
addDoorDrop(Block block)
m_124137_(C_1706_ p_124138_)
public void
b(bzo arg0)
dropPottedContents(Block arg0)
method_16285(class_2248 arg0)
addPottedPlantDrop(Block block)
m_124252_(C_1706_ arg0)
public void
a(bzo arg0, bzo arg1)
otherWhenSilkTouch(Block arg0, Block arg1)
method_16238(class_2248 arg0, class_2248 arg1)
addDropWithSilkTouch(Block block, Block drop)
m_124154_(C_1706_ p_124156_, C_1706_ arg1)
public void
a(bzo arg0, bwo arg1)
dropOther(Block arg0, ItemLike arg1)
method_16256(class_2248 arg0, class_1935 arg1)
addDrop(Block block, ItemConvertible drop)
m_124147_(C_1706_ p_124149_, C_1595_ arg1)
public void
c(bzo arg0)
dropWhenSilkTouch(Block arg0)
method_16262(class_2248 arg0)
addDropWithSilkTouch(Block block)
m_124272_(C_1706_ arg0)
public void
d(bzo arg0)
dropSelf(Block arg0)
method_16329(class_2248 arg0)
addDrop(Block block)
m_124288_(C_1706_ arg0)
private void
a(bzo arg0, Function<bzo, dis$a> arg1)
add(Block arg0, Function<Block, LootTable$Builder> arg1)
method_16293(class_2248 arg0, Function<class_2248, class_52$class_53> arg1)
addDrop(Block block, Function<Block, LootTable$Builder> lootTableFunction)
m_124175_(C_1706_ p_124177_, Function<C_1706_, C_2822_$C_2824_> arg1)
private void
a(bzo arg0, dis$a arg1)
add(Block arg0, LootTable$Builder arg1)
method_16258(class_2248 arg0, class_52$class_53 arg1)
addDrop(Block block, LootTable$Builder lootTable)
m_124165_(C_1706_ p_124167_, C_2822_$C_2824_ arg1)