Package net.minecraft.loot.context
Class LootContextTypes
java.lang.Object
net.minecraft.loot.context.LootContextTypes
public class LootContextTypes extends Object
- Mappings:
Namespace Name official dgn
intermediary net/minecraft/class_173
named net/minecraft/loot/context/LootContextTypes
-
Field Summary
Fields Modifier and Type Field Description static LootContextType
ADVANCEMENT_ENTITY
static LootContextType
ADVANCEMENT_REWARD
static LootContextType
BARTER
static LootContextType
BLOCK
static LootContextType
CHEST
static LootContextType
COMMAND
static LootContextType
EMPTY
static LootContextType
ENTITY
static LootContextType
FISHING
static LootContextType
GENERIC
static LootContextType
GIFT
private static BiMap<Identifier,LootContextType>
MAP
static LootContextType
SELECTOR
-
Constructor Summary
Constructors Constructor Description LootContextTypes()
-
Method Summary
Modifier and Type Method Description static LootContextType
get(Identifier id)
static Identifier
getId(LootContextType type)
private static LootContextType
register(String name, Consumer<LootContextType.Builder> type)
-
Field Details
-
MAP
- Mappings:
Namespace Name Mixin selector official m
Ldgn;m:Lcom/google/common/collect/BiMap;
intermediary field_1178
Lnet/minecraft/class_173;field_1178:Lcom/google/common/collect/BiMap;
named MAP
Lnet/minecraft/loot/context/LootContextTypes;MAP:Lcom/google/common/collect/BiMap;
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Ldgn;a:Ldgm;
intermediary field_1175
Lnet/minecraft/class_173;field_1175:Lnet/minecraft/class_176;
named EMPTY
Lnet/minecraft/loot/context/LootContextTypes;EMPTY:Lnet/minecraft/loot/context/LootContextType;
-
CHEST
- Mappings:
Namespace Name Mixin selector official b
Ldgn;b:Ldgm;
intermediary field_1179
Lnet/minecraft/class_173;field_1179:Lnet/minecraft/class_176;
named CHEST
Lnet/minecraft/loot/context/LootContextTypes;CHEST:Lnet/minecraft/loot/context/LootContextType;
-
COMMAND
- Mappings:
Namespace Name Mixin selector official c
Ldgn;c:Ldgm;
intermediary field_20761
Lnet/minecraft/class_173;field_20761:Lnet/minecraft/class_176;
named COMMAND
Lnet/minecraft/loot/context/LootContextTypes;COMMAND:Lnet/minecraft/loot/context/LootContextType;
-
SELECTOR
- Mappings:
Namespace Name Mixin selector official d
Ldgn;d:Ldgm;
intermediary field_20762
Lnet/minecraft/class_173;field_20762:Lnet/minecraft/class_176;
named SELECTOR
Lnet/minecraft/loot/context/LootContextTypes;SELECTOR:Lnet/minecraft/loot/context/LootContextType;
-
FISHING
- Mappings:
Namespace Name Mixin selector official e
Ldgn;e:Ldgm;
intermediary field_1176
Lnet/minecraft/class_173;field_1176:Lnet/minecraft/class_176;
named FISHING
Lnet/minecraft/loot/context/LootContextTypes;FISHING:Lnet/minecraft/loot/context/LootContextType;
-
ENTITY
- Mappings:
Namespace Name Mixin selector official f
Ldgn;f:Ldgm;
intermediary field_1173
Lnet/minecraft/class_173;field_1173:Lnet/minecraft/class_176;
named ENTITY
Lnet/minecraft/loot/context/LootContextTypes;ENTITY:Lnet/minecraft/loot/context/LootContextType;
-
GIFT
- Mappings:
Namespace Name Mixin selector official g
Ldgn;g:Ldgm;
intermediary field_16235
Lnet/minecraft/class_173;field_16235:Lnet/minecraft/class_176;
named GIFT
Lnet/minecraft/loot/context/LootContextTypes;GIFT:Lnet/minecraft/loot/context/LootContextType;
-
BARTER
- Mappings:
Namespace Name Mixin selector official h
Ldgn;h:Ldgm;
intermediary field_22403
Lnet/minecraft/class_173;field_22403:Lnet/minecraft/class_176;
named BARTER
Lnet/minecraft/loot/context/LootContextTypes;BARTER:Lnet/minecraft/loot/context/LootContextType;
-
ADVANCEMENT_REWARD
- Mappings:
Namespace Name Mixin selector official i
Ldgn;i:Ldgm;
intermediary field_1174
Lnet/minecraft/class_173;field_1174:Lnet/minecraft/class_176;
named ADVANCEMENT_REWARD
Lnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_REWARD:Lnet/minecraft/loot/context/LootContextType;
-
ADVANCEMENT_ENTITY
- Mappings:
Namespace Name Mixin selector official j
Ldgn;j:Ldgm;
intermediary field_24423
Lnet/minecraft/class_173;field_24423:Lnet/minecraft/class_176;
named ADVANCEMENT_ENTITY
Lnet/minecraft/loot/context/LootContextTypes;ADVANCEMENT_ENTITY:Lnet/minecraft/loot/context/LootContextType;
-
GENERIC
- Mappings:
Namespace Name Mixin selector official k
Ldgn;k:Ldgm;
intermediary field_1177
Lnet/minecraft/class_173;field_1177:Lnet/minecraft/class_176;
named GENERIC
Lnet/minecraft/loot/context/LootContextTypes;GENERIC:Lnet/minecraft/loot/context/LootContextType;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official l
Ldgn;l:Ldgm;
intermediary field_1172
Lnet/minecraft/class_173;field_1172:Lnet/minecraft/class_176;
named BLOCK
Lnet/minecraft/loot/context/LootContextTypes;BLOCK:Lnet/minecraft/loot/context/LootContextType;
-
-
Constructor Details
-
LootContextTypes
public LootContextTypes()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Ldgn;a(Ljava/lang/String;Ljava/util/function/Consumer;)Ldgm;
intermediary method_759
Lnet/minecraft/class_173;method_759(Ljava/lang/String;Ljava/util/function/Consumer;)Lnet/minecraft/class_176;
named register
Lnet/minecraft/loot/context/LootContextTypes;register(Ljava/lang/String;Ljava/util/function/Consumer;)Lnet/minecraft/loot/context/LootContextType;
-
get
- Mappings:
Namespace Name Mixin selector official a
Ldgn;a(Lwb;)Ldgm;
intermediary method_757
Lnet/minecraft/class_173;method_757(Lnet/minecraft/class_2960;)Lnet/minecraft/class_176;
named get
Lnet/minecraft/loot/context/LootContextTypes;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/context/LootContextType;
-
getId
- Mappings:
Namespace Name Mixin selector official a
Ldgn;a(Ldgm;)Lwb;
intermediary method_762
Lnet/minecraft/class_173;method_762(Lnet/minecraft/class_176;)Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/loot/context/LootContextTypes;getId(Lnet/minecraft/loot/context/LootContextType;)Lnet/minecraft/util/Identifier;
-