Uses of Class
net.minecraft.world.level.storage.loot.parameters.LootContextParam
Packages that use LootContextParam
Package
Description
-
Uses of LootContextParam in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as LootContextParamModifier and TypeFieldDescriptionprivate final LootContextParam<? extends Entity> LootContext.EntityTarget.paramFields in net.minecraft.world.level.storage.loot with type parameters of type LootContextParamModifier and TypeFieldDescriptionprivate final Map<LootContextParam<?>, Object> LootParams.Builder.paramsprivate final Map<LootContextParam<?>, Object> LootParams.paramsMethods in net.minecraft.world.level.storage.loot that return LootContextParamModifier and TypeMethodDescriptionLootContextParam<? extends Entity> LootContext.EntityTarget.getParam()Methods in net.minecraft.world.level.storage.loot that return types with arguments of type LootContextParamModifier and TypeMethodDescriptionSet<LootContextParam<?>> IntRange.getReferencedContextParams()default Set<LootContextParam<?>> LootContextUser.getReferencedContextParams()Methods in net.minecraft.world.level.storage.loot with parameters of type LootContextParamModifier and TypeMethodDescription<T> TLootParams.Builder.getOptionalParameter(LootContextParam<T> parameter) <T> TLootParams.getOptionalParameter(LootContextParam<T> param) <T> TLootContext.getParam(LootContextParam<T> param) Get the value of the given parameter.<T> TLootParams.Builder.getParameter(LootContextParam<T> parameter) <T> TLootParams.getParameter(LootContextParam<T> param) <T> TLootContext.getParamOrNull(LootContextParam<T> parameter) Get the value of the given parameter if it is present in this context, null otherwise.<T> TLootParams.getParamOrNull(LootContextParam<T> param) booleanLootContext.hasParam(LootContextParam<?> parameter) Check whether the given parameter is present in this context.booleanLootParams.hasParam(LootContextParam<?> param) LootParams.Builder.withOptionalParameter(LootContextParam<T> parameter, T value) LootParams.Builder.withParameter(LootContextParam<T> parameter, T value) Constructors in net.minecraft.world.level.storage.loot with parameters of type LootContextParamModifierConstructorDescriptionprivateEntityTarget(String name, LootContextParam<? extends Entity> param) Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type LootContextParamModifierConstructorDescriptionLootParams(ServerLevel level, Map<LootContextParam<?>, Object> params, Map<ResourceLocation, LootParams.DynamicDrop> dynamicDrops, float luck) -
Uses of LootContextParam in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as LootContextParamModifier and TypeFieldDescription(package private) final LootContextParam<?> CopyNameFunction.NameSource.paramMethods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type LootContextParamModifier and TypeMethodDescriptionSet<LootContextParam<?>> ApplyBonusCount.getReferencedContextParams()Set<LootContextParam<?>> CopyBlockState.getReferencedContextParams()Set<LootContextParam<?>> CopyComponentsFunction.getReferencedContextParams()Set<LootContextParam<?>> CopyComponentsFunction.Source.getReferencedContextParams()Set<LootContextParam<?>> CopyCustomDataFunction.getReferencedContextParams()Set<LootContextParam<?>> CopyNameFunction.getReferencedContextParams()Set<LootContextParam<?>> EnchantedCountIncreaseFunction.getReferencedContextParams()Set<LootContextParam<?>> EnchantWithLevelsFunction.getReferencedContextParams()Set<LootContextParam<?>> ExplorationMapFunction.getReferencedContextParams()Set<LootContextParam<?>> FillPlayerHead.getReferencedContextParams()Set<LootContextParam<?>> LimitCount.getReferencedContextParams()Set<LootContextParam<?>> SetAttributesFunction.getReferencedContextParams()Set<LootContextParam<?>> SetCustomModelDataFunction.getReferencedContextParams()Set<LootContextParam<?>> SetEnchantmentsFunction.getReferencedContextParams()Set<LootContextParam<?>> SetItemCountFunction.getReferencedContextParams()Set<LootContextParam<?>> SetItemDamageFunction.getReferencedContextParams()Set<LootContextParam<?>> SetLoreFunction.getReferencedContextParams()Set<LootContextParam<?>> SetNameFunction.getReferencedContextParams()Set<LootContextParam<?>> SetOminousBottleAmplifierFunction.getReferencedContextParams()Set<LootContextParam<?>> SetStewEffectFunction.getReferencedContextParams()Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type LootContextParam -
Uses of LootContextParam in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters declared as LootContextParamModifier and TypeFieldDescriptionstatic final LootContextParam<Entity> LootContextParams.ATTACKING_ENTITYstatic final LootContextParam<BlockEntity> LootContextParams.BLOCK_ENTITYstatic final LootContextParam<BlockState> LootContextParams.BLOCK_STATEstatic final LootContextParam<DamageSource> LootContextParams.DAMAGE_SOURCEstatic final LootContextParam<Entity> LootContextParams.DIRECT_ATTACKING_ENTITYstatic final LootContextParam<Boolean> LootContextParams.ENCHANTMENT_ACTIVEstatic final LootContextParam<Integer> LootContextParams.ENCHANTMENT_LEVELstatic final LootContextParam<Float> LootContextParams.EXPLOSION_RADIUSstatic final LootContextParam<Player> LootContextParams.LAST_DAMAGE_PLAYERstatic final LootContextParam<Vec3> LootContextParams.ORIGINstatic final LootContextParam<Entity> LootContextParams.THIS_ENTITYstatic final LootContextParam<ItemStack> LootContextParams.TOOLFields in net.minecraft.world.level.storage.loot.parameters with type parameters of type LootContextParamModifier and TypeFieldDescriptionprivate final Set<LootContextParam<?>> LootContextParamSet.allprivate final Set<LootContextParam<?>> LootContextParamSet.Builder.optionalprivate final Set<LootContextParam<?>> LootContextParamSet.Builder.requiredprivate final Set<LootContextParam<?>> LootContextParamSet.requiredMethods in net.minecraft.world.level.storage.loot.parameters that return LootContextParamMethods in net.minecraft.world.level.storage.loot.parameters that return types with arguments of type LootContextParamModifier and TypeMethodDescriptionSet<LootContextParam<?>> LootContextParamSet.getAllowed()Set<LootContextParam<?>> LootContextParamSet.getRequired()Methods in net.minecraft.world.level.storage.loot.parameters with parameters of type LootContextParamModifier and TypeMethodDescriptionbooleanLootContextParamSet.isAllowed(LootContextParam<?> param) Whether the given parameter is allowed in this set.LootContextParamSet.Builder.optional(LootContextParam<?> parameter) LootContextParamSet.Builder.required(LootContextParam<?> parameter) Constructor parameters in net.minecraft.world.level.storage.loot.parameters with type arguments of type LootContextParamModifierConstructorDescription(package private)LootContextParamSet(Set<LootContextParam<?>> required, Set<LootContextParam<?>> optional) -
Uses of LootContextParam in net.minecraft.world.level.storage.loot.predicates
Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type LootContextParamModifier and TypeMethodDescriptionSet<LootContextParam<?>> BonusLevelTableCondition.getReferencedContextParams()Set<LootContextParam<?>> DamageSourceCondition.getReferencedContextParams()Set<LootContextParam<?>> EnchantmentActiveCheck.getReferencedContextParams()Set<LootContextParam<?>> EntityHasScoreCondition.getReferencedContextParams()Set<LootContextParam<?>> ExplosionCondition.getReferencedContextParams()Set<LootContextParam<?>> InvertedLootItemCondition.getReferencedContextParams()Set<LootContextParam<?>> LocationCheck.getReferencedContextParams()Set<LootContextParam<?>> LootItemBlockStatePropertyCondition.getReferencedContextParams()Set<LootContextParam<?>> LootItemEntityPropertyCondition.getReferencedContextParams()Set<LootContextParam<?>> LootItemKilledByPlayerCondition.getReferencedContextParams()Set<LootContextParam<?>> LootItemRandomChanceWithEnchantedBonusCondition.getReferencedContextParams()Set<LootContextParam<?>> MatchTool.getReferencedContextParams()Set<LootContextParam<?>> TimeCheck.getReferencedContextParams()Set<LootContextParam<?>> ValueCheckCondition.getReferencedContextParams() -
Uses of LootContextParam 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 LootContextParamModifier and TypeMethodDescriptionSet<LootContextParam<?>> ContextNbtProvider.getReferencedContextParams()Set<LootContextParam<?>> ContextNbtProvider.Getter.getReferencedContextParams()Set<LootContextParam<?>> NbtProvider.getReferencedContextParams()Set<LootContextParam<?>> StorageNbtProvider.getReferencedContextParams() -
Uses of LootContextParam 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 LootContextParamModifier and TypeMethodDescriptionSet<LootContextParam<?>> BinomialDistributionGenerator.getReferencedContextParams()Set<LootContextParam<?>> ScoreboardValue.getReferencedContextParams()Set<LootContextParam<?>> UniformGenerator.getReferencedContextParams() -
Uses of LootContextParam 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 LootContextParamModifier and TypeMethodDescriptionSet<LootContextParam<?>> ContextScoreboardNameProvider.getReferencedContextParams()Set<LootContextParam<?>> FixedScoreboardNameProvider.getReferencedContextParams()Set<LootContextParam<?>> ScoreboardNameProvider.getReferencedContextParams() -
Uses of LootContextParam in net.neoforged.neoforge.common.loot
Methods in net.neoforged.neoforge.common.loot that return types with arguments of type LootContextParamModifier and TypeMethodDescriptionSet<LootContextParam<?>> CanItemPerformAbility.getReferencedContextParams()