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 declared as EntitySelectorModifier and TypeFieldDescriptionprivate final EntitySelectorSelectorPattern.resolvedThe field for theresolvedrecord component.Methods in net.minecraft.commands.arguments.selector that return EntitySelectorModifier and TypeMethodDescriptionEntitySelectorParser.getSelector()EntitySelectorParser.parse()SelectorPattern.resolved()Returns the value of theresolvedrecord component.Constructors in net.minecraft.commands.arguments.selector with parameters of type EntitySelectorModifierConstructorDescriptionSelectorPattern(String pattern, EntitySelector resolved) Creates an instance of aSelectorPatternrecord class. -
Uses of EntitySelector in net.minecraft.network.chat.contents.data
Fields in net.minecraft.network.chat.contents.data declared as EntitySelectorModifier and TypeFieldDescriptionprivate final @Nullable EntitySelectorEntityDataSource.compiledSelectorThe field for thecompiledSelectorrecord component.Methods in net.minecraft.network.chat.contents.data that return EntitySelectorModifier and TypeMethodDescription@Nullable EntitySelectorEntityDataSource.compiledSelector()Returns the value of thecompiledSelectorrecord component.private static @Nullable EntitySelectorEntityDataSource.compileSelector(String selector) Constructors in net.minecraft.network.chat.contents.data with parameters of type EntitySelectorModifierConstructorDescriptionEntityDataSource(String selectorPattern, @Nullable EntitySelector compiledSelector) 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.