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 ezh
  • Field Details

    • MAP

      private static final BiMap<Identifier,ContextType> 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 Lezh;y:Lcom/google/common/collect/BiMap;
    • CODEC

      public static final com.mojang.serialization.Codec<ContextType> 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 Lezh;a:Lcom/mojang/serialization/Codec;
    • EMPTY

      public static final ContextType EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/loot/context/LootContextTypes;EMPTY:Lnet/minecraft/util/context/ContextType;
      intermediary field_1175 Lnet/minecraft/class_173;field_1175:Lnet/minecraft/class_176;
      official b Lezh;b:Lbbo;
    • CHEST

      public static final ContextType CHEST
      Mappings:
      Namespace Name Mixin selector
      named CHEST Lnet/minecraft/loot/context/LootContextTypes;CHEST:Lnet/minecraft/util/context/ContextType;
      intermediary field_1179 Lnet/minecraft/class_173;field_1179:Lnet/minecraft/class_176;
      official c Lezh;c:Lbbo;
    • COMMAND

      public static final ContextType COMMAND
      Mappings:
      Namespace Name Mixin selector
      named COMMAND Lnet/minecraft/loot/context/LootContextTypes;COMMAND:Lnet/minecraft/util/context/ContextType;
      intermediary field_20761 Lnet/minecraft/class_173;field_20761:Lnet/minecraft/class_176;
      official d Lezh;d:Lbbo;
    • SELECTOR

      public static final ContextType SELECTOR
      Mappings:
      Namespace Name Mixin selector
      named SELECTOR Lnet/minecraft/loot/context/LootContextTypes;SELECTOR:Lnet/minecraft/util/context/ContextType;
      intermediary field_20762 Lnet/minecraft/class_173;field_20762:Lnet/minecraft/class_176;
      official e Lezh;e:Lbbo;
    • FISHING

      public static final ContextType FISHING
      Mappings:
      Namespace Name Mixin selector
      named FISHING Lnet/minecraft/loot/context/LootContextTypes;FISHING:Lnet/minecraft/util/context/ContextType;
      intermediary field_1176 Lnet/minecraft/class_173;field_1176:Lnet/minecraft/class_176;
      official f Lezh;f:Lbbo;
    • ENTITY

      public static final ContextType ENTITY
      Mappings:
      Namespace Name Mixin selector
      named ENTITY Lnet/minecraft/loot/context/LootContextTypes;ENTITY:Lnet/minecraft/util/context/ContextType;
      intermediary field_1173 Lnet/minecraft/class_173;field_1173:Lnet/minecraft/class_176;
      official g Lezh;g:Lbbo;
    • EQUIPMENT

      public static final ContextType EQUIPMENT
      Mappings:
      Namespace Name Mixin selector
      named EQUIPMENT Lnet/minecraft/loot/context/LootContextTypes;EQUIPMENT:Lnet/minecraft/util/context/ContextType;
      intermediary field_50217 Lnet/minecraft/class_173;field_50217:Lnet/minecraft/class_176;
      official h Lezh;h:Lbbo;
    • ARCHAEOLOGY

      public static final ContextType ARCHAEOLOGY
      Mappings:
      Namespace Name Mixin selector
      named ARCHAEOLOGY Lnet/minecraft/loot/context/LootContextTypes;ARCHAEOLOGY:Lnet/minecraft/util/context/ContextType;
      intermediary field_42858 Lnet/minecraft/class_173;field_42858:Lnet/minecraft/class_176;
      official i Lezh;i:Lbbo;
    • GIFT

      public static final ContextType GIFT
      Mappings:
      Namespace Name Mixin selector
      named GIFT Lnet/minecraft/loot/context/LootContextTypes;GIFT:Lnet/minecraft/util/context/ContextType;
      intermediary field_16235 Lnet/minecraft/class_173;field_16235:Lnet/minecraft/class_176;
      official j Lezh;j:Lbbo;
    • BARTER

      public static final ContextType BARTER
      Mappings:
      Namespace Name Mixin selector
      named BARTER Lnet/minecraft/loot/context/LootContextTypes;BARTER:Lnet/minecraft/util/context/ContextType;
      intermediary field_22403 Lnet/minecraft/class_173;field_22403:Lnet/minecraft/class_176;
      official k Lezh;k:Lbbo;
    • VAULT

      public static final ContextType VAULT
      Mappings:
      Namespace Name Mixin selector
      named VAULT Lnet/minecraft/loot/context/LootContextTypes;VAULT:Lnet/minecraft/util/context/ContextType;
      intermediary field_48928 Lnet/minecraft/class_173;field_48928:Lnet/minecraft/class_176;
      official l Lezh;l:Lbbo;
    • ADVANCEMENT_REWARD

      public static final ContextType ADVANCEMENT_REWARD
      Mappings:
      Namespace Name Mixin selector
      named ADVANCEMENT_REWARD Lnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_REWARD:Lnet/minecraft/util/context/ContextType;
      intermediary field_1174 Lnet/minecraft/class_173;field_1174:Lnet/minecraft/class_176;
      official m Lezh;m:Lbbo;
    • ADVANCEMENT_ENTITY

      public static final ContextType ADVANCEMENT_ENTITY
      Mappings:
      Namespace Name Mixin selector
      named ADVANCEMENT_ENTITY Lnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_ENTITY:Lnet/minecraft/util/context/ContextType;
      intermediary field_24423 Lnet/minecraft/class_173;field_24423:Lnet/minecraft/class_176;
      official n Lezh;n:Lbbo;
    • ADVANCEMENT_LOCATION

      public static final ContextType ADVANCEMENT_LOCATION
      Mappings:
      Namespace Name Mixin selector
      named ADVANCEMENT_LOCATION Lnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_LOCATION:Lnet/minecraft/util/context/ContextType;
      intermediary field_44788 Lnet/minecraft/class_173;field_44788:Lnet/minecraft/class_176;
      official o Lezh;o:Lbbo;
    • BLOCK_USE

      public static final ContextType BLOCK_USE
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_USE Lnet/minecraft/loot/context/LootContextTypes;BLOCK_USE:Lnet/minecraft/util/context/ContextType;
      intermediary field_48381 Lnet/minecraft/class_173;field_48381:Lnet/minecraft/class_176;
      official p Lezh;p:Lbbo;
    • GENERIC

      public static final ContextType GENERIC
      Mappings:
      Namespace Name Mixin selector
      named GENERIC Lnet/minecraft/loot/context/LootContextTypes;GENERIC:Lnet/minecraft/util/context/ContextType;
      intermediary field_1177 Lnet/minecraft/class_173;field_1177:Lnet/minecraft/class_176;
      official q Lezh;q:Lbbo;
    • BLOCK

      public static final ContextType BLOCK
      Mappings:
      Namespace Name Mixin selector
      named BLOCK Lnet/minecraft/loot/context/LootContextTypes;BLOCK:Lnet/minecraft/util/context/ContextType;
      intermediary field_1172 Lnet/minecraft/class_173;field_1172:Lnet/minecraft/class_176;
      official r Lezh;r:Lbbo;
    • SHEARING

      public static final ContextType SHEARING
      Mappings:
      Namespace Name Mixin selector
      named SHEARING Lnet/minecraft/loot/context/LootContextTypes;SHEARING:Lnet/minecraft/util/context/ContextType;
      intermediary field_49446 Lnet/minecraft/class_173;field_49446:Lnet/minecraft/class_176;
      official s Lezh;s:Lbbo;
    • ENCHANTED_DAMAGE

      public static final ContextType ENCHANTED_DAMAGE
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_DAMAGE Lnet/minecraft/loot/context/LootContextTypes;ENCHANTED_DAMAGE:Lnet/minecraft/util/context/ContextType;
      intermediary field_51801 Lnet/minecraft/class_173;field_51801:Lnet/minecraft/class_176;
      official t Lezh;t:Lbbo;
    • ENCHANTED_ITEM

      public static final ContextType ENCHANTED_ITEM
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_ITEM Lnet/minecraft/loot/context/LootContextTypes;ENCHANTED_ITEM:Lnet/minecraft/util/context/ContextType;
      intermediary field_51802 Lnet/minecraft/class_173;field_51802:Lnet/minecraft/class_176;
      official u Lezh;u:Lbbo;
    • ENCHANTED_LOCATION

      public static final ContextType ENCHANTED_LOCATION
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_LOCATION Lnet/minecraft/loot/context/LootContextTypes;ENCHANTED_LOCATION:Lnet/minecraft/util/context/ContextType;
      intermediary field_51803 Lnet/minecraft/class_173;field_51803:Lnet/minecraft/class_176;
      official v Lezh;v:Lbbo;
    • ENCHANTED_ENTITY

      public static final ContextType ENCHANTED_ENTITY
      Mappings:
      Namespace Name Mixin selector
      named ENCHANTED_ENTITY Lnet/minecraft/loot/context/LootContextTypes;ENCHANTED_ENTITY:Lnet/minecraft/util/context/ContextType;
      intermediary field_51804 Lnet/minecraft/class_173;field_51804:Lnet/minecraft/class_176;
      official w Lezh;w:Lbbo;
    • HIT_BLOCK

      public static final ContextType HIT_BLOCK
      Mappings:
      Namespace Name Mixin selector
      named HIT_BLOCK Lnet/minecraft/loot/context/LootContextTypes;HIT_BLOCK:Lnet/minecraft/util/context/ContextType;
      intermediary field_52067 Lnet/minecraft/class_173;field_52067:Lnet/minecraft/class_176;
      official x Lezh;x:Lbbo;
  • Constructor Details

    • LootContextTypes

      public LootContextTypes()
  • Method Details

    • register

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