Class LootItemFunctions
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemFunctions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final BiFunction<ItemStack,
LootContext, ItemStack> static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
static final LootItemFunctionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BiFunction<ItemStack,
LootContext, ItemStack> compose
(BiFunction<ItemStack, LootContext, ItemStack>[] p_80771_) static Object
private static LootItemFunctionType
register
(String p_80763_, Serializer<? extends LootItemFunction> p_80764_)
-
Field Details
-
IDENTITY
-
SET_COUNT
-
ENCHANT_WITH_LEVELS
-
ENCHANT_RANDOMLY
-
SET_ENCHANTMENTS
-
SET_NBT
-
FURNACE_SMELT
-
LOOTING_ENCHANT
-
SET_DAMAGE
-
SET_ATTRIBUTES
-
SET_NAME
-
EXPLORATION_MAP
-
SET_STEW_EFFECT
-
COPY_NAME
-
SET_CONTENTS
-
LIMIT_COUNT
-
APPLY_BONUS
-
SET_LOOT_TABLE
-
EXPLOSION_DECAY
-
SET_LORE
-
FILL_PLAYER_HEAD
-
COPY_NBT
-
COPY_STATE
-
SET_BANNER_PATTERN
-
SET_POTION
-
SET_INSTRUMENT
-
REFERENCE
-
-
Constructor Details
-
LootItemFunctions
public LootItemFunctions()
-
-
Method Details
-
register
private static LootItemFunctionType register(String p_80763_, Serializer<? extends LootItemFunction> p_80764_) -
createGsonAdapter
-
compose
public static BiFunction<ItemStack,LootContext, composeItemStack> (BiFunction<ItemStack, LootContext, ItemStack>[] p_80771_)
-