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, CatEntity, CaveSpiderEntity, ChestBoatEntity, ChestMinecartEntity, ChickenEntity, ClientPlayerEntity, CodEntity, CommandBlockExecutor, CommandBlockMinecartEntity, CommandBlockMinecartEntity.CommandExecutor, CowEntity, CreeperEntity, DebugCommand.Tracer, 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, 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, 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 dq
intermediary net/minecraft/class_2165
named net/minecraft/server/command/CommandOutput
  • Field Details

    • DUMMY

      static final CommandOutput DUMMY
      Mappings:
      Namespace Name Mixin selector
      official a Ldq;a:Ldq;
      intermediary field_17395 Lnet/minecraft/class_2165;field_17395:Lnet/minecraft/class_2165;
      named DUMMY Lnet/minecraft/server/command/CommandOutput;DUMMY:Lnet/minecraft/server/command/CommandOutput;
  • Method Details

    • sendMessage

      void sendMessage(Text message)
      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 a Ldq;a(Lrq;)V
      intermediary method_43496 Lnet/minecraft/class_2165;method_43496(Lnet/minecraft/class_2561;)V
      named sendMessage Lnet/minecraft/server/command/CommandOutput;sendMessage(Lnet/minecraft/text/Text;)V
    • shouldReceiveFeedback

      boolean shouldReceiveFeedback()
      Mappings:
      Namespace Name Mixin selector
      official i_ Ldq;i_()Z
      intermediary method_9200 Lnet/minecraft/class_2165;method_9200()Z
      named shouldReceiveFeedback Lnet/minecraft/server/command/CommandOutput;shouldReceiveFeedback()Z
    • shouldTrackOutput

      boolean shouldTrackOutput()
      Mappings:
      Namespace Name Mixin selector
      official j_ Ldq;j_()Z
      intermediary method_9202 Lnet/minecraft/class_2165;method_9202()Z
      named shouldTrackOutput Lnet/minecraft/server/command/CommandOutput;shouldTrackOutput()Z
    • shouldBroadcastConsoleToOps

      boolean shouldBroadcastConsoleToOps()
      Mappings:
      Namespace Name Mixin selector
      official G_ Ldq;G_()Z
      intermediary method_9201 Lnet/minecraft/class_2165;method_9201()Z
      named shouldBroadcastConsoleToOps Lnet/minecraft/server/command/CommandOutput;shouldBroadcastConsoleToOps()Z
    • cannotBeSilenced

      default boolean cannotBeSilenced()
      Mappings:
      Namespace Name Mixin selector
      official d_ Ldq;d_()Z
      intermediary method_36320 Lnet/minecraft/class_2165;method_36320()Z
      named cannotBeSilenced Lnet/minecraft/server/command/CommandOutput;cannotBeSilenced()Z