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 dr
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 Ldr;a:Ldr;
      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 Ldr;a(Lsw;)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 e_ Ldr;e_()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 q_ Ldr;q_()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 N_ Ldr;N_()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 f_ Ldr;f_()Z
      intermediary method_36320 Lnet/minecraft/class_2165;method_36320()Z
      named cannotBeSilenced Lnet/minecraft/server/command/CommandOutput;cannotBeSilenced()Z