Uses of Class
net.minecraft.commands.arguments.selector.EntitySelector
Packages that use EntitySelector
Package
Description
-
Uses of EntitySelector in net.minecraft.commands.arguments
Classes in net.minecraft.commands.arguments that implement interfaces with type arguments of type EntitySelectorFields in net.minecraft.commands.arguments declared as EntitySelectorModifier and TypeFieldDescriptionprivate final EntitySelectorGameProfileArgument.SelectorResult.selectorprivate final EntitySelectorMessageArgument.Part.selectorThe field for theselectorrecord component.private final EntitySelectorScoreHolderArgument.SelectorResult.selectorMethods in net.minecraft.commands.arguments that return EntitySelectorModifier and TypeMethodDescriptionEntityArgument.parse(com.mojang.brigadier.StringReader reader) private EntitySelectorEntityArgument.parse(com.mojang.brigadier.StringReader reader, boolean allowSelectors) <S> EntitySelectorEntityArgument.parse(com.mojang.brigadier.StringReader reader, S source) MessageArgument.Part.selector()Returns the value of theselectorrecord component.Constructors in net.minecraft.commands.arguments with parameters of type EntitySelectorModifierConstructorDescriptionPart(int start, int end, EntitySelector selector) Creates an instance of aPartrecord class.SelectorResult(EntitySelector selector) SelectorResult(EntitySelector selector) -
Uses of EntitySelector in net.minecraft.commands.arguments.selector
Fields in net.minecraft.commands.arguments.selector with type parameters of type EntitySelectorModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CompilableString<EntitySelector>> EntitySelector.COMPILABLE_CODECMethods in net.minecraft.commands.arguments.selector that return EntitySelectorModifier and TypeMethodDescriptionEntitySelectorParser.getSelector()EntitySelectorParser.parse() -
Uses of EntitySelector in net.minecraft.network.chat
Method parameters in net.minecraft.network.chat with type arguments of type EntitySelectorModifier and TypeMethodDescriptionstatic MutableComponentComponent.score(CompilableString<EntitySelector> pattern, String objective) static MutableComponentComponent.selector(CompilableString<EntitySelector> pattern, Optional<Component> separator) -
Uses of EntitySelector in net.minecraft.network.chat.contents
Fields in net.minecraft.network.chat.contents with type parameters of type EntitySelectorModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either<CompilableString<EntitySelector>, String> ScoreContents.nameThe field for thenamerecord component.private final CompilableString<EntitySelector> SelectorContents.selectorThe field for theselectorrecord component.Methods in net.minecraft.network.chat.contents that return types with arguments of type EntitySelectorModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<CompilableString<EntitySelector>, String> ScoreContents.name()Returns the value of thenamerecord component.SelectorContents.selector()Returns the value of theselectorrecord component.Constructor parameters in net.minecraft.network.chat.contents with type arguments of type EntitySelectorModifierConstructorDescriptionScoreContents(com.mojang.datafixers.util.Either<CompilableString<EntitySelector>, String> name, String objective) Creates an instance of aScoreContentsrecord class.SelectorContents(CompilableString<EntitySelector> selector, Optional<Component> separator) Creates an instance of aSelectorContentsrecord class. -
Uses of EntitySelector in net.minecraft.network.chat.contents.data
Fields in net.minecraft.network.chat.contents.data with type parameters of type EntitySelectorModifier and TypeFieldDescriptionprivate final CompilableString<EntitySelector> EntityDataSource.selectorThe field for theselectorrecord component.Methods in net.minecraft.network.chat.contents.data that return types with arguments of type EntitySelectorModifier and TypeMethodDescriptionEntityDataSource.selector()Returns the value of theselectorrecord component.Constructor parameters in net.minecraft.network.chat.contents.data with type arguments of type EntitySelectorModifierConstructorDescriptionEntityDataSource(CompilableString<EntitySelector> selector) Creates an instance of aEntityDataSourcerecord class. -
Uses of EntitySelector in net.neoforged.neoforge.common.command
Methods in net.neoforged.neoforge.common.command that return EntitySelectorModifier and TypeMethodDescriptionIEntitySelectorType.build(EntitySelectorParser parser) Returns anEntitySelectorbased on the givenEntitySelectorParser.static EntitySelectorEntitySelectorManager.parseSelector(EntitySelectorParser parser) This method is called inEntitySelectorParser.parse()
If the REGISTRY does not contain a custom selector for the command being parsed, this method returnsnulland the vanilla logic inEntitySelectorParser#parseSelector()is used.