Package net.minecraft.command
Interface CommandSource
- All Known Implementing Classes:
AbstractClientPlayerEntity,class_1766,class_2156,class_481,ClientPlayerEntity,CommandBlockExecutor,Console,IntegratedServer,MinecraftDedicatedServer,MinecraftServer,OtherClientPlayerEntity,PlayerEntity,ServerPlayerEntity
public interface CommandSource
- Mappings:
Namespace Name official acintermediary net/minecraft/class_1061named net/minecraft/command/CommandSource
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanUseCommand(int permissionLevel, String commandLiteral) getWorld()voidsendMessage(Text text)
-
Method Details
-
getTranslationKey
String getTranslationKey()- Mappings:
Namespace Name Mixin selector official b_Lac;b_()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
Text method_6344()- Mappings:
Namespace Name Mixin selector official c_Lac;c_()Lez;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
- Mappings:
Namespace Name Mixin selector official aLac;a(Lez;)Vintermediary method_5505Lnet/minecraft/class_1061;method_5505(Lnet/minecraft/class_1982;)Vnamed sendMessageLnet/minecraft/command/CommandSource;sendMessage(Lnet/minecraft/text/Text;)V
-
canUseCommand
- Mappings:
Namespace Name Mixin selector official aLac;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
-
method_4086
BlockPos method_4086()- Mappings:
Namespace Name Mixin selector official f_Lac;f_()Lr;intermediary method_4086Lnet/minecraft/class_1061;method_4086()Lnet/minecraft/class_851;named method_4086Lnet/minecraft/command/CommandSource;method_4086()Lnet/minecraft/util/math/BlockPos;
-
getWorld
World getWorld()- Mappings:
Namespace Name Mixin selector official dLac;d()Lafm;intermediary method_5506Lnet/minecraft/class_1061;method_5506()Lnet/minecraft/class_1150;named getWorldLnet/minecraft/command/CommandSource;getWorld()Lnet/minecraft/world/World;
-