Package net.minecraft.loot.function
Class LootFunctionTypes
java.lang.Object
net.minecraft.loot.function.LootFunctionTypes
- Mappings:
Namespace Name named net/minecraft/loot/function/LootFunctionTypes
intermediary net/minecraft/class_131
official eth
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LootFunctionType
<ApplyBonusLootFunction> static final com.mojang.serialization.Codec
<LootFunction> static final com.mojang.serialization.Codec
<LootFunction> static final LootFunctionType
<CopyComponentsLootFunction> static final LootFunctionType
<CopyNbtLootFunction> static final LootFunctionType
<CopyNameLootFunction> static final LootFunctionType
<CopyStateLootFunction> static final LootFunctionType
<EnchantRandomlyLootFunction> static final LootFunctionType
<EnchantWithLevelsLootFunction> static final LootFunctionType
<EnchantedCountIncreaseLootFunction> static final com.mojang.serialization.Codec
<RegistryEntry<LootFunction>> static final LootFunctionType
<ExplorationMapLootFunction> static final LootFunctionType
<ExplosionDecayLootFunction> static final LootFunctionType
<FillPlayerHeadLootFunction> static final LootFunctionType
<FilteredLootFunction> static final LootFunctionType
<FurnaceSmeltLootFunction> static final LootFunctionType
<LimitCountLootFunction> static final LootFunctionType
<ModifyContentsLootFunction> static final BiFunction
<ItemStack, LootContext, ItemStack> static final LootFunctionType
<ReferenceLootFunction> static final LootFunctionType
<AndLootFunction> static final LootFunctionType
<SetAttributesLootFunction> static final LootFunctionType
<SetBannerPatternLootFunction> static final LootFunctionType
<SetBookCoverLootFunction> static final LootFunctionType
<SetComponentsLootFunction> static final LootFunctionType
<SetContentsLootFunction> static final LootFunctionType
<SetCountLootFunction> static final LootFunctionType
<SetCustomDataLootFunction> static final LootFunctionType
<SetCustomModelDataLootFunction> static final LootFunctionType
<SetDamageLootFunction> static final LootFunctionType
<SetEnchantmentsLootFunction> static final LootFunctionType
<SetFireworkExplosionLootFunction> static final LootFunctionType
<SetFireworksLootFunction> static final LootFunctionType
<SetInstrumentLootFunction> static final LootFunctionType
<SetItemLootFunction> static final LootFunctionType
<SetLootTableLootFunction> static final LootFunctionType
<SetLoreLootFunction> static final LootFunctionType
<SetNameLootFunction> static final LootFunctionType
<SetOminousBottleAmplifierLootFunction> static final LootFunctionType
<SetPotionLootFunction> static final LootFunctionType
<SetStewEffectLootFunction> static final LootFunctionType
<SetWritableBookPagesLootFunction> static final LootFunctionType
<SetWrittenBookPagesLootFunction> static final LootFunctionType
<ToggleTooltipsLootFunction> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BiFunction
<ItemStack, LootContext, ItemStack> join
(List<? extends BiFunction<ItemStack, LootContext, ItemStack>> terms) private static <T extends LootFunction>
LootFunctionType<T>
-
Field Details
-
NOOP
- Mappings:
Namespace Name Mixin selector named NOOP
Lnet/minecraft/loot/function/LootFunctionTypes;NOOP:Ljava/util/function/BiFunction;
intermediary field_1102
Lnet/minecraft/class_131;field_1102:Ljava/util/function/BiFunction;
official a
Leth;a:Ljava/util/function/BiFunction;
-
BASE_CODEC
- Mappings:
Namespace Name Mixin selector named BASE_CODEC
Lnet/minecraft/loot/function/LootFunctionTypes;BASE_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_45831
Lnet/minecraft/class_131;field_45831:Lcom/mojang/serialization/Codec;
official b
Leth;b:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/loot/function/LootFunctionTypes;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_50023
Lnet/minecraft/class_131;field_50023:Lcom/mojang/serialization/Codec;
official c
Leth;c:Lcom/mojang/serialization/Codec;
-
ENTRY_CODEC
- Mappings:
Namespace Name Mixin selector named ENTRY_CODEC
Lnet/minecraft/loot/function/LootFunctionTypes;ENTRY_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_45832
Lnet/minecraft/class_131;field_45832:Lcom/mojang/serialization/Codec;
official d
Leth;d:Lcom/mojang/serialization/Codec;
-
SET_COUNT
- Mappings:
Namespace Name Mixin selector named SET_COUNT
Lnet/minecraft/loot/function/LootFunctionTypes;SET_COUNT:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25214
Lnet/minecraft/class_131;field_25214:Lnet/minecraft/class_5339;
official e
Leth;e:Letg;
-
SET_ITEM
- Mappings:
Namespace Name Mixin selector named SET_ITEM
Lnet/minecraft/loot/function/LootFunctionTypes;SET_ITEM:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_51426
Lnet/minecraft/class_131;field_51426:Lnet/minecraft/class_5339;
official f
Leth;f:Letg;
-
ENCHANT_WITH_LEVELS
- Mappings:
Namespace Name Mixin selector named ENCHANT_WITH_LEVELS
Lnet/minecraft/loot/function/LootFunctionTypes;ENCHANT_WITH_LEVELS:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25215
Lnet/minecraft/class_131;field_25215:Lnet/minecraft/class_5339;
official g
Leth;g:Letg;
-
ENCHANT_RANDOMLY
- Mappings:
Namespace Name Mixin selector named ENCHANT_RANDOMLY
Lnet/minecraft/loot/function/LootFunctionTypes;ENCHANT_RANDOMLY:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25216
Lnet/minecraft/class_131;field_25216:Lnet/minecraft/class_5339;
official h
Leth;h:Letg;
-
SET_ENCHANTMENTS
- Mappings:
Namespace Name Mixin selector named SET_ENCHANTMENTS
Lnet/minecraft/loot/function/LootFunctionTypes;SET_ENCHANTMENTS:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_27906
Lnet/minecraft/class_131;field_27906:Lnet/minecraft/class_5339;
official i
Leth;i:Letg;
-
SET_CUSTOM_DATA
- Mappings:
Namespace Name Mixin selector named SET_CUSTOM_DATA
Lnet/minecraft/loot/function/LootFunctionTypes;SET_CUSTOM_DATA:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_49441
Lnet/minecraft/class_131;field_49441:Lnet/minecraft/class_5339;
official j
Leth;j:Letg;
-
SET_COMPONENTS
- Mappings:
Namespace Name Mixin selector named SET_COMPONENTS
Lnet/minecraft/loot/function/LootFunctionTypes;SET_COMPONENTS:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_49442
Lnet/minecraft/class_131;field_49442:Lnet/minecraft/class_5339;
official k
Leth;k:Letg;
-
FURNACE_SMELT
- Mappings:
Namespace Name Mixin selector named FURNACE_SMELT
Lnet/minecraft/loot/function/LootFunctionTypes;FURNACE_SMELT:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25218
Lnet/minecraft/class_131;field_25218:Lnet/minecraft/class_5339;
official l
Leth;l:Letg;
-
ENCHANTED_COUNT_INCREASE
- Mappings:
Namespace Name Mixin selector named ENCHANTED_COUNT_INCREASE
Lnet/minecraft/loot/function/LootFunctionTypes;ENCHANTED_COUNT_INCREASE:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_51800
Lnet/minecraft/class_131;field_51800:Lnet/minecraft/class_5339;
official m
Leth;m:Letg;
-
SET_DAMAGE
- Mappings:
Namespace Name Mixin selector named SET_DAMAGE
Lnet/minecraft/loot/function/LootFunctionTypes;SET_DAMAGE:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25220
Lnet/minecraft/class_131;field_25220:Lnet/minecraft/class_5339;
official n
Leth;n:Letg;
-
SET_ATTRIBUTES
- Mappings:
Namespace Name Mixin selector named SET_ATTRIBUTES
Lnet/minecraft/loot/function/LootFunctionTypes;SET_ATTRIBUTES:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25221
Lnet/minecraft/class_131;field_25221:Lnet/minecraft/class_5339;
official o
Leth;o:Letg;
-
SET_NAME
- Mappings:
Namespace Name Mixin selector named SET_NAME
Lnet/minecraft/loot/function/LootFunctionTypes;SET_NAME:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25222
Lnet/minecraft/class_131;field_25222:Lnet/minecraft/class_5339;
official p
Leth;p:Letg;
-
EXPLORATION_MAP
- Mappings:
Namespace Name Mixin selector named EXPLORATION_MAP
Lnet/minecraft/loot/function/LootFunctionTypes;EXPLORATION_MAP:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25223
Lnet/minecraft/class_131;field_25223:Lnet/minecraft/class_5339;
official q
Leth;q:Letg;
-
SET_STEW_EFFECT
- Mappings:
Namespace Name Mixin selector named SET_STEW_EFFECT
Lnet/minecraft/loot/function/LootFunctionTypes;SET_STEW_EFFECT:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25224
Lnet/minecraft/class_131;field_25224:Lnet/minecraft/class_5339;
official r
Leth;r:Letg;
-
COPY_NAME
- Mappings:
Namespace Name Mixin selector named COPY_NAME
Lnet/minecraft/loot/function/LootFunctionTypes;COPY_NAME:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25225
Lnet/minecraft/class_131;field_25225:Lnet/minecraft/class_5339;
official s
Leth;s:Letg;
-
SET_CONTENTS
- Mappings:
Namespace Name Mixin selector named SET_CONTENTS
Lnet/minecraft/loot/function/LootFunctionTypes;SET_CONTENTS:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25226
Lnet/minecraft/class_131;field_25226:Lnet/minecraft/class_5339;
official t
Leth;t:Letg;
-
MODIFY_CONTENTS
- Mappings:
Namespace Name Mixin selector named MODIFY_CONTENTS
Lnet/minecraft/loot/function/LootFunctionTypes;MODIFY_CONTENTS:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_51427
Lnet/minecraft/class_131;field_51427:Lnet/minecraft/class_5339;
official u
Leth;u:Letg;
-
FILTERED
- Mappings:
Namespace Name Mixin selector named FILTERED
Lnet/minecraft/loot/function/LootFunctionTypes;FILTERED:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_51428
Lnet/minecraft/class_131;field_51428:Lnet/minecraft/class_5339;
official v
Leth;v:Letg;
-
LIMIT_COUNT
- Mappings:
Namespace Name Mixin selector named LIMIT_COUNT
Lnet/minecraft/loot/function/LootFunctionTypes;LIMIT_COUNT:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25227
Lnet/minecraft/class_131;field_25227:Lnet/minecraft/class_5339;
official w
Leth;w:Letg;
-
APPLY_BONUS
- Mappings:
Namespace Name Mixin selector named APPLY_BONUS
Lnet/minecraft/loot/function/LootFunctionTypes;APPLY_BONUS:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25228
Lnet/minecraft/class_131;field_25228:Lnet/minecraft/class_5339;
official x
Leth;x:Letg;
-
SET_LOOT_TABLE
- Mappings:
Namespace Name Mixin selector named SET_LOOT_TABLE
Lnet/minecraft/loot/function/LootFunctionTypes;SET_LOOT_TABLE:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25229
Lnet/minecraft/class_131;field_25229:Lnet/minecraft/class_5339;
official y
Leth;y:Letg;
-
EXPLOSION_DECAY
- Mappings:
Namespace Name Mixin selector named EXPLOSION_DECAY
Lnet/minecraft/loot/function/LootFunctionTypes;EXPLOSION_DECAY:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25230
Lnet/minecraft/class_131;field_25230:Lnet/minecraft/class_5339;
official z
Leth;z:Letg;
-
SET_LORE
- Mappings:
Namespace Name Mixin selector named SET_LORE
Lnet/minecraft/loot/function/LootFunctionTypes;SET_LORE:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25231
Lnet/minecraft/class_131;field_25231:Lnet/minecraft/class_5339;
official A
Leth;A:Letg;
-
FILL_PLAYER_HEAD
- Mappings:
Namespace Name Mixin selector named FILL_PLAYER_HEAD
Lnet/minecraft/loot/function/LootFunctionTypes;FILL_PLAYER_HEAD:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25232
Lnet/minecraft/class_131;field_25232:Lnet/minecraft/class_5339;
official B
Leth;B:Letg;
-
COPY_CUSTOM_DATA
- Mappings:
Namespace Name Mixin selector named COPY_CUSTOM_DATA
Lnet/minecraft/loot/function/LootFunctionTypes;COPY_CUSTOM_DATA:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_49443
Lnet/minecraft/class_131;field_49443:Lnet/minecraft/class_5339;
official C
Leth;C:Letg;
-
COPY_STATE
- Mappings:
Namespace Name Mixin selector named COPY_STATE
Lnet/minecraft/loot/function/LootFunctionTypes;COPY_STATE:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_25234
Lnet/minecraft/class_131;field_25234:Lnet/minecraft/class_5339;
official D
Leth;D:Letg;
-
SET_BANNER_PATTERN
- Mappings:
Namespace Name Mixin selector named SET_BANNER_PATTERN
Lnet/minecraft/loot/function/LootFunctionTypes;SET_BANNER_PATTERN:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_27342
Lnet/minecraft/class_131;field_27342:Lnet/minecraft/class_5339;
official E
Leth;E:Letg;
-
SET_POTION
- Mappings:
Namespace Name Mixin selector named SET_POTION
Lnet/minecraft/loot/function/LootFunctionTypes;SET_POTION:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_35079
Lnet/minecraft/class_131;field_35079:Lnet/minecraft/class_5339;
official F
Leth;F:Letg;
-
SET_INSTRUMENT
- Mappings:
Namespace Name Mixin selector named SET_INSTRUMENT
Lnet/minecraft/loot/function/LootFunctionTypes;SET_INSTRUMENT:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_39060
Lnet/minecraft/class_131;field_39060:Lnet/minecraft/class_5339;
official G
Leth;G:Letg;
-
REFERENCE
- Mappings:
Namespace Name Mixin selector named REFERENCE
Lnet/minecraft/loot/function/LootFunctionTypes;REFERENCE:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_44508
Lnet/minecraft/class_131;field_44508:Lnet/minecraft/class_5339;
official H
Leth;H:Letg;
-
SEQUENCE
- Mappings:
Namespace Name Mixin selector named SEQUENCE
Lnet/minecraft/loot/function/LootFunctionTypes;SEQUENCE:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_45830
Lnet/minecraft/class_131;field_45830:Lnet/minecraft/class_5339;
official I
Leth;I:Letg;
-
COPY_COMPONENTS
- Mappings:
Namespace Name Mixin selector named COPY_COMPONENTS
Lnet/minecraft/loot/function/LootFunctionTypes;COPY_COMPONENTS:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_49440
Lnet/minecraft/class_131;field_49440:Lnet/minecraft/class_5339;
official J
Leth;J:Letg;
-
SET_FIREWORKS
- Mappings:
Namespace Name Mixin selector named SET_FIREWORKS
Lnet/minecraft/loot/function/LootFunctionTypes;SET_FIREWORKS:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_49865
Lnet/minecraft/class_131;field_49865:Lnet/minecraft/class_5339;
official K
Leth;K:Letg;
-
SET_FIREWORK_EXPLOSION
- Mappings:
Namespace Name Mixin selector named SET_FIREWORK_EXPLOSION
Lnet/minecraft/loot/function/LootFunctionTypes;SET_FIREWORK_EXPLOSION:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_49866
Lnet/minecraft/class_131;field_49866:Lnet/minecraft/class_5339;
official L
Leth;L:Letg;
-
SET_BOOK_COVER
- Mappings:
Namespace Name Mixin selector named SET_BOOK_COVER
Lnet/minecraft/loot/function/LootFunctionTypes;SET_BOOK_COVER:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_49867
Lnet/minecraft/class_131;field_49867:Lnet/minecraft/class_5339;
official M
Leth;M:Letg;
-
SET_WRITTEN_BOOK_PAGES
- Mappings:
Namespace Name Mixin selector named SET_WRITTEN_BOOK_PAGES
Lnet/minecraft/loot/function/LootFunctionTypes;SET_WRITTEN_BOOK_PAGES:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_49868
Lnet/minecraft/class_131;field_49868:Lnet/minecraft/class_5339;
official N
Leth;N:Letg;
-
SET_WRITABLE_BOOK_PAGES
- Mappings:
Namespace Name Mixin selector named SET_WRITABLE_BOOK_PAGES
Lnet/minecraft/loot/function/LootFunctionTypes;SET_WRITABLE_BOOK_PAGES:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_49869
Lnet/minecraft/class_131;field_49869:Lnet/minecraft/class_5339;
official O
Leth;O:Letg;
-
TOGGLE_TOOLTIPS
- Mappings:
Namespace Name Mixin selector named TOGGLE_TOOLTIPS
Lnet/minecraft/loot/function/LootFunctionTypes;TOGGLE_TOOLTIPS:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_50022
Lnet/minecraft/class_131;field_50022:Lnet/minecraft/class_5339;
official P
Leth;P:Letg;
-
SET_OMINOUS_BOTTLE_AMPLIFIER
public static final LootFunctionType<SetOminousBottleAmplifierLootFunction> SET_OMINOUS_BOTTLE_AMPLIFIER- Mappings:
Namespace Name Mixin selector named SET_OMINOUS_BOTTLE_AMPLIFIER
Lnet/minecraft/loot/function/LootFunctionTypes;SET_OMINOUS_BOTTLE_AMPLIFIER:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_50207
Lnet/minecraft/class_131;field_50207:Lnet/minecraft/class_5339;
official Q
Leth;Q:Letg;
-
SET_CUSTOM_MODEL_DATA
- Mappings:
Namespace Name Mixin selector named SET_CUSTOM_MODEL_DATA
Lnet/minecraft/loot/function/LootFunctionTypes;SET_CUSTOM_MODEL_DATA:Lnet/minecraft/loot/function/LootFunctionType;
intermediary field_51425
Lnet/minecraft/class_131;field_51425:Lnet/minecraft/class_5339;
official R
Leth;R:Letg;
-
-
Constructor Details
-
LootFunctionTypes
public LootFunctionTypes()
-
-
Method Details
-
register
private static <T extends LootFunction> LootFunctionType<T> register(String id, com.mojang.serialization.MapCodec<T> codec) - Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/loot/function/LootFunctionTypes;register(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lnet/minecraft/loot/function/LootFunctionType;
intermediary method_29323
Lnet/minecraft/class_131;method_29323(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lnet/minecraft/class_5339;
official a
Leth;a(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Letg;
-
join
public static BiFunction<ItemStack,LootContext, joinItemStack> (List<? extends BiFunction<ItemStack, LootContext, ItemStack>> terms) - Mappings:
Namespace Name Mixin selector named join
Lnet/minecraft/loot/function/LootFunctionTypes;join(Ljava/util/List;)Ljava/util/function/BiFunction;
intermediary method_594
Lnet/minecraft/class_131;method_594(Ljava/util/List;)Ljava/util/function/BiFunction;
official a
Leth;a(Ljava/util/List;)Ljava/util/function/BiFunction;
-