net.minecraft.data.loot

public class BlockLoot

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

jo
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 static final float[]
i
NORMAL_LEAVES_STICK_CHANCES
field_38468
LEAVES_STICK_DROP_CHANCE
f_236220_
private final Map<ResourceLocation, LootTable$Builder>
j
map
field_16493
lootTables
f_124070_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T extends FunctionUserBuilder<T>> T
a(cgw arg0, dtl<T> arg1)
applyExplosionDecay(ItemLike arg0, FunctionUserBuilder<T> arg1)
method_10393(class_1935 arg0, class_116<T> arg1)
applyExplosionDecay(ItemConvertible drop, LootFunctionConsumingBuilder<T> builder)
m_236221_(C_1595_ p_236222_, C_2920_<T> p_236223_)
private static <T extends ConditionUserBuilder<T>> T
a(cgw arg0, duq<T> arg1)
applyExplosionCondition(ItemLike arg0, ConditionUserBuilder<T> arg1)
method_10392(class_1935 arg0, class_192<T> arg1)
addSurvivesExplosionCondition(ItemConvertible drop, LootConditionConsumingBuilder<T> builder)
m_236224_(C_1595_ p_236225_, C_2985_<T> p_236226_)
private static LootTable$Builder
a(cgw arg0)
createSingleItemTable(ItemLike arg0)
method_10394(class_1935 arg0)
drops(ItemConvertible drop)
m_124126_(C_1595_ p_124127_)
private static LootTable$Builder
a(cjt arg0, dux$a arg1, dsv$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_3005_ p_124173_, C_2857_<?> p_124174_)
private static LootTable$Builder
a(cjt arg0, dsv$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_2857_<?> p_124170_)
private static LootTable$Builder
b(cjt arg0, dsv$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_2857_<?> p_124269_)
private static LootTable$Builder
c(cjt arg0, dsv$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_2857_<?> p_124285_)
private static LootTable$Builder
b(cjt arg0, cgw 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(cgw arg0, dvs 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(cjt arg0, cgw arg1, dvs 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(cgw arg0)
createSilkTouchOnlyTable(ItemLike arg0)
method_10373(class_1935 arg0)
dropsWithSilkTouch(ItemConvertible drop)
m_124250_(C_1595_ p_124251_)
private static LootTable$Builder
c(cgw arg0)
createPotFlowerItemTable(ItemLike arg0)
method_10389(class_1935 arg0)
pottedPlantDrops(ItemConvertible plant)
m_124270_(C_1595_ p_124271_)
private static LootTable$Builder
e(cjt 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(cjt arg0, cwr<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> property, T value)
m_124161_(C_1706_ p_124162_, C_2097_<T> p_124163_, T p_124164_)
private static LootTable$Builder
f(cjt arg0)
createNameableBlockEntityTable(Block arg0)
method_10396(class_2248 arg0)
nameableContainerDrops(Block drop)
m_124292_(C_1706_ p_124293_)
private static LootTable$Builder
g(cjt arg0)
createShulkerBoxDrop(Block arg0)
method_16876(class_2248 arg0)
shulkerBoxDrops(Block drop)
m_124294_(C_1706_ p_124295_)
private static LootTable$Builder
h(cjt arg0)
createCopperOreDrops(Block arg0)
method_36545(class_2248 arg0)
copperOreDrops(Block ore)
m_176046_(C_1706_ p_176047_)
private static LootTable$Builder
i(cjt arg0)
createLapisOreDrops(Block arg0)
method_34057(class_2248 arg0)
lapisOreDrops(Block ore)
m_176048_(C_1706_ p_176049_)
private static LootTable$Builder
j(cjt arg0)
createRedstoneOreDrops(Block arg0)
method_34058(class_2248 arg0)
redstoneOreDrops(Block ore)
m_176050_(C_1706_ p_176051_)
private static LootTable$Builder
k(cjt arg0)
createBannerDrop(Block arg0)
method_16877(class_2248 arg0)
bannerDrops(Block drop)
m_124296_(C_1706_ p_124297_)
private static LootTable$Builder
l(cjt arg0)
createBeeNestDrop(Block arg0)
method_22142(class_2248 arg0)
beeNestDrops(Block drop)
m_124298_(C_1706_ p_124299_)
private static LootTable$Builder
m(cjt arg0)
createBeeHiveDrop(Block arg0)
method_22143(class_2248 arg0)
beehiveDrops(Block drop)
m_124300_(C_1706_ p_124301_)
private static LootTable$Builder
n(cjt arg0)
createCaveVinesDrop(Block arg0)
method_33709(class_2248 arg0)
glowBerryDrops(Block drop)
m_176052_(C_1706_ p_176053_)
private static LootTable$Builder
a(cjt arg0, cat 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(cjt arg0, cgw 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(cjt arg0)
createGrassDrops(Block arg0)
method_10371(class_2248 arg0)
grassDrops(Block dropWithShears)
m_124302_(C_1706_ p_124303_)
private static LootTable$Builder
b(cjt arg0, cat 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(cjt arg0, cat 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(cgw arg0)
createShearsOnlyDrop(ItemLike arg0)
method_10372(class_1935 arg0)
dropsWithShears(ItemConvertible drop)
m_124286_(C_1595_ p_124287_)
private static LootTable$Builder
a(cjt arg0, dux$a arg1)
createMultifaceBlockDrops(Block arg0, LootItemCondition$Builder arg1)
method_37108(class_2248 arg0, class_5341$class_210 arg1)
multifaceGrowthDrops(Block multifaceGrowthBlock, LootCondition$Builder conditionBuilder)
m_236227_(C_1706_ p_236228_, C_3005_ p_236229_)
private static LootTable$Builder
a(cjt arg0, cjt 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(cjt arg0, cjt 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
p(cjt arg0)
createMangroveLeavesDrops(Block arg0)
method_42752(class_2248 arg0)
mangroveLeavesDrop(Block leaves)
m_236248_(C_1706_ p_236249_)
private static LootTable$Builder
a(cjt arg0, cat arg1, cat arg2, dux$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_3005_ p_124146_)
private static LootTable$Builder
q(cjt arg0)
createDoublePlantShearsDrop(Block arg0)
method_30159(class_2248 arg0)
seagrassDrops(Block seagrass)
m_124304_(C_1706_ p_124305_)
private static LootTable$Builder
b(cjt arg0, cjt 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(cjt arg0)
createCandleDrops(Block arg0)
method_32224(class_2248 arg0)
candleDrops(Block candle)
m_176056_(C_1706_ p_176057_)
private static LootTable$Builder
s(cjt 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<abb, dsg$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_2824_> arg0)
private void
c(cjt arg0, cjt 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(cjt arg0)
createDoorTable(Block arg0)
method_24817(class_2248 arg0)
addDoorDrop(Block block)
m_124137_(C_1706_ p_124138_)
public void
b(cjt arg0)
dropPottedContents(Block arg0)
method_16285(class_2248 arg0)
addPottedPlantDrop(Block block)
m_124252_(C_1706_ arg0)
public void
a(cjt arg0, cjt 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(cjt arg0, cgw 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(cjt arg0)
dropWhenSilkTouch(Block arg0)
method_16262(class_2248 arg0)
addDropWithSilkTouch(Block block)
m_124272_(C_1706_ arg0)
public void
d(cjt arg0)
dropSelf(Block arg0)
method_16329(class_2248 arg0)
addDrop(Block block)
m_124288_(C_1706_ arg0)
private void
a(cjt arg0, Function<cjt, dsg$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_2824_> arg1)
private void
a(cjt arg0, dsg$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_2824_ arg1)