接口 ServerOperator
- 所有已知子接口:
AbstractArrow,AbstractCow,AbstractHorse,AbstractSkeleton,AbstractVillager,AbstractWindCharge,AcaciaBoat,AcaciaChestBoat,Ageable,Allay,Ambient,Animals,AreaEffectCloud,Armadillo,ArmorStand,Arrow,Axolotl,BambooChestRaft,BambooRaft,Bat,Bee,BirchBoat,BirchChestBoat,Blaze,BlockCommandSender,BlockDisplay,Boat,Bogged,Boss,Breedable,Breeze,BreezeWindCharge,Camel,Cat,CaveSpider,CherryBoat,CherryChestBoat,ChestBoat,ChestedHorse,Chicken,Cod,CommandMinecart,CommandSender,ComplexEntityPart,ComplexLivingEntity,ConsoleCommandSender,Cow,Creaking,Creature,Creeper,Damageable,DarkOakBoat,DarkOakChestBoat,Display,Dolphin,Donkey,DragonFireball,Drowned,Egg,ElderGuardian,EnderCrystal,EnderDragon,EnderDragonPart,Enderman,Endermite,EnderPearl,EnderSignal,Enemy,Entity,Evoker,EvokerFangs,ExperienceOrb,Explosive,ExplosiveMinecart,FallingBlock,Fireball,Firework,Fish,FishHook,Flying,Fox,Frog,Ghast,Giant,GlowItemFrame,GlowSquid,Goat,Golem,Guardian,Hanging,HappyGhast,Hoglin,HopperMinecart,Horse,HumanEntity,Husk,Illager,Illusioner,Interaction,IronGolem,Item,ItemDisplay,ItemFrame,JungleBoat,JungleChestBoat,LargeFireball,LeashHitch,LightningStrike,LingeringPotion,LivingEntity,Llama,LlamaSpit,MagmaCube,MangroveBoat,MangroveChestBoat,Marker,Minecart,Mob,Monster,Mule,MushroomCow,NPC,OakBoat,OakChestBoat,Ocelot,OfflinePlayer,OminousItemSpawner,Painting,PaleOakBoat,PaleOakChestBoat,Panda,Parrot,Permissible,Phantom,Pig,Piglin,PiglinAbstract,PiglinBrute,PigZombie,Pillager,Player,PolarBear,PoweredMinecart,Projectile,ProxiedCommandSender,PufferFish,Rabbit,Raider,Ravager,RemoteConsoleCommandSender,RideableMinecart,Salmon,Sheep,Shulker,ShulkerBullet,Silverfish,SizedFireball,Skeleton,SkeletonHorse,Slime,SmallFireball,Sniffer,Snowball,Snowman,SpawnerMinecart,SpectralArrow,Spellcaster,Spider,SplashPotion,SpruceBoat,SpruceChestBoat,Squid,Steerable,StorageMinecart,Stray,Strider,Tadpole,Tameable,TextDisplay,ThrowableProjectile,ThrownExpBottle,ThrownPotion,TippedArrow,TNTPrimed,TraderLlama,Trident,TropicalFish,Turtle,Vehicle,Vex,Villager,Vindicator,WanderingTrader,Warden,WaterMob,WindCharge,Witch,Wither,WitherSkeleton,WitherSkull,Wolf,Zoglin,Zombie,ZombieHorse,ZombieVillager
- 所有已知实现类:
PermissibleBase
public interface ServerOperator
-
方法概要
-
方法详细资料
-
isOp
boolean isOp()检查该对象是否为OP.原文:Checks if this object is a server operator
- 返回:
- 如果为OP则返回true, 否则返回false
-
setOp
void setOp(boolean value) 设置此对象的op状态.原文:Sets the operator status of this object
- 参数:
value- 新op的值(布尔值)
-