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

public class LootItemFunctions

eef
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_
private static final com.mojang.serialization.Codec<LootItemFunction>
D
TYPED_CODEC
field_45831
BASE_CODEC
f_291775_
public static final com.mojang.serialization.Codec<LootItemFunction>
b
CODEC
field_45832
CODEC
f_291699_
public static final LootItemFunctionType
c
SET_COUNT
field_25214
SET_COUNT
f_80736_
public static final LootItemFunctionType
d
ENCHANT_WITH_LEVELS
field_25215
ENCHANT_WITH_LEVELS
f_80737_
public static final LootItemFunctionType
e
ENCHANT_RANDOMLY
field_25216
ENCHANT_RANDOMLY
f_80738_
public static final LootItemFunctionType
f
SET_ENCHANTMENTS
field_27906
SET_ENCHANTMENTS
f_165221_
public static final LootItemFunctionType
g
SET_NBT
field_25217
SET_NBT
f_80739_
public static final LootItemFunctionType
h
FURNACE_SMELT
field_25218
FURNACE_SMELT
f_80740_
public static final LootItemFunctionType
i
LOOTING_ENCHANT
field_25219
LOOTING_ENCHANT
f_80741_
public static final LootItemFunctionType
j
SET_DAMAGE
field_25220
SET_DAMAGE
f_80742_
public static final LootItemFunctionType
k
SET_ATTRIBUTES
field_25221
SET_ATTRIBUTES
f_80743_
public static final LootItemFunctionType
l
SET_NAME
field_25222
SET_NAME
f_80744_
public static final LootItemFunctionType
m
EXPLORATION_MAP
field_25223
EXPLORATION_MAP
f_80745_
public static final LootItemFunctionType
n
SET_STEW_EFFECT
field_25224
SET_STEW_EFFECT
f_80746_
public static final LootItemFunctionType
o
COPY_NAME
field_25225
COPY_NAME
f_80747_
public static final LootItemFunctionType
p
SET_CONTENTS
field_25226
SET_CONTENTS
f_80748_
public static final LootItemFunctionType
q
LIMIT_COUNT
field_25227
LIMIT_COUNT
f_80749_
public static final LootItemFunctionType
r
APPLY_BONUS
field_25228
APPLY_BONUS
f_80750_
public static final LootItemFunctionType
s
SET_LOOT_TABLE
field_25229
SET_LOOT_TABLE
f_80751_
public static final LootItemFunctionType
t
EXPLOSION_DECAY
field_25230
EXPLOSION_DECAY
f_80752_
public static final LootItemFunctionType
u
SET_LORE
field_25231
SET_LORE
f_80753_
public static final LootItemFunctionType
v
FILL_PLAYER_HEAD
field_25232
FILL_PLAYER_HEAD
f_80754_
public static final LootItemFunctionType
w
COPY_NBT
field_25233
COPY_NBT
f_80755_
public static final LootItemFunctionType
x
COPY_STATE
field_25234
COPY_STATE
f_80756_
public static final LootItemFunctionType
y
SET_BANNER_PATTERN
field_27342
SET_BANNER_PATTERN
f_165222_
public static final LootItemFunctionType
z
SET_POTION
field_35079
SET_POTION
f_193030_
public static final LootItemFunctionType
A
SET_INSTRUMENT
field_39060
SET_INSTRUMENT
f_230994_
public static final LootItemFunctionType
B
REFERENCE
field_44508
REFERENCE
f_278442_
public static final LootItemFunctionType
C
SEQUENCE
field_45830
SEQUENCE
f_290647_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static LootItemFunctionType
a(String arg0, com.mojang.serialization.Codec<? extends eed> arg1)
register(String arg0, com.mojang.serialization.Codec<? extends LootItemFunction> arg1)
method_29323(String arg0, com.mojang.serialization.Codec<? extends class_117> arg1)
register(String id, com.mojang.serialization.Codec<? extends LootFunction> codec)
m_80762_(String p_80763_, com.mojang.serialization.Codec<? extends C_2928_> p_300110_)
public static BiFunction<ItemStack, LootContext, ItemStack>
a(List<? extends BiFunction<cjf, ecq, cjf>> arg0)
compose(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> arg0)
method_594(List<? extends BiFunction<class_1799, class_47, class_1799>> arg0)
join(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> arg0)
m_80770_(List<? extends BiFunction<C_1391_, C_2811_, C_1391_>> p_298840_)