类 ServerCommandSource

    • 字段详细资料

      • REQUIRES_PLAYER_EXCEPTION

        public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType REQUIRES_PLAYER_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_9824 Lnet/minecraft/class_2168;field_9824:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named REQUIRES_PLAYER_EXCEPTION Lnet/minecraft/server/command/ServerCommandSource;REQUIRES_PLAYER_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • REQUIRES_ENTITY_EXCEPTION

        public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType REQUIRES_ENTITY_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official b Ldg;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_9827 Lnet/minecraft/class_2168;field_9827:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named REQUIRES_ENTITY_EXCEPTION Lnet/minecraft/server/command/ServerCommandSource;REQUIRES_ENTITY_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      • output

        private final CommandOutput output
        Mappings:
        Namespace Name Mixin selector
        official c Ldg;c:Ldf;
        intermediary field_9819 Lnet/minecraft/class_2168;field_9819:Lnet/minecraft/class_2165;
        named output Lnet/minecraft/server/command/ServerCommandSource;output:Lnet/minecraft/server/command/CommandOutput;
      • position

        private final Vec3d position
        Mappings:
        Namespace Name Mixin selector
        official d Ldg;d:Ldma;
        intermediary field_9817 Lnet/minecraft/class_2168;field_9817:Lnet/minecraft/class_243;
        named position Lnet/minecraft/server/command/ServerCommandSource;position:Lnet/minecraft/util/math/Vec3d;
      • world

        private final ServerWorld world
        Mappings:
        Namespace Name Mixin selector
        official e Ldg;e:Labj;
        intermediary field_9828 Lnet/minecraft/class_2168;field_9828:Lnet/minecraft/class_3218;
        named world Lnet/minecraft/server/command/ServerCommandSource;world:Lnet/minecraft/server/world/ServerWorld;
      • level

        private final int level
        Mappings:
        Namespace Name Mixin selector
        official f Ldg;f:I
        intermediary field_9815 Lnet/minecraft/class_2168;field_9815:I
        named level Lnet/minecraft/server/command/ServerCommandSource;level:I
      • simpleName

        private final String simpleName
        Mappings:
        Namespace Name Mixin selector
        official g Ldg;g:Ljava/lang/String;
        intermediary field_9826 Lnet/minecraft/class_2168;field_9826:Ljava/lang/String;
        named simpleName Lnet/minecraft/server/command/ServerCommandSource;simpleName:Ljava/lang/String;
      • name

        private final Text name
        Mappings:
        Namespace Name Mixin selector
        official h Ldg;h:Lon;
        intermediary field_9825 Lnet/minecraft/class_2168;field_9825:Lnet/minecraft/class_2561;
        named name Lnet/minecraft/server/command/ServerCommandSource;name:Lnet/minecraft/text/Text;
      • server

        private final MinecraftServer server
        Mappings:
        Namespace Name Mixin selector
        official i Ldg;i:Lnet/minecraft/server/MinecraftServer;
        intermediary field_9818 Lnet/minecraft/class_2168;field_9818:Lnet/minecraft/server/MinecraftServer;
        named server Lnet/minecraft/server/command/ServerCommandSource;server:Lnet/minecraft/server/MinecraftServer;
      • silent

        private final boolean silent
        Mappings:
        Namespace Name Mixin selector
        official j Ldg;j:Z
        intermediary field_9823 Lnet/minecraft/class_2168;field_9823:Z
        named silent Lnet/minecraft/server/command/ServerCommandSource;silent:Z
      • entity

        @Nullable
        private final @Nullable Entity entity
        Mappings:
        Namespace Name Mixin selector
        official k Ldg;k:Lasl;
        intermediary field_9820 Lnet/minecraft/class_2168;field_9820:Lnet/minecraft/class_1297;
        named entity Lnet/minecraft/server/command/ServerCommandSource;entity:Lnet/minecraft/entity/Entity;
      • resultConsumer

        private final com.mojang.brigadier.ResultConsumer<ServerCommandSource> resultConsumer
        Mappings:
        Namespace Name Mixin selector
        official l Ldg;l:Lcom/mojang/brigadier/ResultConsumer;
        intermediary field_9821 Lnet/minecraft/class_2168;field_9821:Lcom/mojang/brigadier/ResultConsumer;
        named resultConsumer Lnet/minecraft/server/command/ServerCommandSource;resultConsumer:Lcom/mojang/brigadier/ResultConsumer;
      • entityAnchor

        private final EntityAnchorArgumentType.EntityAnchor entityAnchor
        Mappings:
        Namespace Name Mixin selector
        official m Ldg;m:Ldp$a;
        intermediary field_9816 Lnet/minecraft/class_2168;field_9816:Lnet/minecraft/class_2183$class_2184;
        named entityAnchor Lnet/minecraft/server/command/ServerCommandSource;entityAnchor:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
      • rotation

        private final Vec2f rotation
        Mappings:
        Namespace Name Mixin selector
        official n Ldg;n:Ldlz;
        intermediary field_9822 Lnet/minecraft/class_2168;field_9822:Lnet/minecraft/class_241;
        named rotation Lnet/minecraft/server/command/ServerCommandSource;rotation:Lnet/minecraft/util/math/Vec2f;
    • 构造器详细资料

      • ServerCommandSource

        public ServerCommandSource​(CommandOutput output,
                                   Vec3d pos,
                                   Vec2f rot,
                                   ServerWorld world,
                                   int level,
                                   String simpleName,
                                   Text name,
                                   MinecraftServer server,
                                   @Nullable
                                   @Nullable Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldg;<init>(Ldf;Ldma;Ldlz;Labj;ILjava/lang/String;Lon;Lnet/minecraft/server/MinecraftServer;Lasl;)V
        intermediary <init> Lnet/minecraft/class_2168;<init>(Lnet/minecraft/class_2165;Lnet/minecraft/class_243;Lnet/minecraft/class_241;Lnet/minecraft/class_3218;ILjava/lang/String;Lnet/minecraft/class_2561;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1297;)V
        named <init> Lnet/minecraft/server/command/ServerCommandSource;<init>(Lnet/minecraft/server/command/CommandOutput;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec2f;Lnet/minecraft/server/world/ServerWorld;ILjava/lang/String;Lnet/minecraft/text/Text;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/entity/Entity;)V
      • ServerCommandSource

        protected ServerCommandSource​(CommandOutput output,
                                      Vec3d pos,
                                      Vec2f rot,
                                      ServerWorld world,
                                      int level,
                                      String simpleName,
                                      Text name,
                                      MinecraftServer server,
                                      @Nullable
                                      @Nullable Entity entity,
                                      boolean silent,
                                      com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer,
                                      EntityAnchorArgumentType.EntityAnchor entityAnchor)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldg;<init>(Ldf;Ldma;Ldlz;Labj;ILjava/lang/String;Lon;Lnet/minecraft/server/MinecraftServer;Lasl;ZLcom/mojang/brigadier/ResultConsumer;Ldp$a;)V
        intermediary <init> Lnet/minecraft/class_2168;<init>(Lnet/minecraft/class_2165;Lnet/minecraft/class_243;Lnet/minecraft/class_241;Lnet/minecraft/class_3218;ILjava/lang/String;Lnet/minecraft/class_2561;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1297;ZLcom/mojang/brigadier/ResultConsumer;Lnet/minecraft/class_2183$class_2184;)V
        named <init> Lnet/minecraft/server/command/ServerCommandSource;<init>(Lnet/minecraft/server/command/CommandOutput;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec2f;Lnet/minecraft/server/world/ServerWorld;ILjava/lang/String;Lnet/minecraft/text/Text;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/entity/Entity;ZLcom/mojang/brigadier/ResultConsumer;Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)V
    • 方法详细资料

      • withEntity

        public ServerCommandSource withEntity​(Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Lasl;)Ldg;
        intermediary method_9232 Lnet/minecraft/class_2168;method_9232(Lnet/minecraft/class_1297;)Lnet/minecraft/class_2168;
        named withEntity Lnet/minecraft/server/command/ServerCommandSource;withEntity(Lnet/minecraft/entity/Entity;)Lnet/minecraft/server/command/ServerCommandSource;
      • withPosition

        public ServerCommandSource withPosition​(Vec3d position)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Ldma;)Ldg;
        intermediary method_9208 Lnet/minecraft/class_2168;method_9208(Lnet/minecraft/class_243;)Lnet/minecraft/class_2168;
        named withPosition Lnet/minecraft/server/command/ServerCommandSource;withPosition(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/server/command/ServerCommandSource;
      • withRotation

        public ServerCommandSource withRotation​(Vec2f rotation)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Ldlz;)Ldg;
        intermediary method_9216 Lnet/minecraft/class_2168;method_9216(Lnet/minecraft/class_241;)Lnet/minecraft/class_2168;
        named withRotation Lnet/minecraft/server/command/ServerCommandSource;withRotation(Lnet/minecraft/util/math/Vec2f;)Lnet/minecraft/server/command/ServerCommandSource;
      • withConsumer

        public ServerCommandSource withConsumer​(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Lcom/mojang/brigadier/ResultConsumer;)Ldg;
        intermediary method_9231 Lnet/minecraft/class_2168;method_9231(Lcom/mojang/brigadier/ResultConsumer;)Lnet/minecraft/class_2168;
        named withConsumer Lnet/minecraft/server/command/ServerCommandSource;withConsumer(Lcom/mojang/brigadier/ResultConsumer;)Lnet/minecraft/server/command/ServerCommandSource;
      • mergeConsumers

        public ServerCommandSource mergeConsumers​(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer,
                                                  BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> binaryOperator)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Lcom/mojang/brigadier/ResultConsumer;Ljava/util/function/BinaryOperator;)Ldg;
        intermediary method_9209 Lnet/minecraft/class_2168;method_9209(Lcom/mojang/brigadier/ResultConsumer;Ljava/util/function/BinaryOperator;)Lnet/minecraft/class_2168;
        named mergeConsumers Lnet/minecraft/server/command/ServerCommandSource;mergeConsumers(Lcom/mojang/brigadier/ResultConsumer;Ljava/util/function/BinaryOperator;)Lnet/minecraft/server/command/ServerCommandSource;
      • withSilent

        public ServerCommandSource withSilent()
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a()Ldg;
        intermediary method_9217 Lnet/minecraft/class_2168;method_9217()Lnet/minecraft/class_2168;
        named withSilent Lnet/minecraft/server/command/ServerCommandSource;withSilent()Lnet/minecraft/server/command/ServerCommandSource;
      • withLevel

        public ServerCommandSource withLevel​(int level)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(I)Ldg;
        intermediary method_9206 Lnet/minecraft/class_2168;method_9206(I)Lnet/minecraft/class_2168;
        named withLevel Lnet/minecraft/server/command/ServerCommandSource;withLevel(I)Lnet/minecraft/server/command/ServerCommandSource;
      • withMaxLevel

        public ServerCommandSource withMaxLevel​(int level)
        Mappings:
        Namespace Name Mixin selector
        official b Ldg;b(I)Ldg;
        intermediary method_9230 Lnet/minecraft/class_2168;method_9230(I)Lnet/minecraft/class_2168;
        named withMaxLevel Lnet/minecraft/server/command/ServerCommandSource;withMaxLevel(I)Lnet/minecraft/server/command/ServerCommandSource;
      • withEntityAnchor

        public ServerCommandSource withEntityAnchor​(EntityAnchorArgumentType.EntityAnchor anchor)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Ldp$a;)Ldg;
        intermediary method_9218 Lnet/minecraft/class_2168;method_9218(Lnet/minecraft/class_2183$class_2184;)Lnet/minecraft/class_2168;
        named withEntityAnchor Lnet/minecraft/server/command/ServerCommandSource;withEntityAnchor(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)Lnet/minecraft/server/command/ServerCommandSource;
      • withWorld

        public ServerCommandSource withWorld​(ServerWorld world)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Labj;)Ldg;
        intermediary method_9227 Lnet/minecraft/class_2168;method_9227(Lnet/minecraft/class_3218;)Lnet/minecraft/class_2168;
        named withWorld Lnet/minecraft/server/command/ServerCommandSource;withWorld(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/server/command/ServerCommandSource;
      • withLookingAt

        public ServerCommandSource withLookingAt​(Entity entity,
                                                 EntityAnchorArgumentType.EntityAnchor anchor)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Lasl;Ldp$a;)Ldg;
        intermediary method_9220 Lnet/minecraft/class_2168;method_9220(Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)Lnet/minecraft/class_2168;
        named withLookingAt Lnet/minecraft/server/command/ServerCommandSource;withLookingAt(Lnet/minecraft/entity/Entity;Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)Lnet/minecraft/server/command/ServerCommandSource;
      • withLookingAt

        public ServerCommandSource withLookingAt​(Vec3d position)
        Mappings:
        Namespace Name Mixin selector
        official b Ldg;b(Ldma;)Ldg;
        intermediary method_9221 Lnet/minecraft/class_2168;method_9221(Lnet/minecraft/class_243;)Lnet/minecraft/class_2168;
        named withLookingAt Lnet/minecraft/server/command/ServerCommandSource;withLookingAt(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/server/command/ServerCommandSource;
      • getDisplayName

        public Text getDisplayName()
        Mappings:
        Namespace Name Mixin selector
        official b Ldg;b()Lon;
        intermediary method_9223 Lnet/minecraft/class_2168;method_9223()Lnet/minecraft/class_2561;
        named getDisplayName Lnet/minecraft/server/command/ServerCommandSource;getDisplayName()Lnet/minecraft/text/Text;
      • getName

        public String getName()
        Mappings:
        Namespace Name Mixin selector
        official c Ldg;c()Ljava/lang/String;
        intermediary method_9214 Lnet/minecraft/class_2168;method_9214()Ljava/lang/String;
        named getName Lnet/minecraft/server/command/ServerCommandSource;getName()Ljava/lang/String;
      • hasPermissionLevel

        public boolean hasPermissionLevel​(int level)
        指定者:
        hasPermissionLevel 在接口中 CommandSource
        Mappings:
        Namespace Name Mixin selector
        official c Ldi;c(I)Z
        intermediary method_9259 Lnet/minecraft/class_2172;method_9259(I)Z
        named hasPermissionLevel Lnet/minecraft/command/CommandSource;hasPermissionLevel(I)Z
      • getPosition

        public Vec3d getPosition()
        Mappings:
        Namespace Name Mixin selector
        official d Ldg;d()Ldma;
        intermediary method_9222 Lnet/minecraft/class_2168;method_9222()Lnet/minecraft/class_243;
        named getPosition Lnet/minecraft/server/command/ServerCommandSource;getPosition()Lnet/minecraft/util/math/Vec3d;
      • getWorld

        public ServerWorld getWorld()
        Mappings:
        Namespace Name Mixin selector
        official e Ldg;e()Labj;
        intermediary method_9225 Lnet/minecraft/class_2168;method_9225()Lnet/minecraft/class_3218;
        named getWorld Lnet/minecraft/server/command/ServerCommandSource;getWorld()Lnet/minecraft/server/world/ServerWorld;
      • getEntity

        @Nullable
        public @Nullable Entity getEntity()
        Gets the entity from this command source or returns null if this command source is not an entity.
        Mappings:
        Namespace Name Mixin selector
        official f Ldg;f()Lasl;
        intermediary method_9228 Lnet/minecraft/class_2168;method_9228()Lnet/minecraft/class_1297;
        named getEntity Lnet/minecraft/server/command/ServerCommandSource;getEntity()Lnet/minecraft/entity/Entity;
      • getEntityOrThrow

        public Entity getEntityOrThrow()
                                throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Gets the entity from this command source or throws a command syntax exception if this command source is not an entity.
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official g Ldg;g()Lasl;
        intermediary method_9229 Lnet/minecraft/class_2168;method_9229()Lnet/minecraft/class_1297;
        named getEntityOrThrow Lnet/minecraft/server/command/ServerCommandSource;getEntityOrThrow()Lnet/minecraft/entity/Entity;
      • getPlayer

        public ServerPlayerEntity getPlayer()
                                     throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Gets the player from this command source or throws a command syntax exception if this command source is not a player.
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official h Ldg;h()Labk;
        intermediary method_9207 Lnet/minecraft/class_2168;method_9207()Lnet/minecraft/class_3222;
        named getPlayer Lnet/minecraft/server/command/ServerCommandSource;getPlayer()Lnet/minecraft/server/network/ServerPlayerEntity;
      • getRotation

        public Vec2f getRotation()
        Mappings:
        Namespace Name Mixin selector
        official i Ldg;i()Ldlz;
        intermediary method_9210 Lnet/minecraft/class_2168;method_9210()Lnet/minecraft/class_241;
        named getRotation Lnet/minecraft/server/command/ServerCommandSource;getRotation()Lnet/minecraft/util/math/Vec2f;
      • getMinecraftServer

        public MinecraftServer getMinecraftServer()
        Mappings:
        Namespace Name Mixin selector
        official j Ldg;j()Lnet/minecraft/server/MinecraftServer;
        intermediary method_9211 Lnet/minecraft/class_2168;method_9211()Lnet/minecraft/server/MinecraftServer;
        named getMinecraftServer Lnet/minecraft/server/command/ServerCommandSource;getMinecraftServer()Lnet/minecraft/server/MinecraftServer;
      • getEntityAnchor

        public EntityAnchorArgumentType.EntityAnchor getEntityAnchor()
        Mappings:
        Namespace Name Mixin selector
        official k Ldg;k()Ldp$a;
        intermediary method_9219 Lnet/minecraft/class_2168;method_9219()Lnet/minecraft/class_2183$class_2184;
        named getEntityAnchor Lnet/minecraft/server/command/ServerCommandSource;getEntityAnchor()Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
      • sendFeedback

        public void sendFeedback​(Text message,
                                 boolean broadcastToOps)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Lon;Z)V
        intermediary method_9226 Lnet/minecraft/class_2168;method_9226(Lnet/minecraft/class_2561;Z)V
        named sendFeedback Lnet/minecraft/server/command/ServerCommandSource;sendFeedback(Lnet/minecraft/text/Text;Z)V
      • sendToOps

        private void sendToOps​(Text message)
        Mappings:
        Namespace Name Mixin selector
        official b Ldg;b(Lon;)V
        intermediary method_9212 Lnet/minecraft/class_2168;method_9212(Lnet/minecraft/class_2561;)V
        named sendToOps Lnet/minecraft/server/command/ServerCommandSource;sendToOps(Lnet/minecraft/text/Text;)V
      • sendError

        public void sendError​(Text message)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Lon;)V
        intermediary method_9213 Lnet/minecraft/class_2168;method_9213(Lnet/minecraft/class_2561;)V
        named sendError Lnet/minecraft/server/command/ServerCommandSource;sendError(Lnet/minecraft/text/Text;)V
      • onCommandComplete

        public void onCommandComplete​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context,
                                      boolean success,
                                      int result)
        Mappings:
        Namespace Name Mixin selector
        official a Ldg;a(Lcom/mojang/brigadier/context/CommandContext;ZI)V
        intermediary method_9215 Lnet/minecraft/class_2168;method_9215(Lcom/mojang/brigadier/context/CommandContext;ZI)V
        named onCommandComplete Lnet/minecraft/server/command/ServerCommandSource;onCommandComplete(Lcom/mojang/brigadier/context/CommandContext;ZI)V
      • getPlayerNames

        public Collection<String> getPlayerNames()
        指定者:
        getPlayerNames 在接口中 CommandSource
        Mappings:
        Namespace Name Mixin selector
        official l Ldi;l()Ljava/util/Collection;
        intermediary method_9262 Lnet/minecraft/class_2172;method_9262()Ljava/util/Collection;
        named getPlayerNames Lnet/minecraft/command/CommandSource;getPlayerNames()Ljava/util/Collection;
      • getTeamNames

        public Collection<String> getTeamNames()
        指定者:
        getTeamNames 在接口中 CommandSource
        Mappings:
        Namespace Name Mixin selector
        official m Ldi;m()Ljava/util/Collection;
        intermediary method_9267 Lnet/minecraft/class_2172;method_9267()Ljava/util/Collection;
        named getTeamNames Lnet/minecraft/command/CommandSource;getTeamNames()Ljava/util/Collection;
      • getSoundIds

        public Collection<Identifier> getSoundIds()
        指定者:
        getSoundIds 在接口中 CommandSource
        Mappings:
        Namespace Name Mixin selector
        official n Ldi;n()Ljava/util/Collection;
        intermediary method_9254 Lnet/minecraft/class_2172;method_9254()Ljava/util/Collection;
        named getSoundIds Lnet/minecraft/command/CommandSource;getSoundIds()Ljava/util/Collection;
      • getRecipeIds

        public Stream<Identifier> getRecipeIds()
        指定者:
        getRecipeIds 在接口中 CommandSource
        Mappings:
        Namespace Name Mixin selector
        official o Ldi;o()Ljava/util/stream/Stream;
        intermediary method_9273 Lnet/minecraft/class_2172;method_9273()Ljava/util/stream/Stream;
        named getRecipeIds Lnet/minecraft/command/CommandSource;getRecipeIds()Ljava/util/stream/Stream;
      • getCompletions

        public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> getCompletions​(com.mojang.brigadier.context.CommandContext<CommandSource> context,
                                                                                             com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
        指定者:
        getCompletions 在接口中 CommandSource
        Mappings:
        Namespace Name Mixin selector
        official a Ldi;a(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        intermediary method_9261 Lnet/minecraft/class_2172;method_9261(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        named getCompletions Lnet/minecraft/command/CommandSource;getCompletions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      • getWorldKeys

        public Set<RegistryKey<World>> getWorldKeys()
        指定者:
        getWorldKeys 在接口中 CommandSource
        Mappings:
        Namespace Name Mixin selector
        official p Ldi;p()Ljava/util/Set;
        intermediary method_29310 Lnet/minecraft/class_2172;method_29310()Ljava/util/Set;
        named getWorldKeys Lnet/minecraft/command/CommandSource;getWorldKeys()Ljava/util/Set;
      • getRegistryManager

        public DynamicRegistryManager getRegistryManager()
        指定者:
        getRegistryManager 在接口中 CommandSource
        Mappings:
        Namespace Name Mixin selector
        official q Ldi;q()Lgs;
        intermediary method_30497 Lnet/minecraft/class_2172;method_30497()Lnet/minecraft/class_5455;
        named getRegistryManager Lnet/minecraft/command/CommandSource;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;