Interface CommandSource

All Known Implementing Classes:
AbstractArrow, AbstractChestedHorse, AbstractClientPlayer, AbstractFish, AbstractGolem, AbstractHorse, AbstractHurtingProjectile, AbstractIllager, AbstractMinecart, AbstractMinecartContainer, AbstractPiglin, AbstractSchoolingFish, AbstractSkeleton, AbstractVillager, AbstractWindCharge, AgeableMob, Allay, AmbientCreature, Animal, AreaEffectCloud, Armadillo, ArmorStand, Arrow, Axolotl, BaseCommandBlock, Bat, Bee, Blaze, Boat, Bogged, Breeze, BreezeWindCharge, Camel, Cat, CaveSpider, ChestBoat, Chicken, Cod, Cow, Creeper, DebugCommand.Tracer, DedicatedServer, Display, Display.BlockDisplay, Display.ItemDisplay, Display.TextDisplay, Dolphin, Donkey, DragonFireball, Drowned, ElderGuardian, EndCrystal, EnderDragon, EnderDragonPart, EnderMan, Endermite, Entity, Evoker, EvokerFangs, ExperienceOrb, EyeOfEnder, FallingBlockEntity, Fireball, FireworkRocketEntity, FishingHook, FlyingMob, Fox, Frog, GameTestServer, Ghast, Giant, GlowItemFrame, GlowSquid, Goat, Guardian, HangingEntity, Hoglin, Horse, Husk, Illusioner, IntegratedServer, Interaction, IronGolem, ItemEntity, ItemFrame, LargeFireball, LeashFenceKnotEntity, LightningBolt, LivingEntity, Llama, LlamaSpit, LocalPlayer, MagmaCube, Marker, Minecart, MinecartChest, MinecartCommandBlock, MinecartCommandBlock.MinecartCommandBase, MinecartFurnace, MinecartHopper, MinecartSpawner, MinecartTNT, MinecraftServer, Mob, Monster, Mule, MushroomCow, Ocelot, OminousItemSpawner, Painting, Panda, Parrot, PartEntity, PathfinderMob, PatrollingMonster, Phantom, Pig, Piglin, PiglinBrute, Pillager, Player, PolarBear, PrimedTnt, Projectile, Pufferfish, Rabbit, Raider, Ravager, RconConsoleSource, RemotePlayer, Salmon, ServerPlayer, Sheep, ShoulderRidingEntity, Shulker, ShulkerBullet, Silverfish, Skeleton, SkeletonHorse, Slime, SmallFireball, Sniffer, Snowball, SnowGolem, SpectralArrow, SpellcasterIllager, Spider, Squid, Stray, Strider, Tadpole, TamableAnimal, ThrowableItemProjectile, ThrowableProjectile, ThrownEgg, ThrownEnderpearl, ThrownExperienceBottle, ThrownPotion, ThrownTrident, TraderLlama, TropicalFish, Turtle, VehicleEntity, Vex, Villager, Vindicator, WanderingTrader, Warden, WaterAnimal, WindCharge, Witch, WitherBoss, WitherSkeleton, WitherSkull, Wolf, Zoglin, Zombie, ZombieHorse, ZombieVillager, ZombifiedPiglin

public interface CommandSource
  • Field Details

  • Method Details

    • sendSystemMessage

      void sendSystemMessage(Component p_230797_)
    • acceptsSuccess

      boolean acceptsSuccess()
    • acceptsFailure

      boolean acceptsFailure()
    • shouldInformAdmins

      boolean shouldInformAdmins()
    • alwaysAccepts

      default boolean alwaysAccepts()