Package net.minecraft.loot.function
Class LootFunctionTypes
java.lang.Object
net.minecraft.loot.function.LootFunctionTypes
public class LootFunctionTypes extends Object
- Mappings:
Namespace Name official dfv
intermediary net/minecraft/class_131
named net/minecraft/loot/function/LootFunctionTypes
-
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 LootFunctionType
LIMIT_COUNT
static LootFunctionType
LOOTING_ENCHANT
static BiFunction<ItemStack,LootContext,ItemStack>
NOOP
static LootFunctionType
SET_ATTRIBUTES
static LootFunctionType
SET_BANNER_PATTERN
static LootFunctionType
SET_CONTENTS
static LootFunctionType
SET_COUNT
static LootFunctionType
SET_DAMAGE
static LootFunctionType
SET_ENCHANTMENTS
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 LootFunctionTypes()
-
Method Summary
Modifier and Type Method 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)
-
Field Details
-
NOOP
- Mappings:
Namespace Name Mixin selector official a
Ldfv;a:Ljava/util/function/BiFunction;
intermediary field_1102
Lnet/minecraft/class_131;field_1102:Ljava/util/function/BiFunction;
named NOOP
Lnet/minecraft/loot/function/LootFunctionTypes;NOOP:Ljava/util/function/BiFunction;
-
SET_COUNT
- Mappings:
Namespace Name Mixin selector official b
Ldfv;b:Ldfu;
intermediary field_25214
Lnet/minecraft/class_131;field_25214:Lnet/minecraft/class_5339;
named SET_COUNT
Lnet/minecraft/loot/function/LootFunctionTypes;SET_COUNT:Lnet/minecraft/loot/function/LootFunctionType;
-
ENCHANT_WITH_LEVELS
- Mappings:
Namespace Name Mixin selector official c
Ldfv;c:Ldfu;
intermediary field_25215
Lnet/minecraft/class_131;field_25215:Lnet/minecraft/class_5339;
named ENCHANT_WITH_LEVELS
Lnet/minecraft/loot/function/LootFunctionTypes;ENCHANT_WITH_LEVELS:Lnet/minecraft/loot/function/LootFunctionType;
-
ENCHANT_RANDOMLY
- Mappings:
Namespace Name Mixin selector official d
Ldfv;d:Ldfu;
intermediary field_25216
Lnet/minecraft/class_131;field_25216:Lnet/minecraft/class_5339;
named ENCHANT_RANDOMLY
Lnet/minecraft/loot/function/LootFunctionTypes;ENCHANT_RANDOMLY:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_ENCHANTMENTS
- Mappings:
Namespace Name Mixin selector official e
Ldfv;e:Ldfu;
intermediary field_27906
Lnet/minecraft/class_131;field_27906:Lnet/minecraft/class_5339;
named SET_ENCHANTMENTS
Lnet/minecraft/loot/function/LootFunctionTypes;SET_ENCHANTMENTS:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_NBT
- Mappings:
Namespace Name Mixin selector official f
Ldfv;f:Ldfu;
intermediary field_25217
Lnet/minecraft/class_131;field_25217:Lnet/minecraft/class_5339;
named SET_NBT
Lnet/minecraft/loot/function/LootFunctionTypes;SET_NBT:Lnet/minecraft/loot/function/LootFunctionType;
-
FURNACE_SMELT
- Mappings:
Namespace Name Mixin selector official g
Ldfv;g:Ldfu;
intermediary field_25218
Lnet/minecraft/class_131;field_25218:Lnet/minecraft/class_5339;
named FURNACE_SMELT
Lnet/minecraft/loot/function/LootFunctionTypes;FURNACE_SMELT:Lnet/minecraft/loot/function/LootFunctionType;
-
LOOTING_ENCHANT
- Mappings:
Namespace Name Mixin selector official h
Ldfv;h:Ldfu;
intermediary field_25219
Lnet/minecraft/class_131;field_25219:Lnet/minecraft/class_5339;
named LOOTING_ENCHANT
Lnet/minecraft/loot/function/LootFunctionTypes;LOOTING_ENCHANT:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_DAMAGE
- Mappings:
Namespace Name Mixin selector official i
Ldfv;i:Ldfu;
intermediary field_25220
Lnet/minecraft/class_131;field_25220:Lnet/minecraft/class_5339;
named SET_DAMAGE
Lnet/minecraft/loot/function/LootFunctionTypes;SET_DAMAGE:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_ATTRIBUTES
- Mappings:
Namespace Name Mixin selector official j
Ldfv;j:Ldfu;
intermediary field_25221
Lnet/minecraft/class_131;field_25221:Lnet/minecraft/class_5339;
named SET_ATTRIBUTES
Lnet/minecraft/loot/function/LootFunctionTypes;SET_ATTRIBUTES:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_NAME
- Mappings:
Namespace Name Mixin selector official k
Ldfv;k:Ldfu;
intermediary field_25222
Lnet/minecraft/class_131;field_25222:Lnet/minecraft/class_5339;
named SET_NAME
Lnet/minecraft/loot/function/LootFunctionTypes;SET_NAME:Lnet/minecraft/loot/function/LootFunctionType;
-
EXPLORATION_MAP
- Mappings:
Namespace Name Mixin selector official l
Ldfv;l:Ldfu;
intermediary field_25223
Lnet/minecraft/class_131;field_25223:Lnet/minecraft/class_5339;
named EXPLORATION_MAP
Lnet/minecraft/loot/function/LootFunctionTypes;EXPLORATION_MAP:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_STEW_EFFECT
- Mappings:
Namespace Name Mixin selector official m
Ldfv;m:Ldfu;
intermediary field_25224
Lnet/minecraft/class_131;field_25224:Lnet/minecraft/class_5339;
named SET_STEW_EFFECT
Lnet/minecraft/loot/function/LootFunctionTypes;SET_STEW_EFFECT:Lnet/minecraft/loot/function/LootFunctionType;
-
COPY_NAME
- Mappings:
Namespace Name Mixin selector official n
Ldfv;n:Ldfu;
intermediary field_25225
Lnet/minecraft/class_131;field_25225:Lnet/minecraft/class_5339;
named COPY_NAME
Lnet/minecraft/loot/function/LootFunctionTypes;COPY_NAME:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_CONTENTS
- Mappings:
Namespace Name Mixin selector official o
Ldfv;o:Ldfu;
intermediary field_25226
Lnet/minecraft/class_131;field_25226:Lnet/minecraft/class_5339;
named SET_CONTENTS
Lnet/minecraft/loot/function/LootFunctionTypes;SET_CONTENTS:Lnet/minecraft/loot/function/LootFunctionType;
-
LIMIT_COUNT
- Mappings:
Namespace Name Mixin selector official p
Ldfv;p:Ldfu;
intermediary field_25227
Lnet/minecraft/class_131;field_25227:Lnet/minecraft/class_5339;
named LIMIT_COUNT
Lnet/minecraft/loot/function/LootFunctionTypes;LIMIT_COUNT:Lnet/minecraft/loot/function/LootFunctionType;
-
APPLY_BONUS
- Mappings:
Namespace Name Mixin selector official q
Ldfv;q:Ldfu;
intermediary field_25228
Lnet/minecraft/class_131;field_25228:Lnet/minecraft/class_5339;
named APPLY_BONUS
Lnet/minecraft/loot/function/LootFunctionTypes;APPLY_BONUS:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_LOOT_TABLE
- Mappings:
Namespace Name Mixin selector official r
Ldfv;r:Ldfu;
intermediary field_25229
Lnet/minecraft/class_131;field_25229:Lnet/minecraft/class_5339;
named SET_LOOT_TABLE
Lnet/minecraft/loot/function/LootFunctionTypes;SET_LOOT_TABLE:Lnet/minecraft/loot/function/LootFunctionType;
-
EXPLOSION_DECAY
- Mappings:
Namespace Name Mixin selector official s
Ldfv;s:Ldfu;
intermediary field_25230
Lnet/minecraft/class_131;field_25230:Lnet/minecraft/class_5339;
named EXPLOSION_DECAY
Lnet/minecraft/loot/function/LootFunctionTypes;EXPLOSION_DECAY:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_LORE
- Mappings:
Namespace Name Mixin selector official t
Ldfv;t:Ldfu;
intermediary field_25231
Lnet/minecraft/class_131;field_25231:Lnet/minecraft/class_5339;
named SET_LORE
Lnet/minecraft/loot/function/LootFunctionTypes;SET_LORE:Lnet/minecraft/loot/function/LootFunctionType;
-
FILL_PLAYER_HEAD
- Mappings:
Namespace Name Mixin selector official u
Ldfv;u:Ldfu;
intermediary field_25232
Lnet/minecraft/class_131;field_25232:Lnet/minecraft/class_5339;
named FILL_PLAYER_HEAD
Lnet/minecraft/loot/function/LootFunctionTypes;FILL_PLAYER_HEAD:Lnet/minecraft/loot/function/LootFunctionType;
-
COPY_NBT
- Mappings:
Namespace Name Mixin selector official v
Ldfv;v:Ldfu;
intermediary field_25233
Lnet/minecraft/class_131;field_25233:Lnet/minecraft/class_5339;
named COPY_NBT
Lnet/minecraft/loot/function/LootFunctionTypes;COPY_NBT:Lnet/minecraft/loot/function/LootFunctionType;
-
COPY_STATE
- Mappings:
Namespace Name Mixin selector official w
Ldfv;w:Ldfu;
intermediary field_25234
Lnet/minecraft/class_131;field_25234:Lnet/minecraft/class_5339;
named COPY_STATE
Lnet/minecraft/loot/function/LootFunctionTypes;COPY_STATE:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_BANNER_PATTERN
- Mappings:
Namespace Name Mixin selector official x
Ldfv;x:Ldfu;
intermediary field_27342
Lnet/minecraft/class_131;field_27342:Lnet/minecraft/class_5339;
named SET_BANNER_PATTERN
Lnet/minecraft/loot/function/LootFunctionTypes;SET_BANNER_PATTERN:Lnet/minecraft/loot/function/LootFunctionType;
-
-
Constructor Details
-
LootFunctionTypes
public LootFunctionTypes()
-
-
Method Details
-
register
private static LootFunctionType register(String id, JsonSerializer<? extends LootFunction> jsonSerializer)- Mappings:
Namespace Name Mixin selector official a
Ldfv;a(Ljava/lang/String;Ldeo;)Ldfu;
intermediary method_29323
Lnet/minecraft/class_131;method_29323(Ljava/lang/String;Lnet/minecraft/class_5335;)Lnet/minecraft/class_5339;
named register
Lnet/minecraft/loot/function/LootFunctionTypes;register(Ljava/lang/String;Lnet/minecraft/util/JsonSerializer;)Lnet/minecraft/loot/function/LootFunctionType;
-
createGsonSerializer
- Mappings:
Namespace Name Mixin selector official a
Ldfv;a()Ljava/lang/Object;
intermediary method_29322
Lnet/minecraft/class_131;method_29322()Ljava/lang/Object;
named createGsonSerializer
Lnet/minecraft/loot/function/LootFunctionTypes;createGsonSerializer()Ljava/lang/Object;
-
join
public static BiFunction<ItemStack,LootContext,ItemStack> join(BiFunction<ItemStack,LootContext,ItemStack>[] lootFunctions)- Mappings:
Namespace Name Mixin selector official a
Ldfv;a([Ljava/util/function/BiFunction;)Ljava/util/function/BiFunction;
intermediary method_594
Lnet/minecraft/class_131;method_594([Ljava/util/function/BiFunction;)Ljava/util/function/BiFunction;
named join
Lnet/minecraft/loot/function/LootFunctionTypes;join([Ljava/util/function/BiFunction;)Ljava/util/function/BiFunction;
-