net.minecraft.world.level.storage.loot.functions

public class LootItemFunctions

eae
net.minecraft.world.level.storage.loot.functions.LootItemFunctions
net.minecraft.class_131
net.minecraft.loot.function.LootFunctionTypes
net.minecraft.src.C_2931_
net.minecraft.world.level.storage.loot.functions.LootItemFunctions

Field summary

Modifier and TypeField
public static final BiFunction<ItemStack, LootContext, ItemStack>
a
IDENTITY
field_1102
NOOP
f_80735_
public static final LootItemFunctionType
b
SET_COUNT
field_25214
SET_COUNT
f_80736_
public static final LootItemFunctionType
c
ENCHANT_WITH_LEVELS
field_25215
ENCHANT_WITH_LEVELS
f_80737_
public static final LootItemFunctionType
d
ENCHANT_RANDOMLY
field_25216
ENCHANT_RANDOMLY
f_80738_
public static final LootItemFunctionType
e
SET_ENCHANTMENTS
field_27906
SET_ENCHANTMENTS
f_165221_
public static final LootItemFunctionType
f
SET_NBT
field_25217
SET_NBT
f_80739_
public static final LootItemFunctionType
g
FURNACE_SMELT
field_25218
FURNACE_SMELT
f_80740_
public static final LootItemFunctionType
h
LOOTING_ENCHANT
field_25219
LOOTING_ENCHANT
f_80741_
public static final LootItemFunctionType
i
SET_DAMAGE
field_25220
SET_DAMAGE
f_80742_
public static final LootItemFunctionType
j
SET_ATTRIBUTES
field_25221
SET_ATTRIBUTES
f_80743_
public static final LootItemFunctionType
k
SET_NAME
field_25222
SET_NAME
f_80744_
public static final LootItemFunctionType
l
EXPLORATION_MAP
field_25223
EXPLORATION_MAP
f_80745_
public static final LootItemFunctionType
m
SET_STEW_EFFECT
field_25224
SET_STEW_EFFECT
f_80746_
public static final LootItemFunctionType
n
COPY_NAME
field_25225
COPY_NAME
f_80747_
public static final LootItemFunctionType
o
SET_CONTENTS
field_25226
SET_CONTENTS
f_80748_
public static final LootItemFunctionType
p
LIMIT_COUNT
field_25227
LIMIT_COUNT
f_80749_
public static final LootItemFunctionType
q
APPLY_BONUS
field_25228
APPLY_BONUS
f_80750_
public static final LootItemFunctionType
r
SET_LOOT_TABLE
field_25229
SET_LOOT_TABLE
f_80751_
public static final LootItemFunctionType
s
EXPLOSION_DECAY
field_25230
EXPLOSION_DECAY
f_80752_
public static final LootItemFunctionType
t
SET_LORE
field_25231
SET_LORE
f_80753_
public static final LootItemFunctionType
u
FILL_PLAYER_HEAD
field_25232
FILL_PLAYER_HEAD
f_80754_
public static final LootItemFunctionType
v
COPY_NBT
field_25233
COPY_NBT
f_80755_
public static final LootItemFunctionType
w
COPY_STATE
field_25234
COPY_STATE
f_80756_
public static final LootItemFunctionType
x
SET_BANNER_PATTERN
field_27342
SET_BANNER_PATTERN
f_165222_
public static final LootItemFunctionType
y
SET_POTION
field_35079
SET_POTION
f_193030_
public static final LootItemFunctionType
z
SET_INSTRUMENT
field_39060
SET_INSTRUMENT
f_230994_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static LootItemFunctionType
a(String arg0, dyx<? extends eac> arg1)
register(String arg0, Serializer<? extends LootItemFunction> arg1)
method_29323(String arg0, class_5335<? extends class_117> arg1)
register(String id, JsonSerializer<? extends LootFunction> jsonSerializer)
m_80762_(String p_80763_, C_2835_<? extends C_2928_> p_80764_)
public static Object
a()
createGsonAdapter()
method_29322()
createGsonSerializer()
m_80758_()
public static BiFunction<ItemStack, LootContext, ItemStack>
a(BiFunction<cfv, dyr, cfv>[] arg0)
compose(BiFunction<ItemStack, LootContext, ItemStack>[] arg0)
method_594(BiFunction<class_1799, class_47, class_1799>[] arg0)
join(BiFunction<ItemStack, LootContext, ItemStack>[] lootFunctions)
m_80770_(BiFunction<C_1391_, C_2811_, C_1391_>[] p_80771_)