Class LootFunctionTypes

java.lang.Object
net.minecraft.loot.function.LootFunctionTypes

public class LootFunctionTypes extends Object
Mappings:
Namespace Name
named net/minecraft/loot/function/LootFunctionTypes
intermediary net/minecraft/class_131
official esm
  • Field Details

    • NOOP

      public static final BiFunction<ItemStack,LootContext,ItemStack> 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 Lesm;a:Ljava/util/function/BiFunction;
    • BASE_CODEC

      public static final com.mojang.serialization.Codec<LootFunction> 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 Lesm;b:Lcom/mojang/serialization/Codec;
    • CODEC

      public static final com.mojang.serialization.Codec<LootFunction> 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 Lesm;c:Lcom/mojang/serialization/Codec;
    • ENTRY_CODEC

      public static final com.mojang.serialization.Codec<RegistryEntry<LootFunction>> 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 Lesm;d:Lcom/mojang/serialization/Codec;
    • SET_COUNT

      public static final LootFunctionType<SetCountLootFunction> 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 Lesm;e:Lesl;
    • SET_ITEM

      public static final LootFunctionType<SetItemLootFunction> 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 Lesm;f:Lesl;
    • ENCHANT_WITH_LEVELS

      public static final LootFunctionType<EnchantWithLevelsLootFunction> 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 Lesm;g:Lesl;
    • ENCHANT_RANDOMLY

      public static final LootFunctionType<EnchantRandomlyLootFunction> 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 Lesm;h:Lesl;
    • SET_ENCHANTMENTS

      public static final LootFunctionType<SetEnchantmentsLootFunction> 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 Lesm;i:Lesl;
    • SET_CUSTOM_DATA

      public static final LootFunctionType<SetCustomDataLootFunction> 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 Lesm;j:Lesl;
    • SET_COMPONENTS

      public static final LootFunctionType<SetComponentsLootFunction> 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 Lesm;k:Lesl;
    • FURNACE_SMELT

      public static final LootFunctionType<FurnaceSmeltLootFunction> 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 Lesm;l:Lesl;
    • ENCHANTED_COUNT_INCREASE

      public static final LootFunctionType<EnchantedCountIncreaseLootFunction> 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 Lesm;m:Lesl;
    • SET_DAMAGE

      public static final LootFunctionType<SetDamageLootFunction> 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 Lesm;n:Lesl;
    • SET_ATTRIBUTES

      public static final LootFunctionType<SetAttributesLootFunction> 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 Lesm;o:Lesl;
    • SET_NAME

      public static final LootFunctionType<SetNameLootFunction> 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 Lesm;p:Lesl;
    • EXPLORATION_MAP

      public static final LootFunctionType<ExplorationMapLootFunction> 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 Lesm;q:Lesl;
    • SET_STEW_EFFECT

      public static final LootFunctionType<SetStewEffectLootFunction> 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 Lesm;r:Lesl;
    • COPY_NAME

      public static final LootFunctionType<CopyNameLootFunction> 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 Lesm;s:Lesl;
    • SET_CONTENTS

      public static final LootFunctionType<SetContentsLootFunction> 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 Lesm;t:Lesl;
    • MODIFY_CONTENTS

      public static final LootFunctionType<ModifyContentsLootFunction> 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 Lesm;u:Lesl;
    • FILTERED

      public static final LootFunctionType<FilteredLootFunction> 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 Lesm;v:Lesl;
    • LIMIT_COUNT

      public static final LootFunctionType<LimitCountLootFunction> 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 Lesm;w:Lesl;
    • APPLY_BONUS

      public static final LootFunctionType<ApplyBonusLootFunction> 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 Lesm;x:Lesl;
    • SET_LOOT_TABLE

      public static final LootFunctionType<SetLootTableLootFunction> 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 Lesm;y:Lesl;
    • EXPLOSION_DECAY

      public static final LootFunctionType<ExplosionDecayLootFunction> 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 Lesm;z:Lesl;
    • SET_LORE

      public static final LootFunctionType<SetLoreLootFunction> 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 Lesm;A:Lesl;
    • FILL_PLAYER_HEAD

      public static final LootFunctionType<FillPlayerHeadLootFunction> 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 Lesm;B:Lesl;
    • COPY_CUSTOM_DATA

      public static final LootFunctionType<CopyNbtLootFunction> 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 Lesm;C:Lesl;
    • COPY_STATE

      public static final LootFunctionType<CopyStateLootFunction> 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 Lesm;D:Lesl;
    • SET_BANNER_PATTERN

      public static final LootFunctionType<SetBannerPatternLootFunction> 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 Lesm;E:Lesl;
    • SET_POTION

      public static final LootFunctionType<SetPotionLootFunction> 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 Lesm;F:Lesl;
    • SET_INSTRUMENT

      public static final LootFunctionType<SetInstrumentLootFunction> 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 Lesm;G:Lesl;
    • REFERENCE

      public static final LootFunctionType<ReferenceLootFunction> 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 Lesm;H:Lesl;
    • SEQUENCE

      public static final LootFunctionType<AndLootFunction> 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 Lesm;I:Lesl;
    • COPY_COMPONENTS

      public static final LootFunctionType<CopyComponentsLootFunction> 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 Lesm;J:Lesl;
    • SET_FIREWORKS

      public static final LootFunctionType<SetFireworksLootFunction> 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 Lesm;K:Lesl;
    • SET_FIREWORK_EXPLOSION

      public static final LootFunctionType<SetFireworkExplosionLootFunction> 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 Lesm;L:Lesl;
    • SET_BOOK_COVER

      public static final LootFunctionType<SetBookCoverLootFunction> 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 Lesm;M:Lesl;
    • SET_WRITTEN_BOOK_PAGES

      public static final LootFunctionType<SetWrittenBookPagesLootFunction> 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 Lesm;N:Lesl;
    • SET_WRITABLE_BOOK_PAGES

      public static final LootFunctionType<SetWritableBookPagesLootFunction> 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 Lesm;O:Lesl;
    • TOGGLE_TOOLTIPS

      public static final LootFunctionType<ToggleTooltipsLootFunction> 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 Lesm;P:Lesl;
    • 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 Lesm;Q:Lesl;
    • SET_CUSTOM_MODEL_DATA

      public static final LootFunctionType<SetCustomModelDataLootFunction> 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 Lesm;R:Lesl;
  • 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 Lesm;a(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lesl;
    • join

      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 Lesm;a(Ljava/util/List;)Ljava/util/function/BiFunction;