Package net.minecraft.server.command
Interface CommandOutput
- All Known Implementing Classes:
AbstractClientPlayerEntity,AbstractDecorationEntity,AbstractDonkeyEntity,AbstractFireballEntity,AbstractHorseEntity,AbstractMinecartEntity,AbstractPiglinEntity,AbstractSkeletonEntity,AllayEntity,AmbientEntity,AnimalEntity,AreaEffectCloudEntity,ArmorStandEntity,ArrowEntity,AxolotlEntity,BatEntity,BeeEntity,BlazeEntity,BoatEntity,CamelEntity,CatEntity,CaveSpiderEntity,ChestBoatEntity,ChestMinecartEntity,ChickenEntity,ClientPlayerEntity,CodEntity,CommandBlockExecutor,CommandBlockMinecartEntity,CommandBlockMinecartEntity.CommandExecutor,CowEntity,CreeperEntity,DebugCommand.Tracer,DisplayEntity,DisplayEntity.BlockDisplayEntity,DisplayEntity.ItemDisplayEntity,DisplayEntity.TextDisplayEntity,DolphinEntity,DonkeyEntity,DragonFireballEntity,DrownedEntity,EggEntity,ElderGuardianEntity,EndCrystalEntity,EnderDragonEntity,EnderDragonPart,EndermanEntity,EndermiteEntity,EnderPearlEntity,Entity,EvokerEntity,EvokerFangsEntity,ExperienceBottleEntity,ExperienceOrbEntity,ExplosiveProjectileEntity,EyeOfEnderEntity,FallingBlockEntity,FireballEntity,FireworkRocketEntity,FishEntity,FishingBobberEntity,FlyingEntity,FoxEntity,FrogEntity,FurnaceMinecartEntity,GhastEntity,GiantEntity,GlowItemFrameEntity,GlowSquidEntity,GoatEntity,GolemEntity,GuardianEntity,HoglinEntity,HopperMinecartEntity,HorseEntity,HostileEntity,HuskEntity,IllagerEntity,IllusionerEntity,IntegratedServer,InteractionEntity,IronGolemEntity,ItemEntity,ItemFrameEntity,LeashKnotEntity,LightningEntity,LivingEntity,LlamaEntity,LlamaSpitEntity,MagmaCubeEntity,MarkerEntity,MerchantEntity,MinecartEntity,MinecraftDedicatedServer,MinecraftServer,MobEntity,MooshroomEntity,MuleEntity,OcelotEntity,OtherClientPlayerEntity,PaintingEntity,PandaEntity,ParrotEntity,PassiveEntity,PathAwareEntity,PatrolEntity,PersistentProjectileEntity,PhantomEntity,PigEntity,PiglinBruteEntity,PiglinEntity,PillagerEntity,PlayerEntity,PolarBearEntity,PotionEntity,ProjectileEntity,PufferfishEntity,RabbitEntity,RaiderEntity,RavagerEntity,RconCommandOutput,SalmonEntity,SchoolingFishEntity,ServerPlayerEntity,SheepEntity,ShulkerBulletEntity,ShulkerEntity,SilverfishEntity,SkeletonEntity,SkeletonHorseEntity,SlimeEntity,SmallFireballEntity,SnifferEntity,SnowballEntity,SnowGolemEntity,SpawnerMinecartEntity,SpectralArrowEntity,SpellcastingIllagerEntity,SpiderEntity,SquidEntity,StorageMinecartEntity,StrayEntity,StriderEntity,TadpoleEntity,TameableEntity,TameableShoulderEntity,TestServer,ThrownEntity,ThrownItemEntity,TntEntity,TntMinecartEntity,TraderLlamaEntity,TridentEntity,TropicalFishEntity,TurtleEntity,VexEntity,VillagerEntity,VindicatorEntity,WanderingTraderEntity,WardenEntity,WaterCreatureEntity,WitchEntity,WitherEntity,WitherSkeletonEntity,WitherSkullEntity,WolfEntity,ZoglinEntity,ZombieEntity,ZombieHorseEntity,ZombieVillagerEntity,ZombifiedPiglinEntity
public interface CommandOutput
Represents a subject which can receive command feedback.
- Mappings:
Namespace Name official drintermediary net/minecraft/class_2165named net/minecraft/server/command/CommandOutput
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanvoidsendMessage(Text message) Sends a system message.booleanbooleanboolean
-
Field Details
-
DUMMY
- Mappings:
Namespace Name Mixin selector official aLdr;a:Ldr;intermediary field_17395Lnet/minecraft/class_2165;field_17395:Lnet/minecraft/class_2165;named DUMMYLnet/minecraft/server/command/CommandOutput;DUMMY:Lnet/minecraft/server/command/CommandOutput;
-
-
Method Details
-
sendMessage
Sends a system message.- Implementation Note:
- The output location depends on the implementation; players will use the in-game chat, and others will output to the log.
- Mappings:
Namespace Name Mixin selector official aLdr;a(Lsw;)Vintermediary method_43496Lnet/minecraft/class_2165;method_43496(Lnet/minecraft/class_2561;)Vnamed sendMessageLnet/minecraft/server/command/CommandOutput;sendMessage(Lnet/minecraft/text/Text;)V
-
shouldReceiveFeedback
boolean shouldReceiveFeedback()- Mappings:
Namespace Name Mixin selector official e_Ldr;e_()Zintermediary method_9200Lnet/minecraft/class_2165;method_9200()Znamed shouldReceiveFeedbackLnet/minecraft/server/command/CommandOutput;shouldReceiveFeedback()Z
-
shouldTrackOutput
boolean shouldTrackOutput()- Mappings:
Namespace Name Mixin selector official p_Ldr;p_()Zintermediary method_9202Lnet/minecraft/class_2165;method_9202()Znamed shouldTrackOutputLnet/minecraft/server/command/CommandOutput;shouldTrackOutput()Z
-
shouldBroadcastConsoleToOps
boolean shouldBroadcastConsoleToOps()- Mappings:
Namespace Name Mixin selector official M_Ldr;M_()Zintermediary method_9201Lnet/minecraft/class_2165;method_9201()Znamed shouldBroadcastConsoleToOpsLnet/minecraft/server/command/CommandOutput;shouldBroadcastConsoleToOps()Z
-
cannotBeSilenced
default boolean cannotBeSilenced()- Mappings:
Namespace Name Mixin selector official f_Ldr;f_()Zintermediary method_36320Lnet/minecraft/class_2165;method_36320()Znamed cannotBeSilencedLnet/minecraft/server/command/CommandOutput;cannotBeSilenced()Z
-