Uses of Class
net.minecraft.commands.arguments.selector.EntitySelector
Packages that use EntitySelector
Package
Description
-
Uses of EntitySelector in net.minecraft.commands.arguments
Fields 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 pReader) private EntitySelectorEntityArgument.parse(com.mojang.brigadier.StringReader pReader, boolean pAllowSelectors) <S> EntitySelectorEntityArgument.parse(com.mojang.brigadier.StringReader pReader, S p_353120_) 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 pSelector) SelectorResult(EntitySelector pSelector) -
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
Fields in net.minecraft.network.chat.contents declared as EntitySelectorModifier and TypeFieldDescriptionprivate final EntitySelectorEntityDataSource.compiledSelectorThe field for thecompiledSelectorrecord component.Methods in net.minecraft.network.chat.contents that return EntitySelectorModifier and TypeMethodDescriptionEntityDataSource.compiledSelector()Returns the value of thecompiledSelectorrecord component.private static EntitySelectorEntityDataSource.compileSelector(String pSelectorPattern) Constructors in net.minecraft.network.chat.contents with parameters of type EntitySelectorModifierConstructorDescriptionEntityDataSource(String selectorPattern, 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.