Package net.minecraft.loot.context
Class LootContextTypes
java.lang.Object
net.minecraft.loot.context.LootContextTypes
- Mappings:
Namespace Name official engintermediary net/minecraft/class_173named net/minecraft/loot/context/LootContextTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LootContextTypestatic final LootContextTypestatic final LootContextTypestatic final LootContextTypestatic final LootContextTypestatic final LootContextTypestatic final LootContextTypestatic final LootContextTypestatic final com.mojang.serialization.Codec<LootContextType> static final LootContextTypestatic final LootContextTypestatic final LootContextTypestatic final LootContextTypestatic final LootContextTypestatic final LootContextTypeprivate static final BiMap<Identifier, LootContextType> static final LootContextTypestatic final LootContextType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static LootContextTyperegister(String name, Consumer<LootContextType.Builder> type)
-
Field Details
-
MAP
- Mappings:
Namespace Name Mixin selector official rLeng;r:Lcom/google/common/collect/BiMap;intermediary field_1178Lnet/minecraft/class_173;field_1178:Lcom/google/common/collect/BiMap;named MAPLnet/minecraft/loot/context/LootContextTypes;MAP:Lcom/google/common/collect/BiMap;
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLeng;a:Lcom/mojang/serialization/Codec;intermediary field_45856Lnet/minecraft/class_173;field_45856:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/loot/context/LootContextTypes;CODEC:Lcom/mojang/serialization/Codec;
-
EMPTY
- Mappings:
Namespace Name Mixin selector official bLeng;b:Lenf;intermediary field_1175Lnet/minecraft/class_173;field_1175:Lnet/minecraft/class_176;named EMPTYLnet/minecraft/loot/context/LootContextTypes;EMPTY:Lnet/minecraft/loot/context/LootContextType;
-
CHEST
- Mappings:
Namespace Name Mixin selector official cLeng;c:Lenf;intermediary field_1179Lnet/minecraft/class_173;field_1179:Lnet/minecraft/class_176;named CHESTLnet/minecraft/loot/context/LootContextTypes;CHEST:Lnet/minecraft/loot/context/LootContextType;
-
COMMAND
- Mappings:
Namespace Name Mixin selector official dLeng;d:Lenf;intermediary field_20761Lnet/minecraft/class_173;field_20761:Lnet/minecraft/class_176;named COMMANDLnet/minecraft/loot/context/LootContextTypes;COMMAND:Lnet/minecraft/loot/context/LootContextType;
-
SELECTOR
- Mappings:
Namespace Name Mixin selector official eLeng;e:Lenf;intermediary field_20762Lnet/minecraft/class_173;field_20762:Lnet/minecraft/class_176;named SELECTORLnet/minecraft/loot/context/LootContextTypes;SELECTOR:Lnet/minecraft/loot/context/LootContextType;
-
FISHING
- Mappings:
Namespace Name Mixin selector official fLeng;f:Lenf;intermediary field_1176Lnet/minecraft/class_173;field_1176:Lnet/minecraft/class_176;named FISHINGLnet/minecraft/loot/context/LootContextTypes;FISHING:Lnet/minecraft/loot/context/LootContextType;
-
ENTITY
- Mappings:
Namespace Name Mixin selector official gLeng;g:Lenf;intermediary field_1173Lnet/minecraft/class_173;field_1173:Lnet/minecraft/class_176;named ENTITYLnet/minecraft/loot/context/LootContextTypes;ENTITY:Lnet/minecraft/loot/context/LootContextType;
-
ARCHAEOLOGY
- Mappings:
Namespace Name Mixin selector official hLeng;h:Lenf;intermediary field_42858Lnet/minecraft/class_173;field_42858:Lnet/minecraft/class_176;named ARCHAEOLOGYLnet/minecraft/loot/context/LootContextTypes;ARCHAEOLOGY:Lnet/minecraft/loot/context/LootContextType;
-
GIFT
- Mappings:
Namespace Name Mixin selector official iLeng;i:Lenf;intermediary field_16235Lnet/minecraft/class_173;field_16235:Lnet/minecraft/class_176;named GIFTLnet/minecraft/loot/context/LootContextTypes;GIFT:Lnet/minecraft/loot/context/LootContextType;
-
BARTER
- Mappings:
Namespace Name Mixin selector official jLeng;j:Lenf;intermediary field_22403Lnet/minecraft/class_173;field_22403:Lnet/minecraft/class_176;named BARTERLnet/minecraft/loot/context/LootContextTypes;BARTER:Lnet/minecraft/loot/context/LootContextType;
-
VAULT
- Mappings:
Namespace Name Mixin selector official kLeng;k:Lenf;intermediary field_48928Lnet/minecraft/class_173;field_48928:Lnet/minecraft/class_176;named VAULTLnet/minecraft/loot/context/LootContextTypes;VAULT:Lnet/minecraft/loot/context/LootContextType;
-
ADVANCEMENT_REWARD
- Mappings:
Namespace Name Mixin selector official lLeng;l:Lenf;intermediary field_1174Lnet/minecraft/class_173;field_1174:Lnet/minecraft/class_176;named ADVANCEMENT_REWARDLnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_REWARD:Lnet/minecraft/loot/context/LootContextType;
-
ADVANCEMENT_ENTITY
- Mappings:
Namespace Name Mixin selector official mLeng;m:Lenf;intermediary field_24423Lnet/minecraft/class_173;field_24423:Lnet/minecraft/class_176;named ADVANCEMENT_ENTITYLnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_ENTITY:Lnet/minecraft/loot/context/LootContextType;
-
ADVANCEMENT_LOCATION
- Mappings:
Namespace Name Mixin selector official nLeng;n:Lenf;intermediary field_44788Lnet/minecraft/class_173;field_44788:Lnet/minecraft/class_176;named ADVANCEMENT_LOCATIONLnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_LOCATION:Lnet/minecraft/loot/context/LootContextType;
-
BLOCK_USE
- Mappings:
Namespace Name Mixin selector official oLeng;o:Lenf;intermediary field_48381Lnet/minecraft/class_173;field_48381:Lnet/minecraft/class_176;named BLOCK_USELnet/minecraft/loot/context/LootContextTypes;BLOCK_USE:Lnet/minecraft/loot/context/LootContextType;
-
GENERIC
- Mappings:
Namespace Name Mixin selector official pLeng;p:Lenf;intermediary field_1177Lnet/minecraft/class_173;field_1177:Lnet/minecraft/class_176;named GENERICLnet/minecraft/loot/context/LootContextTypes;GENERIC:Lnet/minecraft/loot/context/LootContextType;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official qLeng;q:Lenf;intermediary field_1172Lnet/minecraft/class_173;field_1172:Lnet/minecraft/class_176;named BLOCKLnet/minecraft/loot/context/LootContextTypes;BLOCK:Lnet/minecraft/loot/context/LootContextType;
-
-
Constructor Details
-
LootContextTypes
public LootContextTypes()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official aLeng;a(Ljava/lang/String;Ljava/util/function/Consumer;)Lenf;intermediary method_759Lnet/minecraft/class_173;method_759(Ljava/lang/String;Ljava/util/function/Consumer;)Lnet/minecraft/class_176;named registerLnet/minecraft/loot/context/LootContextTypes;register(Ljava/lang/String;Ljava/util/function/Consumer;)Lnet/minecraft/loot/context/LootContextType;
-