Uses of Enum Class
net.minecraft.loot.context.LootContext.EntityTarget
Packages that use LootContext.EntityTarget
Package
Description
-
Uses of LootContext.EntityTarget in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition declared as LootContext.EntityTargetModifier and TypeFieldDescriptionprivate final LootContext.EntityTargetEntityPropertiesLootCondition.entityThe field for theentityrecord component.private final LootContext.EntityTargetEntityScoresLootCondition.entityThe field for theentityrecord component.private final LootContext.EntityTargetEntityScoresLootCondition.Builder.targetMethods in net.minecraft.loot.condition that return LootContext.EntityTargetModifier and TypeMethodDescriptionEntityPropertiesLootCondition.entity()Returns the value of theentityrecord component.EntityScoresLootCondition.entity()Returns the value of theentityrecord component.Methods in net.minecraft.loot.condition with parameters of type LootContext.EntityTargetModifier and TypeMethodDescriptionstatic LootCondition.BuilderEntityPropertiesLootCondition.builder(LootContext.EntityTarget entity, EntityPredicate predicate) static LootCondition.BuilderEntityPropertiesLootCondition.builder(LootContext.EntityTarget entity, EntityPredicate.Builder predicateBuilder) static LootCondition.BuilderEntityPropertiesLootCondition.create(LootContext.EntityTarget entity) EntityScoresLootCondition.create(LootContext.EntityTarget target) Constructors in net.minecraft.loot.condition with parameters of type LootContext.EntityTargetModifierConstructorDescriptionBuilder(LootContext.EntityTarget target) EntityPropertiesLootCondition(Optional<EntityPredicate> optional, LootContext.EntityTarget entity) EntityScoresLootCondition(Map<String, BoundedIntUnaryOperator> scores, LootContext.EntityTarget target) -
Uses of LootContext.EntityTarget in net.minecraft.loot.context
Fields in net.minecraft.loot.context with type parameters of type LootContext.EntityTargetModifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<LootContext.EntityTarget> LootContext.EntityTarget.CODECMethods in net.minecraft.loot.context that return LootContext.EntityTargetModifier and TypeMethodDescriptionstatic LootContext.EntityTargetLootContext.EntityTarget.fromString(String type) static LootContext.EntityTargetReturns the enum constant of this class with the specified name.static LootContext.EntityTarget[]LootContext.EntityTarget.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of LootContext.EntityTarget in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as LootContext.EntityTargetModifier and TypeFieldDescriptionprivate final LootContext.EntityTargetFillPlayerHeadLootFunction.entityFields in net.minecraft.loot.function with type parameters of type LootContext.EntityTargetModifier and TypeFieldDescriptionprivate final Optional<LootContext.EntityTarget> SetLoreLootFunction.entityprivate final Optional<LootContext.EntityTarget> SetNameLootFunction.entityprivate Optional<LootContext.EntityTarget> SetLoreLootFunction.Builder.targetMethods in net.minecraft.loot.function with parameters of type LootContext.EntityTargetModifier and TypeMethodDescriptionstatic UnaryOperator<Text> SetNameLootFunction.applySourceEntity(LootContext context, LootContext.EntityTarget sourceEntity) static CopyNbtLootFunction.BuilderCopyNbtLootFunction.builder(LootContext.EntityTarget target) static ConditionalLootFunction.Builder<?> FillPlayerHeadLootFunction.builder(LootContext.EntityTarget target) static ConditionalLootFunction.Builder<?> SetNameLootFunction.builder(Text name, SetNameLootFunction.Target target, LootContext.EntityTarget entity) SetLoreLootFunction.Builder.target(LootContext.EntityTarget target) Constructors in net.minecraft.loot.function with parameters of type LootContext.EntityTargetModifierConstructorDescriptionFillPlayerHeadLootFunction(List<LootCondition> conditions, LootContext.EntityTarget entity) Constructor parameters in net.minecraft.loot.function with type arguments of type LootContext.EntityTargetModifierConstructorDescriptionSetLoreLootFunction(List<LootCondition> conditions, List<Text> lore, ListOperation operation, Optional<LootContext.EntityTarget> entity) -
Uses of LootContext.EntityTarget in net.minecraft.loot.provider.nbt
Methods in net.minecraft.loot.provider.nbt with parameters of type LootContext.EntityTargetModifier and TypeMethodDescriptionstatic LootNbtProviderContextLootNbtProvider.fromTarget(LootContext.EntityTarget target) private static ContextLootNbtProvider.TargetContextLootNbtProvider.getTarget(LootContext.EntityTarget entityTarget) -
Uses of LootContext.EntityTarget in net.minecraft.loot.provider.number
Methods in net.minecraft.loot.provider.number with parameters of type LootContext.EntityTargetModifier and TypeMethodDescriptionstatic ScoreLootNumberProviderScoreLootNumberProvider.create(LootContext.EntityTarget target, String score) static ScoreLootNumberProviderScoreLootNumberProvider.create(LootContext.EntityTarget target, String score, float scale) -
Uses of LootContext.EntityTarget in net.minecraft.loot.provider.score
Fields in net.minecraft.loot.provider.score declared as LootContext.EntityTargetModifier and TypeFieldDescriptionprivate final LootContext.EntityTargetContextLootScoreProvider.targetThe field for thetargetrecord component.Methods in net.minecraft.loot.provider.score that return LootContext.EntityTargetModifier and TypeMethodDescriptionContextLootScoreProvider.target()Returns the value of thetargetrecord component.Methods in net.minecraft.loot.provider.score with parameters of type LootContext.EntityTargetModifier and TypeMethodDescriptionstatic LootScoreProviderContextLootScoreProvider.create(LootContext.EntityTarget target) Constructors in net.minecraft.loot.provider.score with parameters of type LootContext.EntityTargetModifierConstructorDescriptionCreates an instance of aContextLootScoreProviderrecord class.