Class ScoreHolderArgumentType.SelectorScoreHolder

java.lang.Object
net.minecraft.command.argument.ScoreHolderArgumentType.SelectorScoreHolder
All Implemented Interfaces:
ScoreHolderArgumentType.ScoreHolder
Enclosing class:
ScoreHolderArgumentType

public static class ScoreHolderArgumentType.SelectorScoreHolder extends Object implements ScoreHolderArgumentType.ScoreHolder
Mappings:
Namespace Name
official es$c
intermediary net/minecraft/class_2233$class_2235
named net/minecraft/command/argument/ScoreHolderArgumentType$SelectorScoreHolder
  • Field Details

    • selector

      private final EntitySelector selector
      Mappings:
      Namespace Name Mixin selector
      official a Les$c;a:Lfz;
      intermediary field_9952 Lnet/minecraft/class_2233$class_2235;field_9952:Lnet/minecraft/class_2300;
      named selector Lnet/minecraft/command/argument/ScoreHolderArgumentType$SelectorScoreHolder;selector:Lnet/minecraft/command/EntitySelector;
  • Constructor Details

    • SelectorScoreHolder

      public SelectorScoreHolder(EntitySelector selector)
      Mappings:
      Namespace Name Mixin selector
      official <init> Les$c;<init>(Lfz;)V
      intermediary <init> Lnet/minecraft/class_2233$class_2235;<init>(Lnet/minecraft/class_2300;)V
      named <init> Lnet/minecraft/command/argument/ScoreHolderArgumentType$SelectorScoreHolder;<init>(Lnet/minecraft/command/EntitySelector;)V
  • Method Details

    • getNames

      public Collection<String> getNames(ServerCommandSource source, Supplier<Collection<String>> players) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      getNames in interface ScoreHolderArgumentType.ScoreHolder
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official getNames Les$b;getNames(Ldr;Ljava/util/function/Supplier;)Ljava/util/Collection;
      intermediary getNames Lnet/minecraft/class_2233$class_2234;getNames(Lnet/minecraft/class_2168;Ljava/util/function/Supplier;)Ljava/util/Collection;
      named getNames Lnet/minecraft/command/argument/ScoreHolderArgumentType$ScoreHolder;getNames(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/function/Supplier;)Ljava/util/Collection;