Package net.minecraft.server.command
Class Console
java.lang.Object
net.minecraft.server.command.Console
- All Implemented Interfaces:
CommandSource
- Mappings:
Namespace Name official mjintermediary net/minecraft/class_808named net/minecraft/server/command/Console
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUseCommand(int permissionLevel, String commandLiteral) voiddestroy()static ConsolegetPos()getWorld()booleanvoidsendMessage(Text text) voidsetStat(CommandStats.Type statsType, int value)
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLmj;a:Lmj;intermediary field_2927Lnet/minecraft/class_808;field_2927:Lnet/minecraft/class_808;named INSTANCELnet/minecraft/server/command/Console;INSTANCE:Lnet/minecraft/server/command/Console;
-
text
- Mappings:
Namespace Name Mixin selector official bLmj;b:Ljava/lang/StringBuffer;intermediary field_2928Lnet/minecraft/class_808;field_2928:Ljava/lang/StringBuffer;named textLnet/minecraft/server/command/Console;text:Ljava/lang/StringBuffer;
-
-
Constructor Details
-
Console
public Console()
-
-
Method Details
-
getInstance
- Mappings:
Namespace Name Mixin selector official hLmj;h()Lmj;intermediary method_10790Lnet/minecraft/class_808;method_10790()Lnet/minecraft/class_808;named getInstanceLnet/minecraft/server/command/Console;getInstance()Lnet/minecraft/server/command/Console;
-
destroy
- Mappings:
Namespace Name Mixin selector official iLmj;i()Vintermediary method_2218Lnet/minecraft/class_808;method_2218()Vnamed destroyLnet/minecraft/server/command/Console;destroy()V
-
getTextAsString
- Mappings:
Namespace Name Mixin selector official jLmj;j()Ljava/lang/String;intermediary method_2219Lnet/minecraft/class_808;method_2219()Ljava/lang/String;named getTextAsStringLnet/minecraft/server/command/Console;getTextAsString()Ljava/lang/String;
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official e_Lm;e_()Ljava/lang/String;intermediary method_2518Lnet/minecraft/class_1061;method_2518()Ljava/lang/String;named getTranslationKeyLnet/minecraft/command/CommandSource;getTranslationKey()Ljava/lang/String;
-
method_6344
- Specified by:
method_6344in interfaceCommandSource- Mappings:
Namespace Name Mixin selector official f_Lm;f_()Leu;intermediary method_6344Lnet/minecraft/class_1061;method_6344()Lnet/minecraft/class_1982;named method_6344Lnet/minecraft/command/CommandSource;method_6344()Lnet/minecraft/text/Text;
-
sendMessage
- Specified by:
sendMessagein interfaceCommandSource- Mappings:
Namespace Name Mixin selector official aLm;a(Leu;)Vintermediary method_5505Lnet/minecraft/class_1061;method_5505(Lnet/minecraft/class_1982;)Vnamed sendMessageLnet/minecraft/command/CommandSource;sendMessage(Lnet/minecraft/text/Text;)V
-
canUseCommand
- Specified by:
canUseCommandin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official aLm;a(ILjava/lang/String;)Zintermediary method_3333Lnet/minecraft/class_1061;method_3333(ILjava/lang/String;)Znamed canUseCommandLnet/minecraft/command/CommandSource;canUseCommand(ILjava/lang/String;)Z
-
getBlockPos
- Specified by:
getBlockPosin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official cLm;c()Lcj;intermediary method_4086Lnet/minecraft/class_1061;method_4086()Lnet/minecraft/class_2552;named getBlockPosLnet/minecraft/command/CommandSource;getBlockPos()Lnet/minecraft/util/math/BlockPos;
-
getPos
- Specified by:
getPosin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official dLm;d()Laui;intermediary method_10787Lnet/minecraft/class_1061;method_10787()Lnet/minecraft/class_236;named getPosLnet/minecraft/command/CommandSource;getPos()Lnet/minecraft/util/math/Vec3d;
-
getWorld
- Specified by:
getWorldin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official eLm;e()Ladm;intermediary method_5506Lnet/minecraft/class_1061;method_5506()Lnet/minecraft/class_1150;named getWorldLnet/minecraft/command/CommandSource;getWorld()Lnet/minecraft/world/World;
-
getEntity
- Specified by:
getEntityin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official fLm;f()Lpk;intermediary method_10788Lnet/minecraft/class_1061;method_10788()Lnet/minecraft/class_864;named getEntityLnet/minecraft/command/CommandSource;getEntity()Lnet/minecraft/entity/Entity;
-
sendCommandFeedback
public boolean sendCommandFeedback()- Specified by:
sendCommandFeedbackin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official u_Lm;u_()Zintermediary method_10789Lnet/minecraft/class_1061;method_10789()Znamed sendCommandFeedbackLnet/minecraft/command/CommandSource;sendCommandFeedback()Z
-
setStat
- Specified by:
setStatin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official aLm;a(Ln$a;I)Vintermediary method_10786Lnet/minecraft/class_1061;method_10786(Lnet/minecraft/class_2598$class_2599;I)Vnamed setStatLnet/minecraft/command/CommandSource;setStat(Lnet/minecraft/command/CommandStats$Type;I)V
-