Uses of Class
net.minecraft.util.context.ContextKey
Packages that use ContextKey
Package
Description
-
Uses of ContextKey in net.minecraft.util.context
Fields in net.minecraft.util.context with type parameters of type ContextKeyModifier and TypeFieldDescriptionprivate final Set<ContextKey<?>> ContextKeySet.allowedprivate final Set<ContextKey<?>> ContextKeySet.Builder.optionalprivate final Map<ContextKey<?>, Object> ContextMap.Builder.paramsprivate final Map<ContextKey<?>, Object> ContextMap.paramsprivate final Set<ContextKey<?>> ContextKeySet.Builder.requiredprivate final Set<ContextKey<?>> ContextKeySet.requiredMethods in net.minecraft.util.context that return ContextKeyMethods in net.minecraft.util.context that return types with arguments of type ContextKeyModifier and TypeMethodDescriptionSet<ContextKey<?>> ContextKeySet.allowed()Set<ContextKey<?>> ContextKeySet.required()Methods in net.minecraft.util.context with parameters of type ContextKeyModifier and TypeMethodDescription<T> TContextMap.getOptional(ContextKey<T> pKey) <T> TContextMap.Builder.getOptionalParameter(ContextKey<T> pKey) <T> TContextMap.getOrDefault(ContextKey<T> pKey, T pDefaultValue) <T> TContextMap.getOrThrow(ContextKey<T> pKey) <T> TContextMap.Builder.getParameter(ContextKey<T> pKey) booleanContextMap.has(ContextKey<?> pKey) ContextKeySet.Builder.optional(ContextKey<?> pKey) ContextKeySet.Builder.required(ContextKey<?> pKey) ContextMap.Builder.withOptionalParameter(ContextKey<T> pKey, T pValue) ContextMap.Builder.withParameter(ContextKey<T> pKey, T pValue) Constructor parameters in net.minecraft.util.context with type arguments of type ContextKeyModifierConstructorDescription(package private)ContextKeySet(Set<ContextKey<?>> pRequired, Set<ContextKey<?>> pAllowed) (package private)ContextMap(Map<ContextKey<?>, Object> pParams) -
Uses of ContextKey in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display declared as ContextKeyModifier and TypeFieldDescriptionstatic final ContextKey<FuelValues> SlotDisplayContext.FUEL_VALUESstatic final ContextKey<HolderLookup.Provider> SlotDisplayContext.REGISTRIES -
Uses of ContextKey in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as ContextKeyModifier and TypeFieldDescriptionprivate final ContextKey<? extends Entity> LootContext.EntityTarget.paramMethods in net.minecraft.world.level.storage.loot that return ContextKeyModifier and TypeMethodDescriptionContextKey<? extends Entity> LootContext.EntityTarget.getParam()Methods in net.minecraft.world.level.storage.loot that return types with arguments of type ContextKeyModifier and TypeMethodDescriptionSet<ContextKey<?>> IntRange.getReferencedContextParams()default Set<ContextKey<?>> LootContextUser.getReferencedContextParams()Methods in net.minecraft.world.level.storage.loot with parameters of type ContextKeyModifier and TypeMethodDescription<T> TLootContext.getOptionalParameter(ContextKey<T> pParameter) <T> TLootParams.Builder.getOptionalParameter(ContextKey<T> pParameter) <T> TLootContext.getParameter(ContextKey<T> pParameter) <T> TLootParams.Builder.getParameter(ContextKey<T> pParameter) booleanLootContext.hasParameter(ContextKey<?> pParameter) LootParams.Builder.withOptionalParameter(ContextKey<T> pParameter, T pValue) LootParams.Builder.withParameter(ContextKey<T> pParamater, T pValue) Constructors in net.minecraft.world.level.storage.loot with parameters of type ContextKeyModifierConstructorDescriptionprivateEntityTarget(String pName, ContextKey<? extends Entity> pParam) -
Uses of ContextKey in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as ContextKeyModifier and TypeFieldDescription(package private) final ContextKey<?> CopyNameFunction.NameSource.paramMethods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type ContextKeyModifier and TypeMethodDescriptionSet<ContextKey<?>> ApplyBonusCount.getReferencedContextParams()Set<ContextKey<?>> CopyBlockState.getReferencedContextParams()Set<ContextKey<?>> CopyComponentsFunction.getReferencedContextParams()Set<ContextKey<?>> CopyComponentsFunction.Source.getReferencedContextParams()Set<ContextKey<?>> CopyCustomDataFunction.getReferencedContextParams()Set<ContextKey<?>> CopyNameFunction.getReferencedContextParams()Set<ContextKey<?>> EnchantedCountIncreaseFunction.getReferencedContextParams()Set<ContextKey<?>> EnchantWithLevelsFunction.getReferencedContextParams()Set<ContextKey<?>> ExplorationMapFunction.getReferencedContextParams()Set<ContextKey<?>> FillPlayerHead.getReferencedContextParams()Set<ContextKey<?>> LimitCount.getReferencedContextParams()Set<ContextKey<?>> SetAttributesFunction.getReferencedContextParams()Set<ContextKey<?>> SetCustomModelDataFunction.getReferencedContextParams()Set<ContextKey<?>> SetEnchantmentsFunction.getReferencedContextParams()Set<ContextKey<?>> SetItemCountFunction.getReferencedContextParams()Set<ContextKey<?>> SetItemDamageFunction.getReferencedContextParams()Set<ContextKey<?>> SetLoreFunction.getReferencedContextParams()Set<ContextKey<?>> SetNameFunction.getReferencedContextParams()Set<ContextKey<?>> SetOminousBottleAmplifierFunction.getReferencedContextParams()Set<ContextKey<?>> SetStewEffectFunction.getReferencedContextParams()Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type ContextKey -
Uses of ContextKey in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters declared as ContextKeyModifier and TypeFieldDescriptionstatic final ContextKey<Entity> LootContextParams.ATTACKING_ENTITYstatic final ContextKey<BlockEntity> LootContextParams.BLOCK_ENTITYstatic final ContextKey<BlockState> LootContextParams.BLOCK_STATEstatic final ContextKey<DamageSource> LootContextParams.DAMAGE_SOURCEstatic final ContextKey<Entity> LootContextParams.DIRECT_ATTACKING_ENTITYstatic final ContextKey<Boolean> LootContextParams.ENCHANTMENT_ACTIVEstatic final ContextKey<Integer> LootContextParams.ENCHANTMENT_LEVELstatic final ContextKey<Float> LootContextParams.EXPLOSION_RADIUSstatic final ContextKey<Player> LootContextParams.LAST_DAMAGE_PLAYERstatic final ContextKey<Vec3> LootContextParams.ORIGINstatic final ContextKey<Entity> LootContextParams.THIS_ENTITYstatic final ContextKey<ItemStack> LootContextParams.TOOL -
Uses of ContextKey in net.minecraft.world.level.storage.loot.predicates
Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type ContextKeyModifier and TypeMethodDescriptionSet<ContextKey<?>> BonusLevelTableCondition.getReferencedContextParams()Set<ContextKey<?>> DamageSourceCondition.getReferencedContextParams()Set<ContextKey<?>> EnchantmentActiveCheck.getReferencedContextParams()Set<ContextKey<?>> EntityHasScoreCondition.getReferencedContextParams()Set<ContextKey<?>> ExplosionCondition.getReferencedContextParams()Set<ContextKey<?>> InvertedLootItemCondition.getReferencedContextParams()Set<ContextKey<?>> LocationCheck.getReferencedContextParams()Set<ContextKey<?>> LootItemBlockStatePropertyCondition.getReferencedContextParams()Set<ContextKey<?>> LootItemEntityPropertyCondition.getReferencedContextParams()Set<ContextKey<?>> LootItemKilledByPlayerCondition.getReferencedContextParams()Set<ContextKey<?>> LootItemRandomChanceWithEnchantedBonusCondition.getReferencedContextParams()Set<ContextKey<?>> MatchTool.getReferencedContextParams()Set<ContextKey<?>> TimeCheck.getReferencedContextParams()Set<ContextKey<?>> ValueCheckCondition.getReferencedContextParams() -
Uses of ContextKey in net.minecraft.world.level.storage.loot.providers.nbt
Methods in net.minecraft.world.level.storage.loot.providers.nbt that return types with arguments of type ContextKeyModifier and TypeMethodDescriptionSet<ContextKey<?>> ContextNbtProvider.getReferencedContextParams()Set<ContextKey<?>> ContextNbtProvider.Getter.getReferencedContextParams()Set<ContextKey<?>> NbtProvider.getReferencedContextParams()Set<ContextKey<?>> StorageNbtProvider.getReferencedContextParams() -
Uses of ContextKey in net.minecraft.world.level.storage.loot.providers.number
Methods in net.minecraft.world.level.storage.loot.providers.number that return types with arguments of type ContextKeyModifier and TypeMethodDescriptionSet<ContextKey<?>> BinomialDistributionGenerator.getReferencedContextParams()Set<ContextKey<?>> ScoreboardValue.getReferencedContextParams()Set<ContextKey<?>> UniformGenerator.getReferencedContextParams() -
Uses of ContextKey in net.minecraft.world.level.storage.loot.providers.score
Methods in net.minecraft.world.level.storage.loot.providers.score that return types with arguments of type ContextKeyModifier and TypeMethodDescriptionSet<ContextKey<?>> ContextScoreboardNameProvider.getReferencedContextParams()Set<ContextKey<?>> FixedScoreboardNameProvider.getReferencedContextParams()Set<ContextKey<?>> ScoreboardNameProvider.getReferencedContextParams() -
Uses of ContextKey in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type ContextKeyModifier and TypeMethodDescription<T> TIRenderStateExtension.getRenderData(ContextKey<T> key) Gets the object associated with the given key.default <T> TIRenderStateExtension.getRenderDataOrDefault(ContextKey<T> key, T defaultVal) Gets the value or returns the default object if an object is not presentdefault <T> TIRenderStateExtension.getRenderDataOrThrow(ContextKey<T> key) Gets the value or throws an exception.<T> voidIRenderStateExtension.setRenderData(ContextKey<T> key, T data) Sets the object associated with the given key. -
Uses of ContextKey in net.neoforged.neoforge.client.model
Fields in net.neoforged.neoforge.client.model declared as ContextKeyModifier and TypeFieldDescriptionstatic final ContextKey<Map<String, Boolean>> NeoForgeModelProperties.PART_VISIBILITYPart visibilities.static final ContextKey<RenderTypeGroup> NeoForgeModelProperties.RENDER_TYPERender type to use.static final ContextKey<Transformation> NeoForgeModelProperties.TRANSFORMRoot transform. -
Uses of ContextKey in net.neoforged.neoforge.client.renderstate
Fields in net.neoforged.neoforge.client.renderstate with type parameters of type ContextKeyModifier and TypeFieldDescriptionprotected final Map<ContextKey<?>, Object> BaseRenderState.extensionsMethods in net.neoforged.neoforge.client.renderstate with parameters of type ContextKeyModifier and TypeMethodDescription<T> TBaseRenderState.getRenderData(ContextKey<T> key) <T> voidBaseRenderState.setRenderData(ContextKey<T> key, T data) -
Uses of ContextKey in net.neoforged.neoforge.common.loot
Methods in net.neoforged.neoforge.common.loot that return types with arguments of type ContextKeyModifier and TypeMethodDescriptionSet<ContextKey<?>> CanItemPerformAbility.getReferencedContextParams()