net.minecraft.loot.context

public class LootContextTypes

net.minecraft.world.level.storage.loot.parameters.LootContextParamSets
net.minecraft.world.level.storage.loot.parameters.LootContextParamSets
net.minecraft.class_173
net.minecraft.loot.context.LootContextTypes

Field summary

Modifier and TypeField
private static final com.google.common.collect.BiMap<Identifier, ContextType>
REGISTRY
REGISTRY
field_1178
MAP
public static final com.mojang.serialization.Codec<ContextType>
CODEC
CODEC
field_45856
CODEC
public static final ContextType
EMPTY
EMPTY
field_1175
EMPTY
public static final ContextType
CHEST
CHEST
field_1179
CHEST
public static final ContextType
COMMAND
COMMAND
field_20761
COMMAND
public static final ContextType
SELECTOR
SELECTOR
field_20762
SELECTOR
public static final ContextType
VILLAGER_TRADE
VILLAGER_TRADE
field_1_814
VILLAGER_TRADE
public static final ContextType
FISHING
FISHING
field_1176
FISHING
public static final ContextType
ENTITY
ENTITY
field_1173
ENTITY
public static final ContextType
EQUIPMENT
EQUIPMENT
field_50217
EQUIPMENT
public static final ContextType
ARCHAEOLOGY
ARCHAEOLOGY
field_42858
ARCHAEOLOGY
public static final ContextType
GIFT
GIFT
field_16235
GIFT
public static final ContextType
PIGLIN_BARTER
PIGLIN_BARTER
field_22403
BARTER
public static final ContextType
VAULT
VAULT
field_48928
VAULT
public static final ContextType
ADVANCEMENT_REWARD
ADVANCEMENT_REWARD
field_1174
ADVANCEMENT_REWARD
public static final ContextType
ADVANCEMENT_ENTITY
ADVANCEMENT_ENTITY
field_24423
ADVANCEMENT_ENTITY
public static final ContextType
ADVANCEMENT_LOCATION
ADVANCEMENT_LOCATION
field_44788
ADVANCEMENT_LOCATION
public static final ContextType
BLOCK_USE
BLOCK_USE
field_48381
BLOCK_USE
public static final ContextType
ALL_PARAMS
ALL_PARAMS
field_1177
GENERIC
public static final ContextType
BLOCK
BLOCK
field_1172
BLOCK
public static final ContextType
SHEARING
SHEARING
field_49446
SHEARING
public static final ContextType
ENTITY_INTERACT
ENTITY_INTERACT
field_61497
ENTITY_INTERACT
public static final ContextType
BLOCK_INTERACT
BLOCK_INTERACT
field_61498
BLOCK_INTERACT
public static final ContextType
ENCHANTED_DAMAGE
ENCHANTED_DAMAGE
field_51801
ENCHANTED_DAMAGE
public static final ContextType
ENCHANTED_ITEM
ENCHANTED_ITEM
field_51802
ENCHANTED_ITEM
public static final ContextType
ENCHANTED_LOCATION
ENCHANTED_LOCATION
field_51803
ENCHANTED_LOCATION
public static final ContextType
ENCHANTED_ENTITY
ENCHANTED_ENTITY
field_51804
ENCHANTED_ENTITY
public static final ContextType
HIT_BLOCK
HIT_BLOCK
field_52067
HIT_BLOCK

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static ContextType
register(String name, Consumer<ContextKeySet$Builder> consumer)
register(String name, Consumer<ContextKeySet$Builder> consumer)
method_759(String arg0, Consumer<class_176$class_177> arg1)
register(String name, Consumer<ContextType$Builder> type)