Class LootItemFunctions
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemFunctions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LootItemFunctionType
static final com.mojang.serialization.Codec<LootItemFunction>
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
static final LootItemFunctionType
private static final com.mojang.serialization.Codec<LootItemFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BiFunction<ItemStack,
LootContext, ItemStack> compose
(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> p_298851_) private static LootItemFunctionType
register
(String p_80763_, com.mojang.serialization.Codec<? extends LootItemFunction> p_298583_)
-
Field Details
-
IDENTITY
-
TYPED_CODEC
-
CODEC
-
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
-
SEQUENCE
-
-
Constructor Details
-
LootItemFunctions
public LootItemFunctions()
-
-
Method Details
-
register
private static LootItemFunctionType register(String p_80763_, com.mojang.serialization.Codec<? extends LootItemFunction> p_298583_) -
compose
public static BiFunction<ItemStack,LootContext, composeItemStack> (List<? extends BiFunction<ItemStack, LootContext, ItemStack>> p_298851_)
-