Package net.minecraft.loot.functions
Class LootFunctionManager
- java.lang.Object
-
- net.minecraft.loot.functions.LootFunctionManager
-
public class LootFunctionManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static LootFunctionType
APPLY_BONUS
static LootFunctionType
COPY_NAME
static LootFunctionType
COPY_NBT
static LootFunctionType
COPY_STATE
static LootFunctionType
ENCHANT_RANDOMLY
static LootFunctionType
ENCHANT_WITH_LEVELS
static LootFunctionType
EXPLORATION_MAP
static LootFunctionType
EXPLOSION_DECAY
static LootFunctionType
FILL_PLAYER_HEAD
static LootFunctionType
FURNACE_SMELT
static java.util.function.BiFunction<ItemStack,LootContext,ItemStack>
IDENTITY
static LootFunctionType
LIMIT_COUNT
static LootFunctionType
LOOTING_ENCHANT
static LootFunctionType
SET_ATTRIBUTES
static LootFunctionType
SET_CONTENTS
static LootFunctionType
SET_COUNT
static LootFunctionType
SET_DAMAGE
static LootFunctionType
SET_LOOT_TABLE
static LootFunctionType
SET_LORE
static LootFunctionType
SET_NAME
static LootFunctionType
SET_NBT
static LootFunctionType
SET_STEW_EFFECT
-
Constructor Summary
Constructors Constructor Description LootFunctionManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.function.BiFunction<ItemStack,LootContext,ItemStack>
compose(java.util.function.BiFunction<ItemStack,LootContext,ItemStack>[] p_216241_0_)
static java.lang.Object
createGsonAdapter()
private static LootFunctionType
register(java.lang.String p_237451_0_, ILootSerializer<? extends ILootFunction> p_237451_1_)
-
-
-
Field Detail
-
IDENTITY
public static final java.util.function.BiFunction<ItemStack,LootContext,ItemStack> IDENTITY
-
SET_COUNT
public static final LootFunctionType SET_COUNT
-
ENCHANT_WITH_LEVELS
public static final LootFunctionType ENCHANT_WITH_LEVELS
-
ENCHANT_RANDOMLY
public static final LootFunctionType ENCHANT_RANDOMLY
-
SET_NBT
public static final LootFunctionType SET_NBT
-
FURNACE_SMELT
public static final LootFunctionType FURNACE_SMELT
-
LOOTING_ENCHANT
public static final LootFunctionType LOOTING_ENCHANT
-
SET_DAMAGE
public static final LootFunctionType SET_DAMAGE
-
SET_ATTRIBUTES
public static final LootFunctionType SET_ATTRIBUTES
-
SET_NAME
public static final LootFunctionType SET_NAME
-
EXPLORATION_MAP
public static final LootFunctionType EXPLORATION_MAP
-
SET_STEW_EFFECT
public static final LootFunctionType SET_STEW_EFFECT
-
COPY_NAME
public static final LootFunctionType COPY_NAME
-
SET_CONTENTS
public static final LootFunctionType SET_CONTENTS
-
LIMIT_COUNT
public static final LootFunctionType LIMIT_COUNT
-
APPLY_BONUS
public static final LootFunctionType APPLY_BONUS
-
SET_LOOT_TABLE
public static final LootFunctionType SET_LOOT_TABLE
-
EXPLOSION_DECAY
public static final LootFunctionType EXPLOSION_DECAY
-
SET_LORE
public static final LootFunctionType SET_LORE
-
FILL_PLAYER_HEAD
public static final LootFunctionType FILL_PLAYER_HEAD
-
COPY_NBT
public static final LootFunctionType COPY_NBT
-
COPY_STATE
public static final LootFunctionType COPY_STATE
-
-
Method Detail
-
register
private static LootFunctionType register(java.lang.String p_237451_0_, ILootSerializer<? extends ILootFunction> p_237451_1_)
-
createGsonAdapter
public static java.lang.Object createGsonAdapter()
-
compose
public static java.util.function.BiFunction<ItemStack,LootContext,ItemStack> compose(java.util.function.BiFunction<ItemStack,LootContext,ItemStack>[] p_216241_0_)
-
-