Package net.minecraft.loot.context
Class LootContextTypes
java.lang.Object
net.minecraft.loot.context.LootContextTypes
public class LootContextTypes extends Object
-
Field Summary
Fields Modifier and Type Field Description static LootContextTypeADVANCEMENT_ENTITYstatic LootContextTypeADVANCEMENT_REWARDstatic LootContextTypeBARTERstatic LootContextTypeBLOCKstatic LootContextTypeCHESTstatic LootContextTypeCOMMANDstatic LootContextTypeEMPTYstatic LootContextTypeENTITYstatic LootContextTypeFISHINGstatic LootContextTypeGENERICstatic LootContextTypeGIFTprivate static BiMap<Identifier,LootContextType>MAPstatic LootContextTypeSELECTOR -
Constructor Summary
Constructors Constructor Description LootContextTypes() -
Method Summary
Modifier and Type Method Description static LootContextTypeget(Identifier id)static IdentifiergetId(LootContextType type)private static LootContextTyperegister(String name, Consumer<LootContextType.Builder> type)
-
Field Details
-
MAP
-
EMPTY
-
CHEST
-
COMMAND
-
SELECTOR
-
FISHING
-
ENTITY
-
GIFT
-
BARTER
-
ADVANCEMENT_REWARD
-
ADVANCEMENT_ENTITY
-
GENERIC
-
BLOCK
-
-
Constructor Details
-
LootContextTypes
public LootContextTypes()
-
-
Method Details
-
register
-
get
-
getId
-