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

public class LootItemFunctions

dcj
net.minecraft.world.level.storage.loot.functions.LootItemFunctions
net.minecraft.class_131
net.minecraft.loot.function.LootFunctionTypes
net.minecraft.loot.functions.LootFunctionManager
net.minecraft.server.v1_16_R1.LootItemFunctions

Field summary

Modifier and TypeField
public static final BiFunction<ItemStack, LootContext, ItemStack>
a
IDENTITY
field_1102
NOOP
field_216242_a
public static final LootItemFunctionType
b
SET_COUNT
field_25214
SET_COUNT
field_237429_b_
public static final LootItemFunctionType
c
ENCHANT_WITH_LEVELS
field_25215
ENCHANT_WITH_LEVELS
field_237430_c_
public static final LootItemFunctionType
d
ENCHANT_RANDOMLY
field_25216
ENCHANT_RANDOMLY
field_237431_d_
public static final LootItemFunctionType
e
SET_NBT
field_25217
SET_NBT
field_237432_e_
public static final LootItemFunctionType
f
FURNACE_SMELT
field_25218
FURNACE_SMELT
field_237433_f_
public static final LootItemFunctionType
g
LOOTING_ENCHANT
field_25219
LOOTING_ENCHANT
field_237434_g_
public static final LootItemFunctionType
h
SET_DAMAGE
field_25220
SET_DAMAGE
field_237435_h_
public static final LootItemFunctionType
i
SET_ATTRIBUTES
field_25221
SET_ATTRIBUTES
field_237436_i_
public static final LootItemFunctionType
j
SET_NAME
field_25222
SET_NAME
field_237437_j_
public static final LootItemFunctionType
k
EXPLORATION_MAP
field_25223
EXPLORATION_MAP
field_237438_k_
public static final LootItemFunctionType
l
SET_STEW_EFFECT
field_25224
SET_STEW_EFFECT
field_237439_l_
public static final LootItemFunctionType
m
COPY_NAME
field_25225
COPY_NAME
field_237440_m_
public static final LootItemFunctionType
n
SET_CONTENTS
field_25226
SET_CONTENTS
field_237441_n_
public static final LootItemFunctionType
o
LIMIT_COUNT
field_25227
LIMIT_COUNT
field_237442_o_
public static final LootItemFunctionType
p
APPLY_BONUS
field_25228
APPLY_BONUS
field_237443_p_
public static final LootItemFunctionType
q
SET_LOOT_TABLE
field_25229
SET_LOOT_TABLE
field_237444_q_
public static final LootItemFunctionType
r
EXPLOSION_DECAY
field_25230
EXPLOSION_DECAY
field_237445_r_
public static final LootItemFunctionType
s
SET_LORE
field_25231
SET_LORE
field_237446_s_
public static final LootItemFunctionType
t
FILL_PLAYER_HEAD
field_25232
FILL_PLAYER_HEAD
field_237447_t_
public static final LootItemFunctionType
u
COPY_NBT
field_25233
COPY_NBT
field_237448_u_
public static final LootItemFunctionType
v
COPY_STATE
field_25234
COPY_STATE
field_237449_v_

Method summary

Modifier and TypeMethod
private static LootItemFunctionType
a(String arg0, dbc<? extends dch> arg1)
register(String arg0, Serializer<? extends LootItemFunction> arg1)
method_29323(String arg0, class_5335<? extends class_117> arg1)
register(String id, JsonSerializer<? extends LootFunction> arg1)
func_237451_a_(String arg0, ILootSerializer<? extends ILootFunction> arg1)
public static Object
a()
createGsonAdapter()
method_29322()
createGsonSerializer()
func_237450_a_()
public static BiFunction<ItemStack, LootContext, ItemStack>
a(BiFunction<bki, dat, bki>[] arg0)
compose(BiFunction<ItemStack, LootContext, ItemStack>[] arg0)
method_594(BiFunction<class_1799, class_47, class_1799>[] arg0)
join(BiFunction<ItemStack, LootContext, ItemStack>[] lootFunctions)
func_216241_a(BiFunction<ItemStack, LootContext, ItemStack>[] arg0)