Uses of Class
net.minecraft.util.context.ContextKeySet
Packages that use ContextKeySet
Package
Description
-
Uses of ContextKeySet in net.minecraft.data.loot
Fields in net.minecraft.data.loot declared as ContextKeySetModifier and TypeFieldDescriptionprivate final ContextKeySetLootTableProvider.SubProviderEntry.paramSetThe field for theparamSetrecord component.Methods in net.minecraft.data.loot that return ContextKeySetModifier and TypeMethodDescriptionLootTableProvider.SubProviderEntry.paramSet()Returns the value of theparamSetrecord component.Constructors in net.minecraft.data.loot with parameters of type ContextKeySetModifierConstructorDescriptionSubProviderEntry(Function<HolderLookup.Provider, LootTableSubProvider> provider, ContextKeySet paramSet) Creates an instance of aSubProviderEntryrecord class. -
Uses of ContextKeySet in net.minecraft.util.context
Fields in net.minecraft.util.context declared as ContextKeySetMethods in net.minecraft.util.context that return ContextKeySetMethods in net.minecraft.util.context with parameters of type ContextKeySet -
Uses of ContextKeySet in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display declared as ContextKeySet -
Uses of ContextKeySet in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type ContextKeySetModifier and TypeMethodDescriptionprivate static <T extends Validatable>
com.mojang.serialization.Codec<List<T>> EnchantmentEffectComponents.validatedListCodec(com.mojang.serialization.Codec<T> elementCodec, ContextKeySet paramSet) -
Uses of ContextKeySet in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as ContextKeySetModifier and TypeFieldDescriptionprivate final ContextKeySetValidationContext.contextKeySetstatic final ContextKeySetLootTable.DEFAULT_PARAM_SETprivate ContextKeySetLootTable.Builder.paramSetprivate final ContextKeySetLootTable.paramSetMethods in net.minecraft.world.level.storage.loot that return ContextKeySetMethods in net.minecraft.world.level.storage.loot with parameters of type ContextKeySetModifier and TypeMethodDescriptionstatic <T> LootDataType.ContextGetter<T> LootDataType.ContextGetter.constant(ContextKeySet v) ValidationContextSource.context(ContextKeySet params) LootParams.Builder.create(ContextKeySet contextKeySet) static <T extends Validatable>
Function<List<T>, com.mojang.serialization.DataResult<List<T>>> Validatable.listValidatorForContext(ContextKeySet params) LootTable.Builder.setParamSet(ContextKeySet paramSet) static <T extends Validatable>
Function<T, com.mojang.serialization.DataResult<T>> Validatable.validatorForContext(ContextKeySet params) Constructors in net.minecraft.world.level.storage.loot with parameters of type ContextKeySetModifierConstructorDescriptionprivateLootTable(ContextKeySet paramSet, Optional<Identifier> randomSequence, List<LootPool> pools, List<LootItemFunction> functions) ValidationContext(ProblemReporter reporter, ContextKeySet contextKeySet) privateValidationContext(ProblemReporter reporter, ContextKeySet contextKeySet, Optional<HolderGetter.Provider> resolver, Set<ResourceKey<?>> visitedElements) ValidationContext(ProblemReporter reporter, ContextKeySet contextKeySet, HolderGetter.Provider resolver) -
Uses of ContextKeySet in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters declared as ContextKeySetModifier and TypeFieldDescriptionstatic final ContextKeySetLootContextParamSets.ADVANCEMENT_ENTITYstatic final ContextKeySetLootContextParamSets.ADVANCEMENT_LOCATIONstatic final ContextKeySetLootContextParamSets.ADVANCEMENT_REWARDstatic final ContextKeySetLootContextParamSets.ALL_PARAMSstatic final ContextKeySetLootContextParamSets.ARCHAEOLOGYstatic final ContextKeySetLootContextParamSets.BLOCKstatic final ContextKeySetLootContextParamSets.BLOCK_INTERACTstatic final ContextKeySetLootContextParamSets.BLOCK_USEstatic final ContextKeySetLootContextParamSets.CHESTstatic final ContextKeySetLootContextParamSets.COMMANDstatic final ContextKeySetLootContextParamSets.EMPTYstatic final ContextKeySetLootContextParamSets.ENCHANTED_DAMAGEstatic final ContextKeySetLootContextParamSets.ENCHANTED_ENTITYstatic final ContextKeySetLootContextParamSets.ENCHANTED_ITEMstatic final ContextKeySetLootContextParamSets.ENCHANTED_LOCATIONstatic final ContextKeySetLootContextParamSets.ENTITYstatic final ContextKeySetLootContextParamSets.ENTITY_INTERACTstatic final ContextKeySetLootContextParamSets.EQUIPMENTstatic final ContextKeySetLootContextParamSets.FISHINGstatic final ContextKeySetLootContextParamSets.GIFTstatic final ContextKeySetLootContextParamSets.HIT_BLOCKstatic final ContextKeySetLootContextParamSets.PIGLIN_BARTERstatic final ContextKeySetLootContextParamSets.SELECTORstatic final ContextKeySetLootContextParamSets.SHEARINGstatic final ContextKeySetLootContextParamSets.VAULTstatic final ContextKeySetLootContextParamSets.VILLAGER_TRADEFields in net.minecraft.world.level.storage.loot.parameters with type parameters of type ContextKeySetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ContextKeySet> LootContextParamSets.CODECprivate static final BiMap<Identifier, ContextKeySet> LootContextParamSets.REGISTRYMethods in net.minecraft.world.level.storage.loot.parameters that return ContextKeySetModifier and TypeMethodDescriptionprivate static ContextKeySetLootContextParamSets.register(String name, Consumer<ContextKeySet.Builder> consumer)