use of net.minecraft.commands.arguments.selector.EntitySelectorParser in project SpongeCommon by SpongePowered.
the class SpongeSelectorType method toBuilder.
@SuppressWarnings("ConstantConditions")
@Override
public final Selector.@NonNull Builder toBuilder() {
final EntitySelectorParser parser = new EntitySelectorParser(new StringReader(this.selectorToken));
((EntitySelectorParserAccessor) parser).invoker$parseSelector();
return (Selector.Builder) parser;
}
Aggregations