Uses of Class
net.minecraft.util.context.ContextType
Packages that use ContextType
Package
Description
-
Uses of ContextType in net.minecraft.data.loottable
Fields in net.minecraft.data.loottable declared as ContextTypeModifier and TypeFieldDescriptionprivate final ContextType
LootTableProvider.LootTypeGenerator.paramSet
The field for theparamSet
record component.Methods in net.minecraft.data.loottable that return ContextTypeModifier and TypeMethodDescriptionLootTableProvider.LootTypeGenerator.paramSet()
Returns the value of theparamSet
record component.Constructors in net.minecraft.data.loottable with parameters of type ContextTypeModifierConstructorDescriptionLootTypeGenerator
(Function<RegistryWrapper.WrapperLookup, LootTableGenerator> function, ContextType contextType) -
Uses of ContextType in net.minecraft.enchantment.effect
Methods in net.minecraft.enchantment.effect with parameters of type ContextTypeModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<EnchantmentEffectEntry<T>> EnchantmentEffectEntry.createCodec
(com.mojang.serialization.Codec<T> effectCodec, ContextType lootContextType) static <S> com.mojang.serialization.Codec
<TargetedEnchantmentEffect<S>> TargetedEnchantmentEffect.createEquipmentDropsCodec
(com.mojang.serialization.Codec<S> effectCodec, ContextType lootContextType) static <S> com.mojang.serialization.Codec
<TargetedEnchantmentEffect<S>> TargetedEnchantmentEffect.createPostAttackCodec
(com.mojang.serialization.Codec<S> effectCodec, ContextType lootContextType) static com.mojang.serialization.Codec
<LootCondition> EnchantmentEffectEntry.createRequirementsCodec
(ContextType lootContextType) -
Uses of ContextType in net.minecraft.loot
Fields in net.minecraft.loot declared as ContextTypeModifier and TypeFieldDescriptionprivate final ContextType
LootTableReporter.contextType
static final ContextType
LootTable.GENERIC
private ContextType
LootTable.Builder.type
private final ContextType
LootTable.type
Methods in net.minecraft.loot that return ContextTypeMethods in net.minecraft.loot with parameters of type ContextTypeModifier and TypeMethodDescriptionLootTable.Builder.type
(ContextType type) LootTableReporter.withContextType
(ContextType contextType) Constructors in net.minecraft.loot with parameters of type ContextTypeModifierConstructorDescription(package private)
LootTable
(ContextType type, Optional<Identifier> randomSequenceId, List<LootPool> pools, List<LootFunction> functions) LootTableReporter
(ErrorReporter errorReporter, ContextType contextType) private
LootTableReporter
(ErrorReporter errorReporter, ContextType contextType, Optional<RegistryEntryLookup.RegistryLookup> dataLookup, Set<RegistryKey<?>> referenceStack) LootTableReporter
(ErrorReporter errorReporter, ContextType contextType, RegistryEntryLookup.RegistryLookup dataLookup) -
Uses of ContextType in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as ContextTypeModifier and TypeFieldDescriptionstatic final ContextType
LootContextTypes.ADVANCEMENT_ENTITY
static final ContextType
LootContextTypes.ADVANCEMENT_LOCATION
static final ContextType
LootContextTypes.ADVANCEMENT_REWARD
static final ContextType
LootContextTypes.ARCHAEOLOGY
static final ContextType
LootContextTypes.BARTER
static final ContextType
LootContextTypes.BLOCK
static final ContextType
LootContextTypes.BLOCK_USE
static final ContextType
LootContextTypes.CHEST
static final ContextType
LootContextTypes.COMMAND
static final ContextType
LootContextTypes.EMPTY
static final ContextType
LootContextTypes.ENCHANTED_DAMAGE
static final ContextType
LootContextTypes.ENCHANTED_ENTITY
static final ContextType
LootContextTypes.ENCHANTED_ITEM
static final ContextType
LootContextTypes.ENCHANTED_LOCATION
static final ContextType
LootContextTypes.ENTITY
static final ContextType
LootContextTypes.EQUIPMENT
static final ContextType
LootContextTypes.FISHING
static final ContextType
LootContextTypes.GENERIC
static final ContextType
LootContextTypes.GIFT
static final ContextType
LootContextTypes.HIT_BLOCK
static final ContextType
LootContextTypes.SELECTOR
static final ContextType
LootContextTypes.SHEARING
static final ContextType
LootContextTypes.VAULT
Fields in net.minecraft.loot.context with type parameters of type ContextTypeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ContextType> LootContextTypes.CODEC
private static final BiMap
<Identifier, ContextType> LootContextTypes.MAP
Methods in net.minecraft.loot.context that return ContextTypeModifier and TypeMethodDescriptionprivate static ContextType
LootContextTypes.register
(String name, Consumer<ContextType.Builder> type) Methods in net.minecraft.loot.context with parameters of type ContextType -
Uses of ContextType in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type ContextTypeModifier and TypeMethodDescriptionvoid
LootContextPredicateValidator.validate
(List<LootContextPredicate> predicates, ContextType type, String path) void
LootContextPredicateValidator.validate
(LootContextPredicate predicate, ContextType type, String path) -
Uses of ContextType in net.minecraft.recipe.display
Fields in net.minecraft.recipe.display declared as ContextType -
Uses of ContextType in net.minecraft.util.context
Methods in net.minecraft.util.context that return ContextTypeMethods in net.minecraft.util.context with parameters of type ContextType