Class LootContextTypes

java.lang.Object
net.minecraft.loot.context.LootContextTypes

public class LootContextTypes extends Object
Mappings:
Namespace Name
named net/minecraft/loot/context/LootContextTypes
intermediary net/minecraft/class_173
official eum
  • Field Details

    • MAP

      private static final BiMap<Identifier,LootContextType> MAP
      Mappings:
      Namespace Name Mixin selector
      named MAP Lnet/minecraft/loot/context/LootContextTypes;MAP:Lcom/google/common/collect/BiMap;
      intermediary field_1178 Lnet/minecraft/class_173;field_1178:Lcom/google/common/collect/BiMap;
      official y Leum;y:Lcom/google/common/collect/BiMap;
    • CODEC

      public static final com.mojang.serialization.Codec<LootContextType> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/loot/context/LootContextTypes;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_45856 Lnet/minecraft/class_173;field_45856:Lcom/mojang/serialization/Codec;
      official a Leum;a:Lcom/mojang/serialization/Codec;
    • EMPTY

      public static final LootContextType EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/loot/context/LootContextTypes;EMPTY:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_1175 Lnet/minecraft/class_173;field_1175:Lnet/minecraft/class_176;
      official b Leum;b:Leul;
    • CHEST

      public static final LootContextType CHEST
      Mappings:
      Namespace Name Mixin selector
      named CHEST Lnet/minecraft/loot/context/LootContextTypes;CHEST:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_1179 Lnet/minecraft/class_173;field_1179:Lnet/minecraft/class_176;
      official c Leum;c:Leul;
    • COMMAND

      public static final LootContextType COMMAND
      Mappings:
      Namespace Name Mixin selector
      named COMMAND Lnet/minecraft/loot/context/LootContextTypes;COMMAND:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_20761 Lnet/minecraft/class_173;field_20761:Lnet/minecraft/class_176;
      official d Leum;d:Leul;
    • SELECTOR

      public static final LootContextType SELECTOR
      Mappings:
      Namespace Name Mixin selector
      named SELECTOR Lnet/minecraft/loot/context/LootContextTypes;SELECTOR:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_20762 Lnet/minecraft/class_173;field_20762:Lnet/minecraft/class_176;
      official e Leum;e:Leul;
    • FISHING

      public static final LootContextType FISHING
      Mappings:
      Namespace Name Mixin selector
      named FISHING Lnet/minecraft/loot/context/LootContextTypes;FISHING:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_1176 Lnet/minecraft/class_173;field_1176:Lnet/minecraft/class_176;
      official f Leum;f:Leul;
    • ENTITY

      public static final LootContextType ENTITY
      Mappings:
      Namespace Name Mixin selector
      named ENTITY Lnet/minecraft/loot/context/LootContextTypes;ENTITY:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_1173 Lnet/minecraft/class_173;field_1173:Lnet/minecraft/class_176;
      official g Leum;g:Leul;
    • EQUIPMENT

      public static final LootContextType EQUIPMENT
      Mappings:
      Namespace Name Mixin selector
      named EQUIPMENT Lnet/minecraft/loot/context/LootContextTypes;EQUIPMENT:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_50217 Lnet/minecraft/class_173;field_50217:Lnet/minecraft/class_176;
      official h Leum;h:Leul;
    • ARCHAEOLOGY

      public static final LootContextType ARCHAEOLOGY
      Mappings:
      Namespace Name Mixin selector
      named ARCHAEOLOGY Lnet/minecraft/loot/context/LootContextTypes;ARCHAEOLOGY:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_42858 Lnet/minecraft/class_173;field_42858:Lnet/minecraft/class_176;
      official i Leum;i:Leul;
    • GIFT

      public static final LootContextType GIFT
      Mappings:
      Namespace Name Mixin selector
      named GIFT Lnet/minecraft/loot/context/LootContextTypes;GIFT:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_16235 Lnet/minecraft/class_173;field_16235:Lnet/minecraft/class_176;
      official j Leum;j:Leul;
    • BARTER

      public static final LootContextType BARTER
      Mappings:
      Namespace Name Mixin selector
      named BARTER Lnet/minecraft/loot/context/LootContextTypes;BARTER:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_22403 Lnet/minecraft/class_173;field_22403:Lnet/minecraft/class_176;
      official k Leum;k:Leul;
    • VAULT

      public static final LootContextType VAULT
      Mappings:
      Namespace Name Mixin selector
      named VAULT Lnet/minecraft/loot/context/LootContextTypes;VAULT:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_48928 Lnet/minecraft/class_173;field_48928:Lnet/minecraft/class_176;
      official l Leum;l:Leul;
    • ADVANCEMENT_REWARD

      public static final LootContextType ADVANCEMENT_REWARD
      Mappings:
      Namespace Name Mixin selector
      named ADVANCEMENT_REWARD Lnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_REWARD:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_1174 Lnet/minecraft/class_173;field_1174:Lnet/minecraft/class_176;
      official m Leum;m:Leul;
    • ADVANCEMENT_ENTITY

      public static final LootContextType ADVANCEMENT_ENTITY
      Mappings:
      Namespace Name Mixin selector
      named ADVANCEMENT_ENTITY Lnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_ENTITY:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_24423 Lnet/minecraft/class_173;field_24423:Lnet/minecraft/class_176;
      official n Leum;n:Leul;
    • ADVANCEMENT_LOCATION

      public static final LootContextType ADVANCEMENT_LOCATION
      Mappings:
      Namespace Name Mixin selector
      named ADVANCEMENT_LOCATION Lnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_LOCATION:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_44788 Lnet/minecraft/class_173;field_44788:Lnet/minecraft/class_176;
      official o Leum;o:Leul;
    • BLOCK_USE

      public static final LootContextType BLOCK_USE
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_USE Lnet/minecraft/loot/context/LootContextTypes;BLOCK_USE:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_48381 Lnet/minecraft/class_173;field_48381:Lnet/minecraft/class_176;
      official p Leum;p:Leul;
    • GENERIC

      public static final LootContextType GENERIC
      Mappings:
      Namespace Name Mixin selector
      named GENERIC Lnet/minecraft/loot/context/LootContextTypes;GENERIC:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_1177 Lnet/minecraft/class_173;field_1177:Lnet/minecraft/class_176;
      official q Leum;q:Leul;
    • BLOCK

      public static final LootContextType BLOCK
      Mappings:
      Namespace Name Mixin selector
      named BLOCK Lnet/minecraft/loot/context/LootContextTypes;BLOCK:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_1172 Lnet/minecraft/class_173;field_1172:Lnet/minecraft/class_176;
      official r Leum;r:Leul;
    • SHEARING

      public static final LootContextType SHEARING
      Mappings:
      Namespace Name Mixin selector
      named SHEARING Lnet/minecraft/loot/context/LootContextTypes;SHEARING:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_49446 Lnet/minecraft/class_173;field_49446:Lnet/minecraft/class_176;
      official s Leum;s:Leul;
    • ENCHANTED_DAMAGE

      public static final LootContextType ENCHANTED_DAMAGE
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_DAMAGE Lnet/minecraft/loot/context/LootContextTypes;ENCHANTED_DAMAGE:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_51801 Lnet/minecraft/class_173;field_51801:Lnet/minecraft/class_176;
      official t Leum;t:Leul;
    • ENCHANTED_ITEM

      public static final LootContextType ENCHANTED_ITEM
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_ITEM Lnet/minecraft/loot/context/LootContextTypes;ENCHANTED_ITEM:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_51802 Lnet/minecraft/class_173;field_51802:Lnet/minecraft/class_176;
      official u Leum;u:Leul;
    • ENCHANTED_LOCATION

      public static final LootContextType ENCHANTED_LOCATION
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_LOCATION Lnet/minecraft/loot/context/LootContextTypes;ENCHANTED_LOCATION:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_51803 Lnet/minecraft/class_173;field_51803:Lnet/minecraft/class_176;
      official v Leum;v:Leul;
    • ENCHANTED_ENTITY

      public static final LootContextType ENCHANTED_ENTITY
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_ENTITY Lnet/minecraft/loot/context/LootContextTypes;ENCHANTED_ENTITY:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_51804 Lnet/minecraft/class_173;field_51804:Lnet/minecraft/class_176;
      official w Leum;w:Leul;
    • HIT_BLOCK

      public static final LootContextType HIT_BLOCK
      Mappings:
      Namespace Name Mixin selector
      named HIT_BLOCK Lnet/minecraft/loot/context/LootContextTypes;HIT_BLOCK:Lnet/minecraft/loot/context/LootContextType;
      intermediary field_52067 Lnet/minecraft/class_173;field_52067:Lnet/minecraft/class_176;
      official x Leum;x:Leul;
  • Constructor Details

    • LootContextTypes

      public LootContextTypes()
  • Method Details

    • register

      private static LootContextType register(String name, Consumer<LootContextType.Builder> type)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/loot/context/LootContextTypes;register(Ljava/lang/String;Ljava/util/function/Consumer;)Lnet/minecraft/loot/context/LootContextType;
      intermediary method_759 Lnet/minecraft/class_173;method_759(Ljava/lang/String;Ljava/util/function/Consumer;)Lnet/minecraft/class_176;
      official a Leum;a(Ljava/lang/String;Ljava/util/function/Consumer;)Leul;