Class LootFunctionTypes

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

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

    • NOOP

      public static final BiFunction<ItemStack,LootContext,ItemStack> NOOP
      Mappings:
      Namespace Name Mixin selector
      official a Leef;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;
    • BASE_CODEC

      private static final com.mojang.serialization.Codec<LootFunction> BASE_CODEC
      Mappings:
      Namespace Name Mixin selector
      official D Leef;D:Lcom/mojang/serialization/Codec;
      intermediary field_45831 Lnet/minecraft/class_131;field_45831:Lcom/mojang/serialization/Codec;
      named BASE_CODEC Lnet/minecraft/loot/function/LootFunctionTypes;BASE_CODEC:Lcom/mojang/serialization/Codec;
    • CODEC

      public static final com.mojang.serialization.Codec<LootFunction> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Leef;b:Lcom/mojang/serialization/Codec;
      intermediary field_45832 Lnet/minecraft/class_131;field_45832:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/loot/function/LootFunctionTypes;CODEC:Lcom/mojang/serialization/Codec;
    • SET_COUNT

      public static final LootFunctionType SET_COUNT
      Mappings:
      Namespace Name Mixin selector
      official c Leef;c:Leee;
      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

      public static final LootFunctionType ENCHANT_WITH_LEVELS
      Mappings:
      Namespace Name Mixin selector
      official d Leef;d:Leee;
      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

      public static final LootFunctionType ENCHANT_RANDOMLY
      Mappings:
      Namespace Name Mixin selector
      official e Leef;e:Leee;
      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

      public static final LootFunctionType SET_ENCHANTMENTS
      Mappings:
      Namespace Name Mixin selector
      official f Leef;f:Leee;
      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

      public static final LootFunctionType SET_NBT
      Mappings:
      Namespace Name Mixin selector
      official g Leef;g:Leee;
      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

      public static final LootFunctionType FURNACE_SMELT
      Mappings:
      Namespace Name Mixin selector
      official h Leef;h:Leee;
      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

      public static final LootFunctionType LOOTING_ENCHANT
      Mappings:
      Namespace Name Mixin selector
      official i Leef;i:Leee;
      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

      public static final LootFunctionType SET_DAMAGE
      Mappings:
      Namespace Name Mixin selector
      official j Leef;j:Leee;
      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

      public static final LootFunctionType SET_ATTRIBUTES
      Mappings:
      Namespace Name Mixin selector
      official k Leef;k:Leee;
      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

      public static final LootFunctionType SET_NAME
      Mappings:
      Namespace Name Mixin selector
      official l Leef;l:Leee;
      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

      public static final LootFunctionType EXPLORATION_MAP
      Mappings:
      Namespace Name Mixin selector
      official m Leef;m:Leee;
      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

      public static final LootFunctionType SET_STEW_EFFECT
      Mappings:
      Namespace Name Mixin selector
      official n Leef;n:Leee;
      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

      public static final LootFunctionType COPY_NAME
      Mappings:
      Namespace Name Mixin selector
      official o Leef;o:Leee;
      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

      public static final LootFunctionType SET_CONTENTS
      Mappings:
      Namespace Name Mixin selector
      official p Leef;p:Leee;
      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

      public static final LootFunctionType LIMIT_COUNT
      Mappings:
      Namespace Name Mixin selector
      official q Leef;q:Leee;
      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

      public static final LootFunctionType APPLY_BONUS
      Mappings:
      Namespace Name Mixin selector
      official r Leef;r:Leee;
      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

      public static final LootFunctionType SET_LOOT_TABLE
      Mappings:
      Namespace Name Mixin selector
      official s Leef;s:Leee;
      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

      public static final LootFunctionType EXPLOSION_DECAY
      Mappings:
      Namespace Name Mixin selector
      official t Leef;t:Leee;
      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

      public static final LootFunctionType SET_LORE
      Mappings:
      Namespace Name Mixin selector
      official u Leef;u:Leee;
      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

      public static final LootFunctionType FILL_PLAYER_HEAD
      Mappings:
      Namespace Name Mixin selector
      official v Leef;v:Leee;
      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

      public static final LootFunctionType COPY_NBT
      Mappings:
      Namespace Name Mixin selector
      official w Leef;w:Leee;
      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

      public static final LootFunctionType COPY_STATE
      Mappings:
      Namespace Name Mixin selector
      official x Leef;x:Leee;
      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

      public static final LootFunctionType SET_BANNER_PATTERN
      Mappings:
      Namespace Name Mixin selector
      official y Leef;y:Leee;
      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;
    • SET_POTION

      public static final LootFunctionType SET_POTION
      Mappings:
      Namespace Name Mixin selector
      official z Leef;z:Leee;
      intermediary field_35079 Lnet/minecraft/class_131;field_35079:Lnet/minecraft/class_5339;
      named SET_POTION Lnet/minecraft/loot/function/LootFunctionTypes;SET_POTION:Lnet/minecraft/loot/function/LootFunctionType;
    • SET_INSTRUMENT

      public static final LootFunctionType SET_INSTRUMENT
      Mappings:
      Namespace Name Mixin selector
      official A Leef;A:Leee;
      intermediary field_39060 Lnet/minecraft/class_131;field_39060:Lnet/minecraft/class_5339;
      named SET_INSTRUMENT Lnet/minecraft/loot/function/LootFunctionTypes;SET_INSTRUMENT:Lnet/minecraft/loot/function/LootFunctionType;
    • REFERENCE

      public static final LootFunctionType REFERENCE
      Mappings:
      Namespace Name Mixin selector
      official B Leef;B:Leee;
      intermediary field_44508 Lnet/minecraft/class_131;field_44508:Lnet/minecraft/class_5339;
      named REFERENCE Lnet/minecraft/loot/function/LootFunctionTypes;REFERENCE:Lnet/minecraft/loot/function/LootFunctionType;
    • SEQUENCE

      public static final LootFunctionType SEQUENCE
      Mappings:
      Namespace Name Mixin selector
      official C Leef;C:Leee;
      intermediary field_45830 Lnet/minecraft/class_131;field_45830:Lnet/minecraft/class_5339;
      named SEQUENCE Lnet/minecraft/loot/function/LootFunctionTypes;SEQUENCE:Lnet/minecraft/loot/function/LootFunctionType;
  • Constructor Details

    • LootFunctionTypes

      public LootFunctionTypes()
  • Method Details

    • register

      private static LootFunctionType register(String id, com.mojang.serialization.Codec<? extends LootFunction> codec)
      Mappings:
      Namespace Name Mixin selector
      official a Leef;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Leee;
      intermediary method_29323 Lnet/minecraft/class_131;method_29323(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_5339;
      named register Lnet/minecraft/loot/function/LootFunctionTypes;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/loot/function/LootFunctionType;
    • join

      Mappings:
      Namespace Name Mixin selector
      official a Leef;a(Ljava/util/List;)Ljava/util/function/BiFunction;
      intermediary method_594 Lnet/minecraft/class_131;method_594(Ljava/util/List;)Ljava/util/function/BiFunction;
      named join Lnet/minecraft/loot/function/LootFunctionTypes;join(Ljava/util/List;)Ljava/util/function/BiFunction;