Uses of Enum Class
net.minecraft.loot.context.LootContext.EntityReference
Packages that use LootContext.EntityReference
Package
Description
-
Uses of LootContext.EntityReference in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition declared as LootContext.EntityReferenceModifier and TypeFieldDescriptionprivate final LootContext.EntityReferenceEntityPropertiesLootCondition.entityThe field for theentityrecord component.private final LootContext.EntityReferenceEntityScoresLootCondition.entityThe field for theentityrecord component.private final LootContext.EntityReferenceEntityScoresLootCondition.Builder.targetMethods in net.minecraft.loot.condition that return LootContext.EntityReferenceModifier 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.EntityReferenceModifier and TypeMethodDescriptionstatic LootCondition.BuilderEntityPropertiesLootCondition.builder(LootContext.EntityReference entity, EntityPredicate predicate) static LootCondition.BuilderEntityPropertiesLootCondition.builder(LootContext.EntityReference entity, EntityPredicate.Builder predicateBuilder) static LootCondition.BuilderEntityPropertiesLootCondition.create(LootContext.EntityReference entity) EntityScoresLootCondition.create(LootContext.EntityReference target) Constructors in net.minecraft.loot.condition with parameters of type LootContext.EntityReferenceModifierConstructorDescriptionBuilder(LootContext.EntityReference target) EntityPropertiesLootCondition(Optional<EntityPredicate> optional, LootContext.EntityReference entity) EntityScoresLootCondition(Map<String, BoundedIntUnaryOperator> scores, LootContext.EntityReference target) -
Uses of LootContext.EntityReference in net.minecraft.loot.context
Fields in net.minecraft.loot.context with type parameters of type LootContext.EntityReferenceModifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<LootContext.EntityReference> LootContext.EntityReference.CODECMethods in net.minecraft.loot.context that return LootContext.EntityReferenceModifier and TypeMethodDescriptionstatic LootContext.EntityReferenceLootContext.EntityReference.fromString(String type) static LootContext.EntityReferenceReturns the enum constant of this class with the specified name.static LootContext.EntityReference[]LootContext.EntityReference.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of LootContext.EntityReference in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as LootContext.EntityReferenceModifier and TypeFieldDescriptionprivate final LootContext.EntityReferenceFillPlayerHeadLootFunction.entityFields in net.minecraft.loot.function with type parameters of type LootContext.EntityReferenceModifier and TypeFieldDescriptionprivate final Optional<LootContext.EntityReference> SetLoreLootFunction.entityprivate final Optional<LootContext.EntityReference> SetNameLootFunction.entityprivate Optional<LootContext.EntityReference> SetLoreLootFunction.Builder.targetMethods in net.minecraft.loot.function with parameters of type LootContext.EntityReferenceModifier and TypeMethodDescriptionstatic UnaryOperator<Text> SetNameLootFunction.applySourceEntity(LootContext context, LootContext.EntityReference sourceEntity) static CopyNbtLootFunction.BuilderCopyNbtLootFunction.builder(LootContext.EntityReference target) static ConditionalLootFunction.Builder<?> FillPlayerHeadLootFunction.builder(LootContext.EntityReference target) static ConditionalLootFunction.Builder<?> SetNameLootFunction.builder(Text name, SetNameLootFunction.Target target, LootContext.EntityReference entity) SetLoreLootFunction.Builder.target(LootContext.EntityReference target) Constructors in net.minecraft.loot.function with parameters of type LootContext.EntityReferenceModifierConstructorDescriptionFillPlayerHeadLootFunction(List<LootCondition> conditions, LootContext.EntityReference entity) Constructor parameters in net.minecraft.loot.function with type arguments of type LootContext.EntityReferenceModifierConstructorDescriptionSetLoreLootFunction(List<LootCondition> conditions, List<Text> lore, ListOperation operation, Optional<LootContext.EntityReference> entity) -
Uses of LootContext.EntityReference in net.minecraft.loot.provider.nbt
Methods in net.minecraft.loot.provider.nbt with parameters of type LootContext.EntityReferenceModifier and TypeMethodDescriptionstatic LootNbtProviderContextLootNbtProvider.fromTarget(LootContext.EntityReference target) -
Uses of LootContext.EntityReference in net.minecraft.loot.provider.number
Methods in net.minecraft.loot.provider.number with parameters of type LootContext.EntityReferenceModifier and TypeMethodDescriptionstatic ScoreLootNumberProviderScoreLootNumberProvider.create(LootContext.EntityReference target, String score) static ScoreLootNumberProviderScoreLootNumberProvider.create(LootContext.EntityReference target, String score, float scale) -
Uses of LootContext.EntityReference in net.minecraft.loot.provider.score
Fields in net.minecraft.loot.provider.score declared as LootContext.EntityReferenceModifier and TypeFieldDescriptionprivate final LootContext.EntityReferenceContextLootScoreProvider.targetThe field for thetargetrecord component.Methods in net.minecraft.loot.provider.score that return LootContext.EntityReferenceModifier and TypeMethodDescriptionContextLootScoreProvider.target()Returns the value of thetargetrecord component.Methods in net.minecraft.loot.provider.score with parameters of type LootContext.EntityReferenceModifier and TypeMethodDescriptionstatic LootScoreProviderContextLootScoreProvider.create(LootContext.EntityReference target) Constructors in net.minecraft.loot.provider.score with parameters of type LootContext.EntityReferenceModifierConstructorDescriptionCreates an instance of aContextLootScoreProviderrecord class.