public class LootFunctionTypes extends Object
Modifier and Type | Field and 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 LootFunctionType |
LIMIT_COUNT |
static LootFunctionType |
LOOTING_ENCHANT |
static BiFunction<ItemStack,LootContext,ItemStack> |
NOOP |
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 and Description |
---|
LootFunctionTypes() |
Modifier and Type | Method and Description |
---|---|
static Object |
createGsonSerializer() |
static BiFunction<ItemStack,LootContext,ItemStack> |
join(BiFunction<ItemStack,LootContext,ItemStack>[] lootFunctions) |
private static LootFunctionType |
register(String id,
JsonSerializer<? extends LootFunction> jsonSerializer) |
public static final BiFunction<ItemStack,LootContext,ItemStack> NOOP
public static final LootFunctionType SET_COUNT
public static final LootFunctionType ENCHANT_WITH_LEVELS
public static final LootFunctionType ENCHANT_RANDOMLY
public static final LootFunctionType SET_NBT
public static final LootFunctionType FURNACE_SMELT
public static final LootFunctionType LOOTING_ENCHANT
public static final LootFunctionType SET_DAMAGE
public static final LootFunctionType SET_ATTRIBUTES
public static final LootFunctionType SET_NAME
public static final LootFunctionType EXPLORATION_MAP
public static final LootFunctionType SET_STEW_EFFECT
public static final LootFunctionType COPY_NAME
public static final LootFunctionType SET_CONTENTS
public static final LootFunctionType LIMIT_COUNT
public static final LootFunctionType APPLY_BONUS
public static final LootFunctionType SET_LOOT_TABLE
public static final LootFunctionType EXPLOSION_DECAY
public static final LootFunctionType SET_LORE
public static final LootFunctionType FILL_PLAYER_HEAD
public static final LootFunctionType COPY_NBT
public static final LootFunctionType COPY_STATE
private static LootFunctionType register(String id, JsonSerializer<? extends LootFunction> jsonSerializer)
public static Object createGsonSerializer()
public static BiFunction<ItemStack,LootContext,ItemStack> join(BiFunction<ItemStack,LootContext,ItemStack>[] lootFunctions)