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 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
-
EMPTY
-
CHEST
-
COMMAND
-
SELECTOR
-
FISHING
-
ENTITY
-
GIFT
-
BARTER
-
ADVANCEMENT_REWARD
-
ADVANCEMENT_ENTITY
-
GENERIC
-
BLOCK
-
-
Constructor Details
-
LootContextTypes
public LootContextTypes()
-
-
Method Details
-
register
-
get
-
getId
-