Package net.minecraft.loot.function
Class LootFunctionTypes
java.lang.Object
net.minecraft.loot.function.LootFunctionTypes
- Mappings:
Namespace Name official ebbintermediary net/minecraft/class_131named net/minecraft/loot/function/LootFunctionTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final BiFunction<ItemStack,LootContext, ItemStack> static final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionTypestatic final LootFunctionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectstatic BiFunction<ItemStack,LootContext, ItemStack> join(BiFunction<ItemStack, LootContext, ItemStack>[] lootFunctions) private static LootFunctionTyperegister(String id, JsonSerializer<? extends LootFunction> jsonSerializer)
-
Field Details
-
NOOP
- Mappings:
Namespace Name Mixin selector official aLebb;a:Ljava/util/function/BiFunction;intermediary field_1102Lnet/minecraft/class_131;field_1102:Ljava/util/function/BiFunction;named NOOPLnet/minecraft/loot/function/LootFunctionTypes;NOOP:Ljava/util/function/BiFunction;
-
SET_COUNT
- Mappings:
Namespace Name Mixin selector official bLebb;b:Leba;intermediary field_25214Lnet/minecraft/class_131;field_25214:Lnet/minecraft/class_5339;named SET_COUNTLnet/minecraft/loot/function/LootFunctionTypes;SET_COUNT:Lnet/minecraft/loot/function/LootFunctionType;
-
ENCHANT_WITH_LEVELS
- Mappings:
Namespace Name Mixin selector official cLebb;c:Leba;intermediary field_25215Lnet/minecraft/class_131;field_25215:Lnet/minecraft/class_5339;named ENCHANT_WITH_LEVELSLnet/minecraft/loot/function/LootFunctionTypes;ENCHANT_WITH_LEVELS:Lnet/minecraft/loot/function/LootFunctionType;
-
ENCHANT_RANDOMLY
- Mappings:
Namespace Name Mixin selector official dLebb;d:Leba;intermediary field_25216Lnet/minecraft/class_131;field_25216:Lnet/minecraft/class_5339;named ENCHANT_RANDOMLYLnet/minecraft/loot/function/LootFunctionTypes;ENCHANT_RANDOMLY:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_ENCHANTMENTS
- Mappings:
Namespace Name Mixin selector official eLebb;e:Leba;intermediary field_27906Lnet/minecraft/class_131;field_27906:Lnet/minecraft/class_5339;named SET_ENCHANTMENTSLnet/minecraft/loot/function/LootFunctionTypes;SET_ENCHANTMENTS:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_NBT
- Mappings:
Namespace Name Mixin selector official fLebb;f:Leba;intermediary field_25217Lnet/minecraft/class_131;field_25217:Lnet/minecraft/class_5339;named SET_NBTLnet/minecraft/loot/function/LootFunctionTypes;SET_NBT:Lnet/minecraft/loot/function/LootFunctionType;
-
FURNACE_SMELT
- Mappings:
Namespace Name Mixin selector official gLebb;g:Leba;intermediary field_25218Lnet/minecraft/class_131;field_25218:Lnet/minecraft/class_5339;named FURNACE_SMELTLnet/minecraft/loot/function/LootFunctionTypes;FURNACE_SMELT:Lnet/minecraft/loot/function/LootFunctionType;
-
LOOTING_ENCHANT
- Mappings:
Namespace Name Mixin selector official hLebb;h:Leba;intermediary field_25219Lnet/minecraft/class_131;field_25219:Lnet/minecraft/class_5339;named LOOTING_ENCHANTLnet/minecraft/loot/function/LootFunctionTypes;LOOTING_ENCHANT:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_DAMAGE
- Mappings:
Namespace Name Mixin selector official iLebb;i:Leba;intermediary field_25220Lnet/minecraft/class_131;field_25220:Lnet/minecraft/class_5339;named SET_DAMAGELnet/minecraft/loot/function/LootFunctionTypes;SET_DAMAGE:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_ATTRIBUTES
- Mappings:
Namespace Name Mixin selector official jLebb;j:Leba;intermediary field_25221Lnet/minecraft/class_131;field_25221:Lnet/minecraft/class_5339;named SET_ATTRIBUTESLnet/minecraft/loot/function/LootFunctionTypes;SET_ATTRIBUTES:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_NAME
- Mappings:
Namespace Name Mixin selector official kLebb;k:Leba;intermediary field_25222Lnet/minecraft/class_131;field_25222:Lnet/minecraft/class_5339;named SET_NAMELnet/minecraft/loot/function/LootFunctionTypes;SET_NAME:Lnet/minecraft/loot/function/LootFunctionType;
-
EXPLORATION_MAP
- Mappings:
Namespace Name Mixin selector official lLebb;l:Leba;intermediary field_25223Lnet/minecraft/class_131;field_25223:Lnet/minecraft/class_5339;named EXPLORATION_MAPLnet/minecraft/loot/function/LootFunctionTypes;EXPLORATION_MAP:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_STEW_EFFECT
- Mappings:
Namespace Name Mixin selector official mLebb;m:Leba;intermediary field_25224Lnet/minecraft/class_131;field_25224:Lnet/minecraft/class_5339;named SET_STEW_EFFECTLnet/minecraft/loot/function/LootFunctionTypes;SET_STEW_EFFECT:Lnet/minecraft/loot/function/LootFunctionType;
-
COPY_NAME
- Mappings:
Namespace Name Mixin selector official nLebb;n:Leba;intermediary field_25225Lnet/minecraft/class_131;field_25225:Lnet/minecraft/class_5339;named COPY_NAMELnet/minecraft/loot/function/LootFunctionTypes;COPY_NAME:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_CONTENTS
- Mappings:
Namespace Name Mixin selector official oLebb;o:Leba;intermediary field_25226Lnet/minecraft/class_131;field_25226:Lnet/minecraft/class_5339;named SET_CONTENTSLnet/minecraft/loot/function/LootFunctionTypes;SET_CONTENTS:Lnet/minecraft/loot/function/LootFunctionType;
-
LIMIT_COUNT
- Mappings:
Namespace Name Mixin selector official pLebb;p:Leba;intermediary field_25227Lnet/minecraft/class_131;field_25227:Lnet/minecraft/class_5339;named LIMIT_COUNTLnet/minecraft/loot/function/LootFunctionTypes;LIMIT_COUNT:Lnet/minecraft/loot/function/LootFunctionType;
-
APPLY_BONUS
- Mappings:
Namespace Name Mixin selector official qLebb;q:Leba;intermediary field_25228Lnet/minecraft/class_131;field_25228:Lnet/minecraft/class_5339;named APPLY_BONUSLnet/minecraft/loot/function/LootFunctionTypes;APPLY_BONUS:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_LOOT_TABLE
- Mappings:
Namespace Name Mixin selector official rLebb;r:Leba;intermediary field_25229Lnet/minecraft/class_131;field_25229:Lnet/minecraft/class_5339;named SET_LOOT_TABLELnet/minecraft/loot/function/LootFunctionTypes;SET_LOOT_TABLE:Lnet/minecraft/loot/function/LootFunctionType;
-
EXPLOSION_DECAY
- Mappings:
Namespace Name Mixin selector official sLebb;s:Leba;intermediary field_25230Lnet/minecraft/class_131;field_25230:Lnet/minecraft/class_5339;named EXPLOSION_DECAYLnet/minecraft/loot/function/LootFunctionTypes;EXPLOSION_DECAY:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_LORE
- Mappings:
Namespace Name Mixin selector official tLebb;t:Leba;intermediary field_25231Lnet/minecraft/class_131;field_25231:Lnet/minecraft/class_5339;named SET_LORELnet/minecraft/loot/function/LootFunctionTypes;SET_LORE:Lnet/minecraft/loot/function/LootFunctionType;
-
FILL_PLAYER_HEAD
- Mappings:
Namespace Name Mixin selector official uLebb;u:Leba;intermediary field_25232Lnet/minecraft/class_131;field_25232:Lnet/minecraft/class_5339;named FILL_PLAYER_HEADLnet/minecraft/loot/function/LootFunctionTypes;FILL_PLAYER_HEAD:Lnet/minecraft/loot/function/LootFunctionType;
-
COPY_NBT
- Mappings:
Namespace Name Mixin selector official vLebb;v:Leba;intermediary field_25233Lnet/minecraft/class_131;field_25233:Lnet/minecraft/class_5339;named COPY_NBTLnet/minecraft/loot/function/LootFunctionTypes;COPY_NBT:Lnet/minecraft/loot/function/LootFunctionType;
-
COPY_STATE
- Mappings:
Namespace Name Mixin selector official wLebb;w:Leba;intermediary field_25234Lnet/minecraft/class_131;field_25234:Lnet/minecraft/class_5339;named COPY_STATELnet/minecraft/loot/function/LootFunctionTypes;COPY_STATE:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_BANNER_PATTERN
- Mappings:
Namespace Name Mixin selector official xLebb;x:Leba;intermediary field_27342Lnet/minecraft/class_131;field_27342:Lnet/minecraft/class_5339;named SET_BANNER_PATTERNLnet/minecraft/loot/function/LootFunctionTypes;SET_BANNER_PATTERN:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_POTION
- Mappings:
Namespace Name Mixin selector official yLebb;y:Leba;intermediary field_35079Lnet/minecraft/class_131;field_35079:Lnet/minecraft/class_5339;named SET_POTIONLnet/minecraft/loot/function/LootFunctionTypes;SET_POTION:Lnet/minecraft/loot/function/LootFunctionType;
-
SET_INSTRUMENT
- Mappings:
Namespace Name Mixin selector official zLebb;z:Leba;intermediary field_39060Lnet/minecraft/class_131;field_39060:Lnet/minecraft/class_5339;named SET_INSTRUMENTLnet/minecraft/loot/function/LootFunctionTypes;SET_INSTRUMENT:Lnet/minecraft/loot/function/LootFunctionType;
-
REFERENCE
- Mappings:
Namespace Name Mixin selector official ALebb;A:Leba;intermediary field_44508Lnet/minecraft/class_131;field_44508:Lnet/minecraft/class_5339;named REFERENCELnet/minecraft/loot/function/LootFunctionTypes;REFERENCE: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 aLebb;a(Ljava/lang/String;Ldzt;)Leba;intermediary method_29323Lnet/minecraft/class_131;method_29323(Ljava/lang/String;Lnet/minecraft/class_5335;)Lnet/minecraft/class_5339;named registerLnet/minecraft/loot/function/LootFunctionTypes;register(Ljava/lang/String;Lnet/minecraft/util/JsonSerializer;)Lnet/minecraft/loot/function/LootFunctionType;
-
createGsonSerializer
- Mappings:
Namespace Name Mixin selector official aLebb;a()Ljava/lang/Object;intermediary method_29322Lnet/minecraft/class_131;method_29322()Ljava/lang/Object;named createGsonSerializerLnet/minecraft/loot/function/LootFunctionTypes;createGsonSerializer()Ljava/lang/Object;
-
join
public static BiFunction<ItemStack,LootContext, joinItemStack> (BiFunction<ItemStack, LootContext, ItemStack>[] lootFunctions) - Mappings:
Namespace Name Mixin selector official aLebb;a([Ljava/util/function/BiFunction;)Ljava/util/function/BiFunction;intermediary method_594Lnet/minecraft/class_131;method_594([Ljava/util/function/BiFunction;)Ljava/util/function/BiFunction;named joinLnet/minecraft/loot/function/LootFunctionTypes;join([Ljava/util/function/BiFunction;)Ljava/util/function/BiFunction;
-