Uses of Class
net.minecraft.util.context.ContextParameter
Packages that use ContextParameter
Package
Description
-
Uses of ContextParameter in net.minecraft.loot.condition
Methods in net.minecraft.loot.condition that return types with arguments of type ContextParameterModifier and TypeMethodDescriptionSet<ContextParameter<?>> BlockStatePropertyLootCondition.getAllowedParameters()Set<ContextParameter<?>> DamageSourcePropertiesLootCondition.getAllowedParameters()Set<ContextParameter<?>> EnchantmentActiveCheckLootCondition.getAllowedParameters()Set<ContextParameter<?>> EntityPropertiesLootCondition.getAllowedParameters()Set<ContextParameter<?>> EntityScoresLootCondition.getAllowedParameters()Set<ContextParameter<?>> InvertedLootCondition.getAllowedParameters()Set<ContextParameter<?>> KilledByPlayerLootCondition.getAllowedParameters()Set<ContextParameter<?>> LocationCheckLootCondition.getAllowedParameters()Set<ContextParameter<?>> MatchToolLootCondition.getAllowedParameters()Set<ContextParameter<?>> RandomChanceWithEnchantedBonusLootCondition.getAllowedParameters()Set<ContextParameter<?>> SurvivesExplosionLootCondition.getAllowedParameters()Set<ContextParameter<?>> TableBonusLootCondition.getAllowedParameters()Set<ContextParameter<?>> TimeCheckLootCondition.getAllowedParameters()Set<ContextParameter<?>> ValueCheckLootCondition.getAllowedParameters() -
Uses of ContextParameter in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as ContextParameterModifier and TypeFieldDescriptionstatic final ContextParameter<Entity> LootContextParameters.ATTACKING_ENTITYstatic final ContextParameter<BlockEntity> LootContextParameters.BLOCK_ENTITYstatic final ContextParameter<BlockState> LootContextParameters.BLOCK_STATEstatic final ContextParameter<DamageSource> LootContextParameters.DAMAGE_SOURCEstatic final ContextParameter<Entity> LootContextParameters.DIRECT_ATTACKING_ENTITYstatic final ContextParameter<Boolean> LootContextParameters.ENCHANTMENT_ACTIVEstatic final ContextParameter<Integer> LootContextParameters.ENCHANTMENT_LEVELstatic final ContextParameter<Float> LootContextParameters.EXPLOSION_RADIUSstatic final ContextParameter<PlayerEntity> LootContextParameters.LAST_DAMAGE_PLAYERstatic final ContextParameter<Vec3d> LootContextParameters.ORIGINprivate final ContextParameter<? extends Entity> LootContext.EntityTarget.parameterstatic final ContextParameter<Entity> LootContextParameters.THIS_ENTITYstatic final ContextParameter<ItemStack> LootContextParameters.TOOLMethods in net.minecraft.loot.context that return ContextParameterModifier and TypeMethodDescriptionContextParameter<? extends Entity> LootContext.EntityTarget.getParameter()Methods in net.minecraft.loot.context that return types with arguments of type ContextParameterModifier and TypeMethodDescriptiondefault Set<ContextParameter<?>> LootContextAware.getAllowedParameters()Methods in net.minecraft.loot.context with parameters of type ContextParameterModifier and TypeMethodDescriptionLootWorldContext.Builder.add(ContextParameter<T> parameter, T value) LootWorldContext.Builder.addOptional(ContextParameter<T> parameter, T value) <T> TLootContext.get(ContextParameter<T> parameter) <T> TLootWorldContext.Builder.get(ContextParameter<T> parameter) <T> TLootWorldContext.Builder.getOptional(ContextParameter<T> parameter) <T> TLootContext.getOrThrow(ContextParameter<T> parameter) booleanLootContext.hasParameter(ContextParameter<?> parameter) Constructors in net.minecraft.loot.context with parameters of type ContextParameterModifierConstructorDescriptionprivateEntityTarget(String type, ContextParameter<? extends Entity> parameter) -
Uses of ContextParameter in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as ContextParameterModifier and TypeFieldDescription(package private) final ContextParameter<?> CopyNameLootFunction.Source.parameterMethods in net.minecraft.loot.function that return types with arguments of type ContextParameterModifier and TypeMethodDescriptionSet<ContextParameter<?>> ApplyBonusLootFunction.getAllowedParameters()Set<ContextParameter<?>> CopyComponentsLootFunction.getAllowedParameters()Set<ContextParameter<?>> CopyNameLootFunction.getAllowedParameters()Set<ContextParameter<?>> CopyNbtLootFunction.getAllowedParameters()Set<ContextParameter<?>> CopyStateLootFunction.getAllowedParameters()Set<ContextParameter<?>> EnchantedCountIncreaseLootFunction.getAllowedParameters()Set<ContextParameter<?>> EnchantWithLevelsLootFunction.getAllowedParameters()Set<ContextParameter<?>> ExplorationMapLootFunction.getAllowedParameters()Set<ContextParameter<?>> FillPlayerHeadLootFunction.getAllowedParameters()Set<ContextParameter<?>> LimitCountLootFunction.getAllowedParameters()Set<ContextParameter<?>> SetAttributesLootFunction.getAllowedParameters()Set<ContextParameter<?>> SetCountLootFunction.getAllowedParameters()Set<ContextParameter<?>> SetCustomModelDataLootFunction.getAllowedParameters()Set<ContextParameter<?>> SetDamageLootFunction.getAllowedParameters()Set<ContextParameter<?>> SetEnchantmentsLootFunction.getAllowedParameters()Set<ContextParameter<?>> SetLoreLootFunction.getAllowedParameters()Set<ContextParameter<?>> SetNameLootFunction.getAllowedParameters()Set<ContextParameter<?>> SetOminousBottleAmplifierLootFunction.getAllowedParameters()Set<ContextParameter<?>> SetStewEffectLootFunction.getAllowedParameters()Set<ContextParameter<?>> CopyComponentsLootFunction.Source.getRequiredParameters()Constructors in net.minecraft.loot.function with parameters of type ContextParameter -
Uses of ContextParameter in net.minecraft.loot.operator
Methods in net.minecraft.loot.operator that return types with arguments of type ContextParameterModifier and TypeMethodDescriptionSet<ContextParameter<?>> BoundedIntUnaryOperator.getRequiredParameters() -
Uses of ContextParameter in net.minecraft.loot.provider.nbt
Methods in net.minecraft.loot.provider.nbt that return types with arguments of type ContextParameterModifier and TypeMethodDescriptionSet<ContextParameter<?>> ContextLootNbtProvider.getRequiredParameters()Set<ContextParameter<?>> ContextLootNbtProvider.Target.getRequiredParameters()Set<ContextParameter<?>> LootNbtProvider.getRequiredParameters()Set<ContextParameter<?>> StorageLootNbtProvider.getRequiredParameters() -
Uses of ContextParameter in net.minecraft.loot.provider.number
Methods in net.minecraft.loot.provider.number that return types with arguments of type ContextParameterModifier and TypeMethodDescriptionSet<ContextParameter<?>> BinomialLootNumberProvider.getAllowedParameters()Set<ContextParameter<?>> ScoreLootNumberProvider.getAllowedParameters()Set<ContextParameter<?>> UniformLootNumberProvider.getAllowedParameters() -
Uses of ContextParameter in net.minecraft.loot.provider.score
Methods in net.minecraft.loot.provider.score that return types with arguments of type ContextParameterModifier and TypeMethodDescriptionSet<ContextParameter<?>> ContextLootScoreProvider.getRequiredParameters()Set<ContextParameter<?>> FixedLootScoreProvider.getRequiredParameters()Set<ContextParameter<?>> LootScoreProvider.getRequiredParameters() -
Uses of ContextParameter in net.minecraft.recipe.display
Fields in net.minecraft.recipe.display declared as ContextParameterModifier and TypeFieldDescriptionstatic final ContextParameter<FuelRegistry> SlotDisplayContexts.FUEL_REGISTRYstatic final ContextParameter<RegistryWrapper.WrapperLookup> SlotDisplayContexts.REGISTRIES -
Uses of ContextParameter in net.minecraft.util.context
Fields in net.minecraft.util.context with type parameters of type ContextParameterModifier and TypeFieldDescriptionprivate final Set<ContextParameter<?>> ContextType.allowedprivate final Set<ContextParameter<?>> ContextType.Builder.allowedprivate final Map<ContextParameter<?>, Object> ContextParameterMap.Builder.mapprivate final Map<ContextParameter<?>, Object> ContextParameterMap.mapprivate final Set<ContextParameter<?>> ContextType.Builder.requiredprivate final Set<ContextParameter<?>> ContextType.requiredMethods in net.minecraft.util.context that return ContextParameterMethods in net.minecraft.util.context that return types with arguments of type ContextParameterModifier and TypeMethodDescriptionSet<ContextParameter<?>> ContextType.getAllowed()Set<ContextParameter<?>> ContextType.getRequired()Methods in net.minecraft.util.context with parameters of type ContextParameterModifier and TypeMethodDescriptionContextParameterMap.Builder.add(ContextParameter<T> parameter, T value) ContextParameterMap.Builder.addNullable(ContextParameter<T> parameter, T value) ContextType.Builder.allow(ContextParameter<?> parameter) booleanContextParameterMap.contains(ContextParameter<?> parameter) <T> TContextParameterMap.Builder.getNullable(ContextParameter<T> parameter) <T> TContextParameterMap.getNullable(ContextParameter<T> parameter) <T> TContextParameterMap.getOrDefault(ContextParameter<T> parameter, T defaultValue) <T> TContextParameterMap.Builder.getOrThrow(ContextParameter<T> parameter) <T> TContextParameterMap.getOrThrow(ContextParameter<T> parameter) ContextType.Builder.require(ContextParameter<?> parameter) Constructor parameters in net.minecraft.util.context with type arguments of type ContextParameterModifierConstructorDescription(package private)ContextParameterMap(Map<ContextParameter<?>, Object> map) (package private)ContextType(Set<ContextParameter<?>> required, Set<ContextParameter<?>> allowed)