Package net.minecraft.server.command
Class ServerCommandSource
java.lang.Object
net.minecraft.server.command.ServerCommandSource
- All Implemented Interfaces:
CommandSource
Represents a command source used on server side.
- See Also:
MinecraftServer.getCommandSource(),Entity.getCommandSource()- Mappings:
Namespace Name official dlintermediary net/minecraft/class_2168named net/minecraft/server/command/ServerCommandSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.CommandSource
CommandSource.RelativePosition -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Textprivate CommandOutputprivate Vec3dstatic com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate com.mojang.brigadier.ResultConsumer<ServerCommandSource>private Vec2fprivate MinecraftServerprivate booleanprivate Stringprivate ServerWorld -
Constructor Summary
ConstructorsModifierConstructorDescriptionServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity)protectedServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity, boolean silent, com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor) -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>getCompletions(com.mojang.brigadier.context.CommandContext<CommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)Gets the entity from this command source or returns null if this command source is not an entity.Gets the entity from this command source or throws a command syntax exception if this command source is not an entity.getName()Gets the player from this command source or throws a command syntax exception if this command source is not a player.getWorld()booleanhasPermissionLevel(int level)mergeConsumers(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> binaryOperator)voidonCommandComplete(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean success, int result)voidvoidsendFeedback(Text message, boolean broadcastToOps)private voidwithConsumer(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer)withEntity(Entity entity)withLevel(int level)withLookingAt(Entity entity, EntityAnchorArgumentType.EntityAnchor anchor)withLookingAt(Vec3d position)withMaxLevel(int level)withOutput(CommandOutput output)withPosition(Vec3d position)withRotation(Vec2f rotation)withWorld(ServerWorld world)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.CommandSource
getBlockPositionSuggestions, getEntitySuggestions, getPositionSuggestions
-
Field Details
-
REQUIRES_PLAYER_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType REQUIRES_PLAYER_EXCEPTION- Mappings:
Namespace Name Mixin selector official aLdl;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_9824Lnet/minecraft/class_2168;field_9824:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named REQUIRES_PLAYER_EXCEPTIONLnet/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 bLdl;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_9827Lnet/minecraft/class_2168;field_9827:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named REQUIRES_ENTITY_EXCEPTIONLnet/minecraft/server/command/ServerCommandSource;REQUIRES_ENTITY_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
output
- Mappings:
Namespace Name Mixin selector official cLdl;c:Ldk;intermediary field_9819Lnet/minecraft/class_2168;field_9819:Lnet/minecraft/class_2165;named outputLnet/minecraft/server/command/ServerCommandSource;output:Lnet/minecraft/server/command/CommandOutput;
-
position
- Mappings:
Namespace Name Mixin selector official dLdl;d:Ldna;intermediary field_9817Lnet/minecraft/class_2168;field_9817:Lnet/minecraft/class_243;named positionLnet/minecraft/server/command/ServerCommandSource;position:Lnet/minecraft/util/math/Vec3d;
-
world
- Mappings:
Namespace Name Mixin selector official eLdl;e:Labr;intermediary field_9828Lnet/minecraft/class_2168;field_9828:Lnet/minecraft/class_3218;named worldLnet/minecraft/server/command/ServerCommandSource;world:Lnet/minecraft/server/world/ServerWorld;
-
level
private final int level- Mappings:
Namespace Name Mixin selector official fLdl;f:Iintermediary field_9815Lnet/minecraft/class_2168;field_9815:Inamed levelLnet/minecraft/server/command/ServerCommandSource;level:I
-
simpleName
- Mappings:
Namespace Name Mixin selector official gLdl;g:Ljava/lang/String;intermediary field_9826Lnet/minecraft/class_2168;field_9826:Ljava/lang/String;named simpleNameLnet/minecraft/server/command/ServerCommandSource;simpleName:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official hLdl;h:Los;intermediary field_9825Lnet/minecraft/class_2168;field_9825:Lnet/minecraft/class_2561;named nameLnet/minecraft/server/command/ServerCommandSource;name:Lnet/minecraft/text/Text;
-
server
- Mappings:
Namespace Name Mixin selector official iLdl;i:Lnet/minecraft/server/MinecraftServer;intermediary field_9818Lnet/minecraft/class_2168;field_9818:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/server/command/ServerCommandSource;server:Lnet/minecraft/server/MinecraftServer;
-
silent
private final boolean silent- Mappings:
Namespace Name Mixin selector official jLdl;j:Zintermediary field_9823Lnet/minecraft/class_2168;field_9823:Znamed silentLnet/minecraft/server/command/ServerCommandSource;silent:Z
-
entity
- Mappings:
Namespace Name Mixin selector official kLdl;k:Latf;intermediary field_9820Lnet/minecraft/class_2168;field_9820:Lnet/minecraft/class_1297;named entityLnet/minecraft/server/command/ServerCommandSource;entity:Lnet/minecraft/entity/Entity;
-
resultConsumer
- Mappings:
Namespace Name Mixin selector official lLdl;l:Lcom/mojang/brigadier/ResultConsumer;intermediary field_9821Lnet/minecraft/class_2168;field_9821:Lcom/mojang/brigadier/ResultConsumer;named resultConsumerLnet/minecraft/server/command/ServerCommandSource;resultConsumer:Lcom/mojang/brigadier/ResultConsumer;
-
entityAnchor
- Mappings:
Namespace Name Mixin selector official mLdl;m:Ldu$a;intermediary field_9816Lnet/minecraft/class_2168;field_9816:Lnet/minecraft/class_2183$class_2184;named entityAnchorLnet/minecraft/server/command/ServerCommandSource;entityAnchor:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
rotation
- Mappings:
Namespace Name Mixin selector official nLdl;n:Ldmz;intermediary field_9822Lnet/minecraft/class_2168;field_9822:Lnet/minecraft/class_241;named rotationLnet/minecraft/server/command/ServerCommandSource;rotation:Lnet/minecraft/util/math/Vec2f;
-
-
Constructor Details
-
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>Ldl;<init>(Ldk;Ldna;Ldmz;Labr;ILjava/lang/String;Los;Lnet/minecraft/server/MinecraftServer;Latf;)Vintermediary <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;)Vnamed <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>Ldl;<init>(Ldk;Ldna;Ldmz;Labr;ILjava/lang/String;Los;Lnet/minecraft/server/MinecraftServer;Latf;ZLcom/mojang/brigadier/ResultConsumer;Ldu$a;)Vintermediary <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;)Vnamed <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
-
-
Method Details
-
withOutput
- Mappings:
Namespace Name Mixin selector official aLdl;a(Ldk;)Ldl;intermediary method_36321Lnet/minecraft/class_2168;method_36321(Lnet/minecraft/class_2165;)Lnet/minecraft/class_2168;named withOutputLnet/minecraft/server/command/ServerCommandSource;withOutput(Lnet/minecraft/server/command/CommandOutput;)Lnet/minecraft/server/command/ServerCommandSource;
-
withEntity
- Mappings:
Namespace Name Mixin selector official aLdl;a(Latf;)Ldl;intermediary method_9232Lnet/minecraft/class_2168;method_9232(Lnet/minecraft/class_1297;)Lnet/minecraft/class_2168;named withEntityLnet/minecraft/server/command/ServerCommandSource;withEntity(Lnet/minecraft/entity/Entity;)Lnet/minecraft/server/command/ServerCommandSource;
-
withPosition
- Mappings:
Namespace Name Mixin selector official aLdl;a(Ldna;)Ldl;intermediary method_9208Lnet/minecraft/class_2168;method_9208(Lnet/minecraft/class_243;)Lnet/minecraft/class_2168;named withPositionLnet/minecraft/server/command/ServerCommandSource;withPosition(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/server/command/ServerCommandSource;
-
withRotation
- Mappings:
Namespace Name Mixin selector official aLdl;a(Ldmz;)Ldl;intermediary method_9216Lnet/minecraft/class_2168;method_9216(Lnet/minecraft/class_241;)Lnet/minecraft/class_2168;named withRotationLnet/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 aLdl;a(Lcom/mojang/brigadier/ResultConsumer;)Ldl;intermediary method_9231Lnet/minecraft/class_2168;method_9231(Lcom/mojang/brigadier/ResultConsumer;)Lnet/minecraft/class_2168;named withConsumerLnet/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 aLdl;a(Lcom/mojang/brigadier/ResultConsumer;Ljava/util/function/BinaryOperator;)Ldl;intermediary method_9209Lnet/minecraft/class_2168;method_9209(Lcom/mojang/brigadier/ResultConsumer;Ljava/util/function/BinaryOperator;)Lnet/minecraft/class_2168;named mergeConsumersLnet/minecraft/server/command/ServerCommandSource;mergeConsumers(Lcom/mojang/brigadier/ResultConsumer;Ljava/util/function/BinaryOperator;)Lnet/minecraft/server/command/ServerCommandSource;
-
withSilent
- Mappings:
Namespace Name Mixin selector official aLdl;a()Ldl;intermediary method_9217Lnet/minecraft/class_2168;method_9217()Lnet/minecraft/class_2168;named withSilentLnet/minecraft/server/command/ServerCommandSource;withSilent()Lnet/minecraft/server/command/ServerCommandSource;
-
withLevel
- Mappings:
Namespace Name Mixin selector official aLdl;a(I)Ldl;intermediary method_9206Lnet/minecraft/class_2168;method_9206(I)Lnet/minecraft/class_2168;named withLevelLnet/minecraft/server/command/ServerCommandSource;withLevel(I)Lnet/minecraft/server/command/ServerCommandSource;
-
withMaxLevel
- Mappings:
Namespace Name Mixin selector official bLdl;b(I)Ldl;intermediary method_9230Lnet/minecraft/class_2168;method_9230(I)Lnet/minecraft/class_2168;named withMaxLevelLnet/minecraft/server/command/ServerCommandSource;withMaxLevel(I)Lnet/minecraft/server/command/ServerCommandSource;
-
withEntityAnchor
- Mappings:
Namespace Name Mixin selector official aLdl;a(Ldu$a;)Ldl;intermediary method_9218Lnet/minecraft/class_2168;method_9218(Lnet/minecraft/class_2183$class_2184;)Lnet/minecraft/class_2168;named withEntityAnchorLnet/minecraft/server/command/ServerCommandSource;withEntityAnchor(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)Lnet/minecraft/server/command/ServerCommandSource;
-
withWorld
- Mappings:
Namespace Name Mixin selector official aLdl;a(Labr;)Ldl;intermediary method_9227Lnet/minecraft/class_2168;method_9227(Lnet/minecraft/class_3218;)Lnet/minecraft/class_2168;named withWorldLnet/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 aLdl;a(Latf;Ldu$a;)Ldl;intermediary method_9220Lnet/minecraft/class_2168;method_9220(Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)Lnet/minecraft/class_2168;named withLookingAtLnet/minecraft/server/command/ServerCommandSource;withLookingAt(Lnet/minecraft/entity/Entity;Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)Lnet/minecraft/server/command/ServerCommandSource;
-
withLookingAt
- Mappings:
Namespace Name Mixin selector official bLdl;b(Ldna;)Ldl;intermediary method_9221Lnet/minecraft/class_2168;method_9221(Lnet/minecraft/class_243;)Lnet/minecraft/class_2168;named withLookingAtLnet/minecraft/server/command/ServerCommandSource;withLookingAt(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/server/command/ServerCommandSource;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official bLdl;b()Los;intermediary method_9223Lnet/minecraft/class_2168;method_9223()Lnet/minecraft/class_2561;named getDisplayNameLnet/minecraft/server/command/ServerCommandSource;getDisplayName()Lnet/minecraft/text/Text;
-
getName
- Mappings:
Namespace Name Mixin selector official cLdl;c()Ljava/lang/String;intermediary method_9214Lnet/minecraft/class_2168;method_9214()Ljava/lang/String;named getNameLnet/minecraft/server/command/ServerCommandSource;getName()Ljava/lang/String;
-
hasPermissionLevel
public boolean hasPermissionLevel(int level)- Specified by:
hasPermissionLevelin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official cLdn;c(I)Zintermediary method_9259Lnet/minecraft/class_2172;method_9259(I)Znamed hasPermissionLevelLnet/minecraft/command/CommandSource;hasPermissionLevel(I)Z
-
getPosition
- Mappings:
Namespace Name Mixin selector official dLdl;d()Ldna;intermediary method_9222Lnet/minecraft/class_2168;method_9222()Lnet/minecraft/class_243;named getPositionLnet/minecraft/server/command/ServerCommandSource;getPosition()Lnet/minecraft/util/math/Vec3d;
-
getWorld
- Mappings:
Namespace Name Mixin selector official eLdl;e()Labr;intermediary method_9225Lnet/minecraft/class_2168;method_9225()Lnet/minecraft/class_3218;named getWorldLnet/minecraft/server/command/ServerCommandSource;getWorld()Lnet/minecraft/server/world/ServerWorld;
-
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 fLdl;f()Latf;intermediary method_9228Lnet/minecraft/class_2168;method_9228()Lnet/minecraft/class_1297;named getEntityLnet/minecraft/server/command/ServerCommandSource;getEntity()Lnet/minecraft/entity/Entity;
-
getEntityOrThrow
Gets the entity from this command source or throws a command syntax exception if this command source is not an entity.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official gLdl;g()Latf;intermediary method_9229Lnet/minecraft/class_2168;method_9229()Lnet/minecraft/class_1297;named getEntityOrThrowLnet/minecraft/server/command/ServerCommandSource;getEntityOrThrow()Lnet/minecraft/entity/Entity;
-
getPlayer
Gets the player from this command source or throws a command syntax exception if this command source is not a player.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official hLdl;h()Labs;intermediary method_9207Lnet/minecraft/class_2168;method_9207()Lnet/minecraft/class_3222;named getPlayerLnet/minecraft/server/command/ServerCommandSource;getPlayer()Lnet/minecraft/server/network/ServerPlayerEntity;
-
getRotation
- Mappings:
Namespace Name Mixin selector official iLdl;i()Ldmz;intermediary method_9210Lnet/minecraft/class_2168;method_9210()Lnet/minecraft/class_241;named getRotationLnet/minecraft/server/command/ServerCommandSource;getRotation()Lnet/minecraft/util/math/Vec2f;
-
getMinecraftServer
- Mappings:
Namespace Name Mixin selector official jLdl;j()Lnet/minecraft/server/MinecraftServer;intermediary method_9211Lnet/minecraft/class_2168;method_9211()Lnet/minecraft/server/MinecraftServer;named getMinecraftServerLnet/minecraft/server/command/ServerCommandSource;getMinecraftServer()Lnet/minecraft/server/MinecraftServer;
-
getEntityAnchor
- Mappings:
Namespace Name Mixin selector official kLdl;k()Ldu$a;intermediary method_9219Lnet/minecraft/class_2168;method_9219()Lnet/minecraft/class_2183$class_2184;named getEntityAnchorLnet/minecraft/server/command/ServerCommandSource;getEntityAnchor()Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
-
sendFeedback
- Mappings:
Namespace Name Mixin selector official aLdl;a(Los;Z)Vintermediary method_9226Lnet/minecraft/class_2168;method_9226(Lnet/minecraft/class_2561;Z)Vnamed sendFeedbackLnet/minecraft/server/command/ServerCommandSource;sendFeedback(Lnet/minecraft/text/Text;Z)V
-
sendToOps
- Mappings:
Namespace Name Mixin selector official bLdl;b(Los;)Vintermediary method_9212Lnet/minecraft/class_2168;method_9212(Lnet/minecraft/class_2561;)Vnamed sendToOpsLnet/minecraft/server/command/ServerCommandSource;sendToOps(Lnet/minecraft/text/Text;)V
-
sendError
- Mappings:
Namespace Name Mixin selector official aLdl;a(Los;)Vintermediary method_9213Lnet/minecraft/class_2168;method_9213(Lnet/minecraft/class_2561;)Vnamed sendErrorLnet/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 aLdl;a(Lcom/mojang/brigadier/context/CommandContext;ZI)Vintermediary method_9215Lnet/minecraft/class_2168;method_9215(Lcom/mojang/brigadier/context/CommandContext;ZI)Vnamed onCommandCompleteLnet/minecraft/server/command/ServerCommandSource;onCommandComplete(Lcom/mojang/brigadier/context/CommandContext;ZI)V
-
getPlayerNames
- Specified by:
getPlayerNamesin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official lLdn;l()Ljava/util/Collection;intermediary method_9262Lnet/minecraft/class_2172;method_9262()Ljava/util/Collection;named getPlayerNamesLnet/minecraft/command/CommandSource;getPlayerNames()Ljava/util/Collection;
-
getTeamNames
- Specified by:
getTeamNamesin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official mLdn;m()Ljava/util/Collection;intermediary method_9267Lnet/minecraft/class_2172;method_9267()Ljava/util/Collection;named getTeamNamesLnet/minecraft/command/CommandSource;getTeamNames()Ljava/util/Collection;
-
getSoundIds
- Specified by:
getSoundIdsin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official nLdn;n()Ljava/util/Collection;intermediary method_9254Lnet/minecraft/class_2172;method_9254()Ljava/util/Collection;named getSoundIdsLnet/minecraft/command/CommandSource;getSoundIds()Ljava/util/Collection;
-
getRecipeIds
- Specified by:
getRecipeIdsin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official oLdn;o()Ljava/util/stream/Stream;intermediary method_9273Lnet/minecraft/class_2172;method_9273()Ljava/util/stream/Stream;named getRecipeIdsLnet/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)- Specified by:
getCompletionsin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official aLdn;a(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary method_9261Lnet/minecraft/class_2172;method_9261(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;named getCompletionsLnet/minecraft/command/CommandSource;getCompletions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getWorldKeys
- Specified by:
getWorldKeysin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official pLdn;p()Ljava/util/Set;intermediary method_29310Lnet/minecraft/class_2172;method_29310()Ljava/util/Set;named getWorldKeysLnet/minecraft/command/CommandSource;getWorldKeys()Ljava/util/Set;
-
getRegistryManager
- Specified by:
getRegistryManagerin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official qLdn;q()Lgx;intermediary method_30497Lnet/minecraft/class_2172;method_30497()Lnet/minecraft/class_5455;named getRegistryManagerLnet/minecraft/command/CommandSource;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-