Package net.minecraft.commands
Interface CommandSource
- All Known Implementing Classes:
AbstractArrow
,AbstractChestedHorse
,AbstractClientPlayer
,AbstractFish
,AbstractGolem
,AbstractHorse
,AbstractHurtingProjectile
,AbstractIllager
,AbstractMinecart
,AbstractMinecartContainer
,AbstractPiglin
,AbstractSchoolingFish
,AbstractSkeleton
,AbstractVillager
,AgeableMob
,AmbientCreature
,Animal
,AreaEffectCloud
,ArmorStand
,Arrow
,Axolotl
,BaseCommandBlock
,Bat
,Bee
,Blaze
,Boat
,Cat
,CaveSpider
,Chicken
,Cod
,Cow
,Creeper
,DebugCommand.Tracer
,DedicatedServer
,Dolphin
,Donkey
,DragonFireball
,Drowned
,ElderGuardian
,EndCrystal
,EnderDragon
,EnderDragonPart
,EnderMan
,Endermite
,Entity
,EntityRendererEventsTest.MyEntity
,Evoker
,EvokerFangs
,ExperienceOrb
,EyeOfEnder
,FakePlayer
,FallingBlockEntity
,Fireball
,FireworkRocketEntity
,FishingHook
,FlyingMob
,Fox
,GameTestServer
,Ghast
,Giant
,GlowItemFrame
,GlowSquid
,Goat
,Guardian
,HangingEntity
,Hoglin
,Horse
,Husk
,Illusioner
,IntegratedServer
,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
,Painting
,Panda
,Parrot
,PartEntity
,PartEntityTest.TestEntity
,PartEntityTest.TestEntityPart
,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
,Snowball
,SnowGolem
,SpectralArrow
,SpellcasterIllager
,Spider
,Squid
,Stray
,Strider
,TamableAnimal
,ThrowableItemProjectile
,ThrowableProjectile
,ThrownEgg
,ThrownEnderpearl
,ThrownExperienceBottle
,ThrownPotion
,ThrownTrident
,TraderLlama
,TropicalFish
,Turtle
,Vex
,Villager
,Vindicator
,WanderingTrader
,WaterAnimal
,Witch
,WitherBoss
,WitherSkeleton
,WitherSkull
,Wolf
,Zoglin
,Zombie
,ZombieHorse
,ZombieVillager
,ZombifiedPiglin
public interface CommandSource
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
default boolean
void
sendMessage
(Component p_80166_, UUID p_80167_) boolean
-
Field Details
-
NULL
-
-
Method Details
-
sendMessage
-
acceptsSuccess
boolean acceptsSuccess() -
acceptsFailure
boolean acceptsFailure() -
shouldInformAdmins
boolean shouldInformAdmins() -
alwaysAccepts
default boolean alwaysAccepts()
-