FakeOnlinePlayer

abstract class FakeOnlinePlayer(offlinePlayer: OfflinePlayer, location: Location) : Player, OfflinePlayer

A Player which will throw an UnsupportedOperationException when methods which aren't supported by OfflinePlayer are called.

This Player is also granted access to the hasPermission method via permission integrations.

Constructors

Link copied to clipboard
constructor(offlinePlayer: OfflinePlayer, location: Location)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val Player.connection: ServerGamePacketListenerImpl
Link copied to clipboard
val Player.destroyProgress: Double?

The current block destroy progress of the player. Between 0 and 1 or null if the player is not breaking a block at the moment.

Link copied to clipboard
val Entity.eyeInWater: Boolean

If the Entity's eye is underwater.

Link copied to clipboard
Link copied to clipboard

If the Player has is currently looking into an inventory. Does not detect the player's inventory itself because that is not sent to the server.

Link copied to clipboard
val Entity.localizedName: String?

The translation key for the name of this BukkitEntity.

Link copied to clipboard
val Entity.nmsEntity: Entity
Link copied to clipboard
Link copied to clipboard
val Player.serverPlayer: ServerPlayer

Functions

Link copied to clipboard
abstract fun abandonConversation(@NotNull p0: @NotNull Conversation)
abstract fun abandonConversation(@NotNull p0: @NotNull Conversation, @NotNull p1: @NotNull ConversationAbandonedEvent)
Link copied to clipboard
abstract fun acceptConversationInput(@NotNull p0: @NotNull String)
Link copied to clipboard
@NotNull
abstract override fun activeBossBars(): @UnmodifiableView @NotNull MutableIterable<BossBar>
Link copied to clipboard
abstract fun addAdditionalChatCompletions(@NotNull p0: @NotNull MutableCollection<String>)
Link copied to clipboard
@NotNull
abstract fun addAttachment(@NotNull p0: @NotNull Plugin): @NotNull PermissionAttachment
@Nullable
abstract fun addAttachment(@NotNull p0: @NotNull Plugin, p1: Int): @Nullable PermissionAttachment?
@NotNull
abstract fun addAttachment(@NotNull p0: @NotNull Plugin, @NotNull p1: @NotNull String, p2: Boolean): @NotNull PermissionAttachment
@Nullable
abstract fun addAttachment(@NotNull p0: @NotNull Plugin, @NotNull p1: @NotNull String, p2: Boolean, p3: Int): @Nullable PermissionAttachment?
Link copied to clipboard
abstract fun addCustomChatCompletions(@NotNull p0: @NotNull MutableCollection<String>)
Link copied to clipboard
abstract fun addPassenger(@NotNull p0: @NotNull Entity): Boolean
Link copied to clipboard
abstract fun addPotionEffect(@NotNull p0: @NotNull PotionEffect): Boolean
abstract fun addPotionEffect(@NotNull p0: @NotNull PotionEffect, p1: Boolean): Boolean
Link copied to clipboard
abstract fun addPotionEffects(@NotNull p0: @NotNull MutableCollection<PotionEffect>): Boolean
Link copied to clipboard
abstract fun addResourcePack(@NotNull p0: @NotNull UUID, @NotNull p1: @NotNull String, @Nullable p2: ByteArray, @Nullable p3: @Nullable String?, p4: Boolean)
Link copied to clipboard
abstract fun addScoreboardTag(@NotNull p0: @NotNull String): Boolean
Link copied to clipboard
fun Player.addToInventoryOrDrop(vararg items: ItemStack)

Adds items to the Player's inventory or drops them on the ground if there is not enough space

fun Player.addToInventoryOrDrop(items: List<ItemStack>)

Adds items to the Player's inventory or drops them on the ground if there is not enough space.

Link copied to clipboard
fun Player.addToInventoryPrioritizedOrDrop(prioritizedSlot: Int, itemStack: ItemStack)

Puts an ItemStack on the prioritizedSlot or adds it to the Inventory if the given slot is occupied or drops it on the ground if there is not enough space.

fun Player.addToInventoryPrioritizedOrDrop(prioritizedSlot: EquipmentSlot, itemStack: ItemStack)

Puts an ItemStack on the prioritizedSlot or adds it to the Inventory if the given slot is occupied or drops it on the ground if there is not enough space.

Link copied to clipboard
abstract fun applyMending(p0: Int): Int
Link copied to clipboard
@NotNull
open fun asHoverEvent(): @NotNull HoverEvent<HoverEvent.ShowEntity>
@NotNull
open override fun asHoverEvent(@NotNull p0: @NotNull UnaryOperator<HoverEvent.ShowEntity>): @NotNull HoverEvent<HoverEvent.ShowEntity>
Link copied to clipboard
abstract fun attack(@NotNull p0: @NotNull Entity)
Link copied to clipboard
fun Player.awardAdvancement(key: NamespacedKey)
Link copied to clipboard
@Nullable
open override fun <E : BanEntry<in PlayerProfile>> ban(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Duration?, @Nullable p2: @Nullable String?): @Nullable E?
@Nullable
open override fun <E : BanEntry<in PlayerProfile>> ban(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Instant?, @Nullable p2: @Nullable String?): @Nullable E?
@Nullable
open override fun <E : BanEntry<in PlayerProfile>> ban(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?, @Nullable p2: @Nullable String?): @Nullable E?
@Nullable
abstract fun <E : BanEntry<in PlayerProfile>> ban(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Duration?, @Nullable p2: @Nullable String?, p3: Boolean): @Nullable E?
@Nullable
abstract fun <E : BanEntry<in PlayerProfile>> ban(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Instant?, @Nullable p2: @Nullable String?, p3: Boolean): @Nullable E?
@Nullable
abstract fun <E : BanEntry<in PlayerProfile>> ban(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?, @Nullable p2: @Nullable String?, p3: Boolean): @Nullable E?
Link copied to clipboard
@Nullable
abstract fun banIp(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Duration?, @Nullable p2: @Nullable String?, p3: Boolean): @Nullable BanEntry<InetAddress>?
@Nullable
abstract fun banIp(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Instant?, @Nullable p2: @Nullable String?, p3: Boolean): @Nullable BanEntry<InetAddress>?
@Nullable
abstract fun banIp(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?, @Nullable p2: @Nullable String?, p3: Boolean): @Nullable BanEntry<InetAddress>?
Link copied to clipboard
@NotNull
open fun banPlayer(@Nullable p0: @Nullable String?): @NotNull BanEntry<Any>
@NotNull
open fun banPlayer(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?): @NotNull BanEntry<Any>
@NotNull
open fun banPlayer(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable String?): @NotNull BanEntry<Any>
@NotNull
open fun banPlayer(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?, @Nullable p2: @Nullable String?): @NotNull BanEntry<Any>
@NotNull
open fun banPlayer(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?, @Nullable p2: @Nullable String?, p3: Boolean): @NotNull BanEntry<Any>
Link copied to clipboard
@Nullable
open fun banPlayerFull(@Nullable p0: @Nullable String?): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerFull(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerFull(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable String?): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerFull(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?, @Nullable p2: @Nullable String?): @Nullable BanEntry<Any>?
Link copied to clipboard
@Nullable
open fun banPlayerIP(@Nullable p0: @Nullable String?): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerIP(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerIP(@Nullable p0: @Nullable String?, p1: Boolean): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerIP(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable String?): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerIP(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?, p2: Boolean): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerIP(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?, @Nullable p2: @Nullable String?): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerIP(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable String?, p2: Boolean): @Nullable BanEntry<Any>?
@Nullable
open fun banPlayerIP(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable Date?, @Nullable p2: @Nullable String?, p3: Boolean): @Nullable BanEntry<Any>?
Link copied to clipboard
abstract fun beginConversation(@NotNull p0: @NotNull Conversation): Boolean
Link copied to clipboard
@Nullable
open fun boostElytra(@NotNull p0: @NotNull ItemStack): @Nullable Firework?
Link copied to clipboard
abstract fun breakBlock(@NotNull p0: @NotNull Block): Boolean
Link copied to clipboard
abstract fun broadcastHurtAnimation(@NotNull p0: @NotNull MutableCollection<Player>)
Link copied to clipboard
abstract fun broadcastSlotBreak(p0: @NotNull EquipmentSlot)
abstract fun broadcastSlotBreak(p0: @NotNull EquipmentSlot, @NotNull p1: @NotNull MutableCollection<Player>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun canSee(@NotNull p0: @NotNull Entity): Boolean
abstract fun canSee(@NotNull p0: @NotNull Player): Boolean
Link copied to clipboard
abstract fun canUseEquipmentSlot(p0: @NotNull EquipmentSlot): Boolean
Link copied to clipboard
abstract fun chat(@NotNull p0: @NotNull String)
Link copied to clipboard
abstract fun clearActiveItem()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clearTitle()
Link copied to clipboard
abstract fun closeInventory()
abstract fun closeInventory(@NotNull p0: @NotNull InventoryCloseEvent.Reason)
Link copied to clipboard
abstract fun collidesAt(@NotNull p0: @NotNull Location): Boolean
Link copied to clipboard
@ApiStatus.Experimental
abstract fun completeUsingActiveItem()
Link copied to clipboard
@NotNull
@ApiStatus.Experimental
abstract fun copy(): @NotNull Entity
@NotNull
@ApiStatus.Experimental
abstract fun copy(@NotNull p0: @NotNull Location): @NotNull Entity
Link copied to clipboard
@Nullable
@ApiStatus.Experimental
abstract fun createSnapshot(): @Nullable EntitySnapshot?
Link copied to clipboard
abstract fun customName(): @Nullable Component?
abstract fun customName(p0: @Nullable Component?)
Link copied to clipboard
abstract fun damage(p0: Double)
@ApiStatus.Experimental
abstract fun damage(p0: Double, @NotNull p1: @NotNull DamageSource)
abstract fun damage(p0: Double, @Nullable p1: @Nullable Entity?)
Link copied to clipboard
fun LivingEntity.damageItemInHand(hand: EquipmentSlot, damage: Int = 1)

Damages the item in the specified hand by damage amount.

Link copied to clipboard
fun LivingEntity.damageItemInMainHand(damage: Int = 1)

Damages the item in the entity's main hand by damage amount.

Link copied to clipboard
fun LivingEntity.damageItemInOffHand(damage: Int = 1)

Damages the item in the entity's offhand by damage amount.

Link copied to clipboard
abstract fun damageItemStack(p0: @NotNull EquipmentSlot, p1: Int)
@NotNull
abstract fun damageItemStack(@NotNull p0: @NotNull ItemStack, p1: Int): @NotNull ItemStack
Link copied to clipboard
fun LivingEntity.damageToolAttackEntity()

Damages the tool in the entity's main hand as if they've attack an entity.

Link copied to clipboard
fun LivingEntity.damageToolBreakBlock()

Damages the tool in the entity's main hand as if they've broken a block.

Link copied to clipboard
open override fun decrementStatistic(@NotNull p0: @NotNull Statistic)
open override fun decrementStatistic(@NotNull p0: @NotNull Statistic, p1: Int)
open override fun decrementStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull Material)
open override fun decrementStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull EntityType)
open override fun decrementStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull Material, p2: Int)
open override fun decrementStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull EntityType, p2: Int)
Link copied to clipboard
open fun deleteMessage(@NotNull signedMessage: @NotNull SignedMessage)
open fun deleteMessage(signature: @NotNull SignedMessage.Signature)
Link copied to clipboard
abstract fun discoverRecipe(@NotNull p0: @NotNull NamespacedKey): Boolean
Link copied to clipboard
abstract fun discoverRecipes(@NotNull p0: @NotNull MutableCollection<NamespacedKey>): Int
Link copied to clipboard
abstract fun displayName(): @NotNull Component
abstract fun displayName(p0: @Nullable Component?)
Link copied to clipboard
abstract fun dropItem(p0: Boolean): Boolean
Link copied to clipboard
abstract fun eject(): Boolean
Link copied to clipboard
@NotNull
open fun filterAudience(@NotNull filter: @NotNull Predicate<in Audience>): @NotNull Audience
Link copied to clipboard
@Nullable
abstract fun fireworkBoost(@NotNull p0: @NotNull ItemStack): @Nullable Firework?
Link copied to clipboard
open fun forEachAudience(@NotNull action: @NotNull Consumer<in Audience>)
Link copied to clipboard
abstract fun fromMobSpawner(): Boolean
Link copied to clipboard
@NotNull
open operator fun <T : Any> get(@NotNull pointer: @NotNull Pointer<T>): @NotNull Optional<T>
Link copied to clipboard
abstract fun getAbsorptionAmount(): Double
Link copied to clipboard
abstract fun getActiveItem(): @NotNull ItemStack
Link copied to clipboard
abstract fun getActiveItemHand(): @NotNull EquipmentSlot
Link copied to clipboard
Link copied to clipboard
abstract fun getActiveItemUsedTime(): Int
Link copied to clipboard
@NotNull
abstract fun getActivePotionEffects(): @NotNull MutableCollection<PotionEffect>
Link copied to clipboard
@Nullable
abstract override fun getAddress(): @Nullable InetSocketAddress?
Link copied to clipboard
@NotNull
abstract fun getAdvancementProgress(@NotNull p0: @NotNull Advancement): @NotNull AdvancementProgress
Link copied to clipboard
abstract fun getAffectsSpawning(): Boolean
Link copied to clipboard
abstract fun getAllowFlight(): Boolean
Link copied to clipboard
abstract fun getArrowCooldown(): Int
Link copied to clipboard
abstract fun getArrowsInBody(): Int
Link copied to clipboard
abstract fun getArrowsStuck(): Int
Link copied to clipboard
@Nullable
@ApiStatus.Experimental
abstract fun getAsString(): @Nullable String?
Link copied to clipboard
abstract fun getAttackCooldown(): Float
Link copied to clipboard
@Nullable
abstract fun getAttribute(@NotNull p0: @NotNull Attribute): @Nullable AttributeInstance?
Link copied to clipboard
@NotNull
abstract fun getBedLocation(): @NotNull Location
Link copied to clipboard
@Nullable
open override fun getBedSpawnLocation(): @Nullable Location?
Link copied to clipboard
abstract fun getBeeStingerCooldown(): Int
Link copied to clipboard
abstract fun getBeeStingersInBody(): Int
Link copied to clipboard
abstract fun getBodyYaw(): Float
Link copied to clipboard
@NotNull
abstract fun getBoundingBox(): @NotNull BoundingBox
Link copied to clipboard
abstract fun getCanPickupItems(): Boolean
Link copied to clipboard
@NotNull
@Contract(value = "-> fail")
abstract fun getCategory(): @NotNull EntityCategory
Link copied to clipboard
@NotNull
open fun getChunk(): @NotNull Chunk
Link copied to clipboard
@Nullable
abstract fun getClientBrandName(): @Nullable String?
Link copied to clipboard
@NotNull
abstract fun <T : Any> getClientOption(p0: @NotNull ClientOption<T>): @NotNull T & Any
Link copied to clipboard
abstract fun getClientViewDistance(): Int
Link copied to clipboard
@NotNull
abstract fun getCollidableExemptions(): @NotNull MutableSet<UUID>
Link copied to clipboard
@NotNull
abstract fun getCompassTarget(): @NotNull Location
Link copied to clipboard
abstract fun getCooldown(@NotNull p0: @NotNull Material): Int
Link copied to clipboard
abstract fun getCooldownPeriod(): Float
Link copied to clipboard
Link copied to clipboard
@Nullable
abstract fun getCustomName(): @Nullable String?
Link copied to clipboard
@Nullable
abstract fun getDeathSound(): @Nullable Sound?
Link copied to clipboard
@NotNull
abstract fun getDiscoveredRecipes(): @NotNull MutableSet<NamespacedKey>
Link copied to clipboard
@NotNull
abstract fun getDisplayName(): @NotNull String
Link copied to clipboard
@NotNull
abstract fun getDrinkingSound(@NotNull p0: @NotNull ItemStack): @NotNull Sound
Link copied to clipboard
@NotNull
abstract fun getEatingSound(@NotNull p0: @NotNull ItemStack): @NotNull Sound
Link copied to clipboard
@NotNull
abstract fun getEffectivePermissions(): @NotNull MutableSet<PermissionAttachmentInfo>
Link copied to clipboard
abstract fun getEnchantmentSeed(): Int
Link copied to clipboard
@NotNull
abstract fun getEnderChest(): @NotNull Inventory
Link copied to clipboard
abstract fun getEntityId(): Int
Link copied to clipboard
@NotNull
abstract fun getEntitySpawnReason(): @NotNull CreatureSpawnEvent.SpawnReason
Link copied to clipboard
abstract override fun getEquipment(): @NotNull EntityEquipment
Link copied to clipboard
abstract fun getExhaustion(): Float
Link copied to clipboard
abstract fun getExp(): Float
Link copied to clipboard
abstract fun getExpCooldown(): Int
Link copied to clipboard
abstract fun getExpToLevel(): Int
Link copied to clipboard
abstract fun getEyeHeight(): Double
abstract fun getEyeHeight(p0: Boolean): Double
Link copied to clipboard
@NotNull
abstract fun getEyeLocation(): @NotNull Location
Link copied to clipboard
@NotNull
abstract fun getFacing(): @NotNull BlockFace
Link copied to clipboard
@NotNull
abstract fun getFallDamageSound(p0: Int): @NotNull Sound
Link copied to clipboard
@NotNull
abstract fun getFallDamageSoundBig(): @NotNull Sound
Link copied to clipboard
@NotNull
abstract fun getFallDamageSoundSmall(): @NotNull Sound
Link copied to clipboard
abstract fun getFallDistance(): Float
Link copied to clipboard
abstract fun getFireTicks(): Int
Link copied to clipboard
open override fun getFirstPlayed(): Long
Link copied to clipboard
@Nullable
abstract fun getFishHook(): @Nullable FishHook?
Link copied to clipboard
abstract fun getFlySpeed(): Float
Link copied to clipboard
abstract fun getFoodLevel(): Int
Link copied to clipboard
abstract fun getForwardsMovement(): Float
Link copied to clipboard
abstract fun getFreezeTicks(): Int
Link copied to clipboard
abstract fun getFrictionState(): TriState
Link copied to clipboard
@NotNull
abstract fun getGameMode(): @NotNull GameMode
Link copied to clipboard
@NotNull
@ApiStatus.Obsolete(since = "1.20.4")
open fun getHandRaised(): @NotNull EquipmentSlot
Link copied to clipboard
@ApiStatus.Obsolete(since = "1.20.4")
open fun getHandRaisedTime(): Int
Link copied to clipboard
@Nullable
abstract fun getHAProxyAddress(): @Nullable InetSocketAddress?
Link copied to clipboard
abstract fun getHealth(): Double
Link copied to clipboard
abstract fun getHealthScale(): Double
Link copied to clipboard
abstract fun getHeight(): Double
Link copied to clipboard
abstract fun getHurtDirection(): Float
Link copied to clipboard
@Nullable
abstract fun getHurtSound(): @Nullable Sound?
Link copied to clipboard
@NotNull
abstract fun getIdleDuration(): @NotNull Duration
Link copied to clipboard
@NotNull
abstract override fun getInventory(): @NotNull PlayerInventory
Link copied to clipboard
@NotNull
abstract fun getItemInHand(): @NotNull ItemStack
Link copied to clipboard
@Nullable
abstract fun getItemInUse(): @Nullable ItemStack?
Link copied to clipboard
abstract fun getItemInUseTicks(): Int
Link copied to clipboard
@NotNull
abstract fun getItemOnCursor(): @NotNull ItemStack
Link copied to clipboard
@ApiStatus.Obsolete(since = "1.20.4")
open fun getItemUseRemainingTime(): Int
Link copied to clipboard
@Nullable
abstract fun getKiller(): @Nullable Player?
Link copied to clipboard
abstract fun getLastDamage(): Double
Link copied to clipboard
@Nullable
abstract fun getLastDamageCause(): @Nullable EntityDamageEvent?
Link copied to clipboard
@Nullable
open override fun getLastDeathLocation(): @Nullable Location?
Link copied to clipboard
open override fun getLastLogin(): Long
Link copied to clipboard
open override fun getLastPlayed(): Long
Link copied to clipboard
open override fun getLastSeen(): Long
Link copied to clipboard
@NotNull
abstract fun getLastTwoTargetBlocks(@Nullable p0: @Nullable MutableSet<Material>?, p1: Int): @NotNull MutableList<Block>
Link copied to clipboard
@NotNull
abstract fun getLeashHolder(): @NotNull Entity
Link copied to clipboard
abstract fun getLevel(): Int
Link copied to clipboard
@NotNull
abstract fun getLineOfSight(@Nullable p0: @Nullable MutableSet<Material>?, p1: Int): @NotNull MutableList<Block>
Link copied to clipboard
@NotNull
abstract fun getListeningPluginChannels(): @NotNull MutableSet<String>
Link copied to clipboard
open override fun getLocale(): String
Link copied to clipboard
@Contract(value = "null -> null; !null -> !null")
@Nullable
abstract fun getLocation(@Nullable p0: @Nullable Location?): @Nullable Location?
open override fun getLocation(): Location
Link copied to clipboard
@NotNull
abstract fun getMainHand(): @NotNull MainHand
Link copied to clipboard
abstract fun getMaxFireTicks(): Int
Link copied to clipboard
abstract fun getMaxFreezeTicks(): Int
Link copied to clipboard
abstract fun getMaxHealth(): Double
Link copied to clipboard
abstract fun getMaximumAir(): Int
Link copied to clipboard
Link copied to clipboard
@Nullable
abstract fun <T : Any> getMemory(@NotNull p0: @NotNull MemoryKey<T>): @Nullable T?
Link copied to clipboard
@NotNull
abstract fun getMetadata(@NotNull p0: @NotNull String): @NotNull MutableList<MetadataValue>
Link copied to clipboard
open override fun getName(): String
Link copied to clipboard
@NotNull
abstract fun getNearbyEntities(p0: Double, p1: Double, p2: Double): @NotNull MutableList<Entity>
Link copied to clipboard
abstract fun getNextArrowRemoval(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun getNoActionTicks(): Int
Link copied to clipboard
abstract fun getNoDamageTicks(): Int
Link copied to clipboard
Link copied to clipboard
@NotNull
abstract fun getOpenInventory(): @NotNull InventoryView
Link copied to clipboard
@Contract(value = "_, null -> _; _, !null -> !null")
@Nullable
open fun <T : Any> getOrDefault(@NotNull pointer: @NotNull Pointer<T>, @Nullable defaultValue: @Nullable T?): @Nullable T?
Link copied to clipboard
open fun <T : Any> getOrDefaultFrom(@NotNull pointer: @NotNull Pointer<T>, @NotNull defaultValue: @NotNull Supplier<out T>): @UnknownNullability T
Link copied to clipboard
@Nullable
abstract fun getOrigin(): @Nullable Location?
Link copied to clipboard
@Nullable
abstract fun getPassenger(): @Nullable Entity?
Link copied to clipboard
@NotNull
abstract fun getPassengers(): @NotNull MutableList<Entity>
Link copied to clipboard
open override fun getPersistentDataContainer(): PersistentDataContainer
Link copied to clipboard
abstract fun getPing(): Int
Link copied to clipboard
@NotNull
abstract fun getPistonMoveReaction(): @NotNull PistonMoveReaction
Link copied to clipboard
abstract fun getPitch(): Float
Link copied to clipboard
@Nullable
open override fun getPlayer(): @Nullable Player?
Link copied to clipboard
@Nullable
abstract fun getPlayerListFooter(): @Nullable String?
Link copied to clipboard
@Nullable
abstract fun getPlayerListHeader(): @Nullable String?
Link copied to clipboard
@NotNull
abstract fun getPlayerListName(): @NotNull String
Link copied to clipboard
@NotNull
open override fun getPlayerProfile(): @NotNull PlayerProfile
Link copied to clipboard
abstract fun getPlayerTime(): Long
Link copied to clipboard
abstract fun getPlayerTimeOffset(): Long
Link copied to clipboard
@Nullable
abstract fun getPlayerWeather(): @Nullable WeatherType?
Link copied to clipboard
abstract fun getPortalCooldown(): Int
Link copied to clipboard
@NotNull
abstract fun getPose(): @NotNull Pose
Link copied to clipboard
@Nullable
abstract fun getPotentialBedLocation(): @Nullable Location?
Link copied to clipboard
@Nullable
abstract fun getPotionEffect(@NotNull p0: @NotNull PotionEffectType): @Nullable PotionEffect?
Link copied to clipboard
@Nullable
abstract fun getPreviousGameMode(): @Nullable GameMode?
Link copied to clipboard
abstract fun getProtocolVersion(): Int
Link copied to clipboard
abstract fun getRemainingAir(): Int
Link copied to clipboard
Link copied to clipboard
@Contract(value = "-> null")
@Nullable
open fun getResourcePackHash(): @Nullable String?
Link copied to clipboard
abstract fun getResourcePackStatus(): @Nullable PlayerResourcePackStatusEvent.Status?
Link copied to clipboard
@Nullable
open override fun getRespawnLocation(): @Nullable Location?
Link copied to clipboard
abstract fun getSaturatedRegenRate(): Int
Link copied to clipboard
abstract fun getSaturation(): Float
Link copied to clipboard
@NotNull
abstract fun getScheduler(): @NotNull EntityScheduler
Link copied to clipboard
@NotNull
abstract fun getScoreboard(): @NotNull Scoreboard
Link copied to clipboard
@NotNull
abstract fun getScoreboardEntryName(): @NotNull String
Link copied to clipboard
@NotNull
abstract fun getScoreboardTags(): @NotNull MutableSet<String>
Link copied to clipboard
abstract fun getSendViewDistance(): Int
Link copied to clipboard
@ApiStatus.Experimental
abstract fun getSentChunkKeys(): @NotNull @Unmodifiable MutableSet<Long>
Link copied to clipboard
@ApiStatus.Experimental
abstract fun getSentChunks(): @NotNull @Unmodifiable MutableSet<Chunk>
Link copied to clipboard
@NotNull
abstract override fun getServer(): @NotNull Server
Link copied to clipboard
abstract fun getShieldBlockingDelay(): Int
Link copied to clipboard
@Nullable
abstract fun getShoulderEntityLeft(): @Nullable Entity?
Link copied to clipboard
@Nullable
abstract fun getShoulderEntityRight(): @Nullable Entity?
Link copied to clipboard
abstract fun getSidewaysMovement(): Float
Link copied to clipboard
abstract fun getSimulationDistance(): Int
Link copied to clipboard
abstract fun getSleepTicks(): Int
Link copied to clipboard
@NotNull
abstract fun getSpawnCategory(): @NotNull SpawnCategory
Link copied to clipboard
@Nullable
abstract fun getSpectatorTarget(): @Nullable Entity?
Link copied to clipboard
abstract fun getStarvationRate(): Int
Link copied to clipboard
open override fun getStatistic(@NotNull p0: @NotNull Statistic): Int
open override fun getStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull Material): Int
open override fun getStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull EntityType): Int
Link copied to clipboard
@NotNull
abstract fun getSwimHighSpeedSplashSound(): @NotNull Sound
Link copied to clipboard
@NotNull
abstract fun getSwimSound(): @NotNull Sound
Link copied to clipboard
@NotNull
abstract fun getSwimSplashSound(): @NotNull Sound
Link copied to clipboard
@Nullable
open fun getTargetBlock(p0: Int): @Nullable Block?
@Nullable
abstract fun getTargetBlock(p0: Int, @NotNull p1: @NotNull TargetBlockInfo.FluidMode): @Nullable Block?
@NotNull
abstract fun getTargetBlock(@Nullable p0: @Nullable MutableSet<Material>?, p1: Int): @NotNull Block
Link copied to clipboard
@Nullable
abstract fun getTargetBlockExact(p0: Int): @Nullable Block?
@Nullable
abstract fun getTargetBlockExact(p0: Int, @NotNull p1: @NotNull FluidCollisionMode): @Nullable Block?
Link copied to clipboard
@Nullable
open fun getTargetBlockFace(p0: Int): @Nullable BlockFace?
@Nullable
abstract fun getTargetBlockFace(p0: Int, @NotNull p1: @NotNull TargetBlockInfo.FluidMode): @Nullable BlockFace?
@Nullable
abstract fun getTargetBlockFace(p0: Int, @NotNull p1: @NotNull FluidCollisionMode): @Nullable BlockFace?
Link copied to clipboard
@Nullable
open fun getTargetBlockInfo(p0: Int): @Nullable TargetBlockInfo?
@Nullable
abstract fun getTargetBlockInfo(p0: Int, @NotNull p1: @NotNull TargetBlockInfo.FluidMode): @Nullable TargetBlockInfo?
Link copied to clipboard
@Nullable
open fun getTargetEntity(p0: Int): @Nullable Entity?
@Nullable
abstract fun getTargetEntity(p0: Int, p1: Boolean): @Nullable Entity?
Link copied to clipboard
@Nullable
open fun getTargetEntityInfo(p0: Int): @Nullable TargetEntityInfo?
@Nullable
abstract fun getTargetEntityInfo(p0: Int, p1: Boolean): @Nullable TargetEntityInfo?
Link copied to clipboard
abstract fun getTicksLived(): Int
Link copied to clipboard
abstract fun getTotalExperience(): Int
Link copied to clipboard
@NotNull
abstract fun getTrackedBy(): @NotNull MutableSet<Player>
Link copied to clipboard
@NotNull
abstract fun getTrackedPlayers(): @NotNull MutableSet<Player>
Link copied to clipboard
@NotNull
abstract fun getType(): @NotNull EntityType
Link copied to clipboard
@NotNull
open override fun getUniqueId(): @NotNull UUID
Link copied to clipboard
Link copied to clipboard
abstract fun getUpwardsMovement(): Float
Link copied to clipboard
@Nullable
abstract fun getVehicle(): @Nullable Entity?
Link copied to clipboard
@NotNull
abstract fun getVelocity(): @NotNull Vector
Link copied to clipboard
abstract fun getViewDistance(): Int
Link copied to clipboard
abstract fun getVirtualHost(): @Nullable InetSocketAddress
Link copied to clipboard
abstract fun getWalkSpeed(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getWardenWarningLevel(): Int
Link copied to clipboard
abstract fun getWidth(): Double
Link copied to clipboard
open override fun getWorld(): World
Link copied to clipboard
@Nullable
abstract fun getWorldBorder(): @Nullable WorldBorder?
Link copied to clipboard
abstract fun getX(): Double
Link copied to clipboard
abstract fun getY(): Double
Link copied to clipboard
abstract fun getYaw(): Float
Link copied to clipboard
abstract fun getZ(): Double
Link copied to clipboard
open fun giveExp(p0: Int)
abstract fun giveExp(p0: Int, p1: Boolean)
Link copied to clipboard
abstract fun giveExpLevels(p0: Int)
Link copied to clipboard
abstract fun hasActiveItem(): Boolean
Link copied to clipboard
abstract fun hasAI(): Boolean
Link copied to clipboard
abstract fun hasCooldown(@NotNull p0: @NotNull Material): Boolean
Link copied to clipboard
abstract fun hasDiscoveredRecipe(@NotNull p0: @NotNull NamespacedKey): Boolean
Link copied to clipboard
abstract fun hasFixedPose(): Boolean
Link copied to clipboard
@NotNull
abstract fun hasFlyingFallDamage(): @NotNull TriState
Link copied to clipboard
abstract fun hasGravity(): Boolean
Link copied to clipboard
abstract fun hasLineOfSight(@NotNull p0: @NotNull Location): Boolean
abstract fun hasLineOfSight(@NotNull p0: @NotNull Entity): Boolean
Link copied to clipboard
abstract fun hasMetadata(@NotNull p0: @NotNull String): Boolean
Link copied to clipboard
abstract fun hasNoPhysics(): Boolean
Link copied to clipboard
open override fun hasPermission(name: String): Boolean
open override fun hasPermission(perm: Permission): Boolean
Link copied to clipboard
open override fun hasPlayedBefore(): Boolean
Link copied to clipboard
abstract fun hasPotionEffect(@NotNull p0: @NotNull PotionEffectType): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun hasSeenWinScreen(): Boolean
Link copied to clipboard
open fun heal(p0: Double)
abstract fun heal(p0: Double, @NotNull p1: @NotNull EntityRegainHealthEvent.RegainReason)
Link copied to clipboard
open fun hideBossBar(@NotNull bar: @NotNull BossBar)
Link copied to clipboard
abstract fun hideEntity(@NotNull p0: @NotNull Plugin, @NotNull p1: @NotNull Entity)
Link copied to clipboard
abstract fun hidePlayer(@NotNull p0: @NotNull Player)
abstract fun hidePlayer(@NotNull p0: @NotNull Plugin, @NotNull p1: @NotNull Player)
Link copied to clipboard
abstract fun hideTitle()
Link copied to clipboard
open override fun identity(): @NotNull Identity
Link copied to clipboard
Link copied to clipboard
open override fun incrementStatistic(@NotNull p0: @NotNull Statistic)
open override fun incrementStatistic(@NotNull p0: @NotNull Statistic, p1: Int)
open override fun incrementStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull Material)
open override fun incrementStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull EntityType)
open override fun incrementStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull Material, p2: Int)
open override fun incrementStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull EntityType, p2: Int)
Link copied to clipboard
Link copied to clipboard
open override fun isBanned(): Boolean
Link copied to clipboard
abstract fun isBlocking(): Boolean
Link copied to clipboard
abstract fun isChunkSent(p0: Long): Boolean
open fun isChunkSent(@NotNull p0: @NotNull Chunk): Boolean
Link copied to clipboard
abstract fun isClimbing(): Boolean
Link copied to clipboard
abstract fun isCollidable(): Boolean
Link copied to clipboard
open override fun isConnected(): Boolean
Link copied to clipboard
abstract fun isConversing(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun isDead(): Boolean
Link copied to clipboard
abstract fun isDeeplySleeping(): Boolean
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract fun isFlying(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun isFrozen(): Boolean
Link copied to clipboard
abstract fun isGliding(): Boolean
Link copied to clipboard
abstract fun isGlowing(): Boolean
Link copied to clipboard
@ApiStatus.Obsolete(since = "1.20.4")
abstract override fun isHandRaised(): Boolean
Link copied to clipboard
abstract fun isHealthScaled(): Boolean
Link copied to clipboard
abstract fun isInBubbleColumn(): Boolean
Link copied to clipboard
abstract fun isInLava(): Boolean
Link copied to clipboard
abstract fun isInPowderedSnow(): Boolean
Link copied to clipboard
abstract fun isInRain(): Boolean
Link copied to clipboard
abstract fun isInsideVehicle(): Boolean
Link copied to clipboard
abstract override fun isInvisible(): Boolean
Link copied to clipboard
abstract fun isInvulnerable(): Boolean
Link copied to clipboard
abstract fun isInWater(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun isInWaterOrRain(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun isInWorld(): Boolean
Link copied to clipboard
abstract fun isJumping(): Boolean
Link copied to clipboard
abstract fun isLeashed(): Boolean
Link copied to clipboard
abstract fun isListed(@NotNull p0: @NotNull Player): Boolean
Link copied to clipboard
abstract override fun isOnGround(): Boolean
Link copied to clipboard
open override fun isOnline(): Boolean
Link copied to clipboard
open override fun isOp(): Boolean
Link copied to clipboard
open override fun isPermissionSet(name: String): Boolean
open override fun isPermissionSet(perm: Permission): Boolean
Link copied to clipboard
abstract fun isPersistent(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun isRiptiding(): Boolean
Link copied to clipboard
abstract fun isSilent(): Boolean
Link copied to clipboard
abstract fun isSleeping(): Boolean
Link copied to clipboard
abstract fun isSleepingIgnored(): Boolean
Link copied to clipboard
abstract override fun isSneaking(): Boolean
Link copied to clipboard
abstract fun isSprinting(): Boolean
Link copied to clipboard
abstract fun isSwimming(): Boolean
Link copied to clipboard
abstract fun isTicking(): Boolean
Link copied to clipboard
abstract fun isTransferred(): Boolean
Link copied to clipboard
abstract fun isUnderWater(): Boolean
Link copied to clipboard
abstract fun isValid(): Boolean
Link copied to clipboard
abstract fun isVisibleByDefault(): Boolean
Link copied to clipboard
abstract fun isVisualFire(): Boolean
Link copied to clipboard
open override fun isWhitelisted(): Boolean
Link copied to clipboard
abstract fun kick()
abstract fun kick(p0: @Nullable Component?)
abstract fun kick(p0: @Nullable Component?, p1: @NotNull PlayerKickEvent.Cause)
Link copied to clipboard
abstract fun kickPlayer(@Nullable p0: @Nullable String?)
Link copied to clipboard
abstract fun knockback(p0: Double, p1: Double, p2: Double)
Link copied to clipboard
@NotNull
abstract fun <T : Projectile> launchProjectile(@NotNull p0: @NotNull Class<out T>): @NotNull T & Any
@NotNull
abstract fun <T : Projectile> launchProjectile(@NotNull p0: @NotNull Class<out T>, @Nullable p1: @Nullable Vector?): @NotNull T & Any
@NotNull
abstract fun <T : Projectile> launchProjectile(@NotNull p0: @NotNull Class<out T>, @Nullable p1: @Nullable Vector?, p2: @Nullable Consumer<in T>?): @NotNull T & Any
Link copied to clipboard
abstract fun leaveVehicle(): Boolean
Link copied to clipboard
abstract fun listPlayer(@NotNull p0: @NotNull Player): Boolean
Link copied to clipboard
abstract fun loadData()
Link copied to clipboard
open override fun locale(): Locale
Link copied to clipboard
abstract fun lockFreezeTicks(p0: Boolean)
Link copied to clipboard
open fun lookAt(@NotNull p0: @NotNull Position, @NotNull p1: @NotNull LookAnchor)
abstract fun lookAt(@NotNull p0: @NotNull Entity, @NotNull p1: @NotNull LookAnchor, @NotNull p2: @NotNull LookAnchor)
abstract fun lookAt(p0: Double, p1: Double, p2: Double, @NotNull p3: @NotNull LookAnchor)
Link copied to clipboard
abstract fun name(): @NotNull Component
Link copied to clipboard
@Nullable
abstract fun openAnvil(@Nullable p0: @Nullable Location?, p1: Boolean): @Nullable InventoryView?
Link copied to clipboard
open fun openBook(@NotNull book: @NotNull Book)
open fun openBook(book: @NotNull Book.Builder)
abstract fun openBook(@NotNull p0: @NotNull ItemStack)
Link copied to clipboard
@Nullable
abstract fun openCartographyTable(@Nullable p0: @Nullable Location?, p1: Boolean): @Nullable InventoryView?
Link copied to clipboard
@Nullable
abstract fun openEnchanting(@Nullable p0: @Nullable Location?, p1: Boolean): @Nullable InventoryView?
Link copied to clipboard
@Nullable
abstract fun openGrindstone(@Nullable p0: @Nullable Location?, p1: Boolean): @Nullable InventoryView?
Link copied to clipboard
@Nullable
abstract fun openInventory(@NotNull p0: @NotNull Inventory): @Nullable InventoryView?
abstract fun openInventory(@NotNull p0: @NotNull InventoryView)
Link copied to clipboard
@Nullable
abstract fun openLoom(@Nullable p0: @Nullable Location?, p1: Boolean): @Nullable InventoryView?
Link copied to clipboard
@Nullable
abstract fun openMerchant(@NotNull p0: @NotNull Villager, p1: Boolean): @Nullable InventoryView?
@Nullable
abstract fun openMerchant(@NotNull p0: @NotNull Merchant, p1: Boolean): @Nullable InventoryView?
Link copied to clipboard
abstract override fun openSign(@NotNull p0: @NotNull Sign)
abstract override fun openSign(@NotNull p0: @NotNull Sign, @NotNull p1: @NotNull Side)
Link copied to clipboard
@Nullable
abstract fun openSmithingTable(@Nullable p0: @Nullable Location?, p1: Boolean): @Nullable InventoryView?
Link copied to clipboard
@Nullable
abstract fun openStonecutter(@Nullable p0: @Nullable Location?, p1: Boolean): @Nullable InventoryView?
Link copied to clipboard
@Nullable
abstract fun openWorkbench(@Nullable p0: @Nullable Location?, p1: Boolean): @Nullable InventoryView?
Link copied to clipboard
abstract fun performCommand(@NotNull p0: @NotNull String): Boolean
Link copied to clipboard
open fun permissionValue(@NotNull p0: @NotNull String): @NotNull TriState
open fun permissionValue(@NotNull p0: @NotNull Permission): @NotNull TriState
Link copied to clipboard
fun Player.playClickSound()
Link copied to clipboard
abstract fun playEffect(@NotNull p0: @NotNull EntityEffect)
abstract fun <T : Any> playEffect(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull Effect, @Nullable p2: @Nullable T?)
abstract fun playEffect(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull Effect, p2: Int)
Link copied to clipboard
abstract fun playerListFooter(): @Nullable Component?
Link copied to clipboard
abstract fun playerListHeader(): @Nullable Component?
Link copied to clipboard
abstract fun playerListName(): @NotNull Component
abstract fun playerListName(p0: @Nullable Component?)
Link copied to clipboard
abstract fun playHurtAnimation(p0: Float)
Link copied to clipboard
fun Player.playItemPickupSound()
Link copied to clipboard
abstract fun playNote(@NotNull p0: @NotNull Location, p1: Byte, p2: Byte)
abstract fun playNote(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull Instrument, @NotNull p2: @NotNull Note)
Link copied to clipboard
open fun playPickupItemAnimation(@NotNull p0: @NotNull Item)
abstract fun playPickupItemAnimation(@NotNull p0: @NotNull Item, p1: Int)
Link copied to clipboard
open fun playSound(@NotNull sound: @NotNull Sound)
open fun playSound(@NotNull sound: @NotNull Sound, emitter: @NotNull Sound.Emitter)
open fun playSound(@NotNull sound: @NotNull Sound, x: Double, y: Double, z: Double)
abstract fun playSound(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull String, p2: Float, p3: Float)
abstract fun playSound(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull Sound, p2: Float, p3: Float)
abstract fun playSound(@NotNull p0: @NotNull Entity, @NotNull p1: @NotNull String, p2: Float, p3: Float)
abstract fun playSound(@NotNull p0: @NotNull Entity, @NotNull p1: @NotNull Sound, p2: Float, p3: Float)
abstract fun playSound(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull String, @NotNull p2: @NotNull SoundCategory, p3: Float, p4: Float)
abstract fun playSound(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull Sound, @NotNull p2: @NotNull SoundCategory, p3: Float, p4: Float)
abstract fun playSound(@NotNull p0: @NotNull Entity, @NotNull p1: @NotNull String, @NotNull p2: @NotNull SoundCategory, p3: Float, p4: Float)
abstract fun playSound(@NotNull p0: @NotNull Entity, @NotNull p1: @NotNull Sound, @NotNull p2: @NotNull SoundCategory, p3: Float, p4: Float)
abstract fun playSound(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull String, @NotNull p2: @NotNull SoundCategory, p3: Float, p4: Float, p5: Long)
abstract fun playSound(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull Sound, @NotNull p2: @NotNull SoundCategory, p3: Float, p4: Float, p5: Long)
abstract fun playSound(@NotNull p0: @NotNull Entity, @NotNull p1: @NotNull String, @NotNull p2: @NotNull SoundCategory, p3: Float, p4: Float, p5: Long)
abstract fun playSound(@NotNull p0: @NotNull Entity, @NotNull p1: @NotNull Sound, @NotNull p2: @NotNull SoundCategory, p3: Float, p4: Float, p5: Long)
Link copied to clipboard
@NotNull
open fun pointers(): @NotNull Pointers
Link copied to clipboard
@Nullable
abstract fun rayTraceBlocks(p0: Double): @Nullable RayTraceResult?
@Nullable
abstract fun rayTraceBlocks(p0: Double, @NotNull p1: @NotNull FluidCollisionMode): @Nullable RayTraceResult?
Link copied to clipboard
@Nullable
open fun rayTraceEntities(p0: Int): @Nullable RayTraceResult?
@Nullable
abstract fun rayTraceEntities(p0: Int, p1: Boolean): @Nullable RayTraceResult?
Link copied to clipboard
abstract fun recalculatePermissions()
Link copied to clipboard
abstract fun registerAttribute(@NotNull p0: @NotNull Attribute)
Link copied to clipboard
@Nullable
abstract fun releaseLeftShoulderEntity(): @Nullable Entity?
Link copied to clipboard
@Nullable
abstract fun releaseRightShoulderEntity(): @Nullable Entity?
Link copied to clipboard
abstract fun remove()
Link copied to clipboard
abstract fun removeAdditionalChatCompletions(@NotNull p0: @NotNull MutableCollection<String>)
Link copied to clipboard
abstract fun removeAttachment(@NotNull p0: @NotNull PermissionAttachment)
Link copied to clipboard
abstract fun removeCustomChatCompletions(@NotNull p0: @NotNull MutableCollection<String>)
Link copied to clipboard
abstract fun removeMetadata(@NotNull p0: @NotNull String, @NotNull p1: @NotNull Plugin)
Link copied to clipboard
abstract fun removePassenger(@NotNull p0: @NotNull Entity): Boolean
Link copied to clipboard
abstract fun removePotionEffect(@NotNull p0: @NotNull PotionEffectType)
Link copied to clipboard
abstract fun removeResourcePack(@NotNull p0: @NotNull UUID)
Link copied to clipboard
open fun removeResourcePacks(@NotNull ids: @NotNull MutableIterable<UUID>)
open fun removeResourcePacks(@NotNull request: @NotNull ResourcePackRequest)
open fun removeResourcePacks(@NotNull request: @NotNull ResourcePackRequestLike)
open fun removeResourcePacks(@NotNull id: @NotNull UUID, @NotNull vararg others: @NotNull UUID)
open fun removeResourcePacks(@NotNull request: @NotNull ResourcePackInfoLike, @NotNull vararg others: @NotNull ResourcePackInfoLike)
abstract fun removeResourcePacks()
Link copied to clipboard
abstract fun removeScoreboardTag(@NotNull p0: @NotNull String): Boolean
Link copied to clipboard
abstract fun resetCooldown()
Link copied to clipboard
abstract fun resetIdleDuration()
Link copied to clipboard
abstract fun resetMaxHealth()
Link copied to clipboard
abstract fun resetPlayerTime()
Link copied to clipboard
abstract fun resetPlayerWeather()
Link copied to clipboard
abstract override fun resetTitle()
Link copied to clipboard
@NotNull
abstract fun retrieveCookie(@NotNull p0: @NotNull NamespacedKey): @NotNull CompletableFuture<ByteArray>
Link copied to clipboard
abstract fun saveData()
Link copied to clipboard
fun Player.send(vararg bufs: FriendlyByteBuf, retain: Boolean = true, flush: Boolean = true)
fun Player.send(vararg packets: Packet<*>)
fun Player.send(packets: Iterable<Packet<*>>)
Link copied to clipboard
open fun sendActionBar(@NotNull message: @NotNull Component)
open fun sendActionBar(@NotNull message: @NotNull ComponentLike)
abstract fun sendActionBar(@NotNull vararg p0: @NotNull BaseComponent)
abstract fun sendActionBar(@NotNull p0: @NotNull String)
abstract fun sendActionBar(p0: Char, @NotNull p1: @NotNull String)
Link copied to clipboard
abstract fun sendBlockChange(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull BlockData)
abstract fun sendBlockChange(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull Material, p2: Byte)
Link copied to clipboard
abstract fun sendBlockChanges(@NotNull p0: @NotNull MutableCollection<BlockState>)
abstract fun sendBlockChanges(@NotNull p0: @NotNull MutableCollection<BlockState>, p1: Boolean)
Link copied to clipboard
abstract fun sendBlockDamage(@NotNull p0: @NotNull Location, p1: Float)
abstract fun sendBlockDamage(@NotNull p0: @NotNull Location, p1: Float, p2: Int)
abstract fun sendBlockDamage(@NotNull p0: @NotNull Location, p1: Float, @NotNull p2: @NotNull Entity)
Link copied to clipboard
@ApiStatus.Experimental
abstract fun sendBlockUpdate(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull TileState)
Link copied to clipboard
abstract fun sendEntityEffect(p0: @NotNull EntityEffect, @NotNull p1: @NotNull Entity)
Link copied to clipboard
abstract fun sendEquipmentChange(@NotNull p0: @NotNull LivingEntity, @NotNull p1: @NotNull MutableMap<EquipmentSlot, ItemStack>)
abstract fun sendEquipmentChange(@NotNull p0: @NotNull LivingEntity, @NotNull p1: @NotNull EquipmentSlot, @Nullable p2: @Nullable ItemStack?)
Link copied to clipboard
abstract fun sendExperienceChange(p0: Float)
abstract fun sendExperienceChange(p0: Float, p1: Int)
Link copied to clipboard
abstract fun sendHealthUpdate()
abstract fun sendHealthUpdate(p0: Double, p1: Int, p2: Float)
Link copied to clipboard
abstract fun sendHurtAnimation(p0: Float)
Link copied to clipboard
abstract fun sendLinks(@NotNull p0: @NotNull ServerLinks)
Link copied to clipboard
abstract fun sendMap(@NotNull p0: @NotNull MapView)
Link copied to clipboard
open fun sendMessage(@NotNull message: @NotNull Component)
open fun sendMessage(@NotNull message: @NotNull ComponentLike)
open fun sendMessage(@NotNull signedMessage: @NotNull SignedMessage, boundChatType: @NotNull ChatType.Bound)
open fun sendMessage(@NotNull source: @NotNull Identified, @NotNull message: @NotNull Component)
open fun sendMessage(@NotNull source: @NotNull Identified, @NotNull message: @NotNull ComponentLike)
open fun sendMessage(@NotNull source: @NotNull Identity, @NotNull message: @NotNull Component)
open fun sendMessage(@NotNull source: @NotNull Identity, @NotNull message: @NotNull ComponentLike)
@ApiStatus.ScheduledForRemoval(inVersion = "5.0.0")
open fun sendMessage(@NotNull message: @NotNull Component, @NotNull type: @NotNull MessageType)
open fun sendMessage(@NotNull message: @NotNull Component, boundChatType: @NotNull ChatType.Bound)
@ApiStatus.ScheduledForRemoval(inVersion = "5.0.0")
open fun sendMessage(@NotNull message: @NotNull ComponentLike, @NotNull type: @NotNull MessageType)
open fun sendMessage(@NotNull message: @NotNull ComponentLike, boundChatType: @NotNull ChatType.Bound)
@ApiStatus.ScheduledForRemoval(inVersion = "5.0.0")
open fun sendMessage(@NotNull source: @NotNull Identified, @NotNull message: @NotNull Component, @NotNull type: @NotNull MessageType)
@ApiStatus.ScheduledForRemoval(inVersion = "5.0.0")
open fun sendMessage(@NotNull source: @NotNull Identified, @NotNull message: @NotNull ComponentLike, @NotNull type: @NotNull MessageType)
@ApiStatus.ScheduledForRemoval(inVersion = "5.0.0")
open fun sendMessage(@NotNull source: @NotNull Identity, @NotNull message: @NotNull ComponentLike, @NotNull type: @NotNull MessageType)
@ApiStatus.Obsolete
abstract fun sendMessage(@NotNull vararg p0: @NotNull String)
@ApiStatus.Obsolete
abstract fun sendMessage(@NotNull p0: @NotNull String)
abstract fun sendMessage(@Nullable p0: @Nullable UUID?, @NotNull vararg p1: @NotNull String)
abstract fun sendMessage(@Nullable p0: @Nullable UUID?, @NotNull p1: @NotNull String)
open override fun sendMessage(p0: @NotNull Identity, p1: @NotNull Component, p2: @NotNull MessageType)
open override fun sendMessage(@NotNull vararg p0: @NotNull BaseComponent)
open override fun sendMessage(@NotNull p0: @NotNull BaseComponent)
open fun sendMessage(p0: ChatMessageType, vararg p1: BaseComponent)
Link copied to clipboard
abstract fun sendMultiBlockChange(@NotNull p0: @NotNull MutableMap<out Position, BlockData>)
open fun sendMultiBlockChange(@NotNull p0: @NotNull MutableMap<out Position, BlockData>, p1: Boolean)
Link copied to clipboard
abstract fun sendOpLevel(p0: Byte)
Link copied to clipboard
open fun sendPlainMessage(@NotNull p0: @NotNull String)
Link copied to clipboard
open fun sendPlayerListFooter(@NotNull footer: @NotNull Component)
open fun sendPlayerListFooter(@NotNull footer: @NotNull ComponentLike)
Link copied to clipboard
open fun sendPlayerListHeader(@NotNull header: @NotNull Component)
open fun sendPlayerListHeader(@NotNull header: @NotNull ComponentLike)
Link copied to clipboard
open fun sendPlayerListHeaderAndFooter(@NotNull header: @NotNull Component, @NotNull footer: @NotNull Component)
open fun sendPlayerListHeaderAndFooter(@NotNull header: @NotNull ComponentLike, @NotNull footer: @NotNull ComponentLike)
Link copied to clipboard
abstract fun sendPluginMessage(@NotNull p0: @NotNull Plugin, @NotNull p1: @NotNull String, @NotNull p2: ByteArray)
Link copied to clipboard
abstract fun sendPotionEffectChange(@NotNull p0: @NotNull LivingEntity, @NotNull p1: @NotNull PotionEffect)
Link copied to clipboard
abstract fun sendPotionEffectChangeRemove(@NotNull p0: @NotNull LivingEntity, @NotNull p1: @NotNull PotionEffectType)
Link copied to clipboard
abstract fun sendRawMessage(@Nullable p0: @Nullable UUID?, @NotNull p1: @NotNull String)
abstract override fun sendRawMessage(@NotNull p0: @NotNull String)
Link copied to clipboard
open fun sendResourcePacks(@NotNull request: @NotNull ResourcePackRequest)
open fun sendResourcePacks(@NotNull request: @NotNull ResourcePackRequestLike)
open fun sendResourcePacks(@NotNull first: @NotNull ResourcePackInfoLike, @NotNull vararg others: @NotNull ResourcePackInfoLike)
Link copied to clipboard
open fun sendRichMessage(@NotNull p0: @NotNull String)
open fun sendRichMessage(@NotNull p0: @NotNull String, vararg p1: @NotNull TagResolver)
Link copied to clipboard
abstract fun sendSignChange(@NotNull p0: @NotNull Location, @Nullable p1: Array<@Nullable String?>)
open fun sendSignChange(@NotNull p0: @NotNull Location, @Nullable p1: @Nullable MutableList<out Component>?)
abstract fun sendSignChange(@NotNull p0: @NotNull Location, @Nullable p1: Array<@Nullable String?>, @NotNull p2: @NotNull DyeColor)
open fun sendSignChange(@NotNull p0: @NotNull Location, @Nullable p1: @Nullable MutableList<out Component>?, p2: Boolean)
open fun sendSignChange(@NotNull p0: @NotNull Location, @Nullable p1: @Nullable MutableList<out Component>?, @NotNull p2: @NotNull DyeColor)
abstract fun sendSignChange(@NotNull p0: @NotNull Location, @Nullable p1: Array<@Nullable String?>, @NotNull p2: @NotNull DyeColor, p3: Boolean)
abstract fun sendSignChange(@NotNull p0: @NotNull Location, @Nullable p1: @Nullable MutableList<out Component>?, @NotNull p2: @NotNull DyeColor, p3: Boolean)
Link copied to clipboard
abstract fun sendTitle(@NotNull p0: @NotNull Title)
abstract fun sendTitle(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable String?)
abstract fun sendTitle(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable String?, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open fun <T : Any> sendTitlePart(@NotNull part: @NotNull TitlePart<T>, @NotNull value: @NotNull T & Any)
Link copied to clipboard
@NotNull
open override fun serialize(): @NotNull MutableMap<String, Any>
Link copied to clipboard
abstract fun setAbsorptionAmount(p0: Double)
Link copied to clipboard
Link copied to clipboard
abstract fun setAffectsSpawning(p0: Boolean)
Link copied to clipboard
abstract fun setAI(p0: Boolean)
Link copied to clipboard
abstract fun setAllowFlight(p0: Boolean)
Link copied to clipboard
abstract fun setArrowCooldown(p0: Int)
Link copied to clipboard
open fun setArrowsInBody(p0: Int)
abstract fun setArrowsInBody(p0: Int, p1: Boolean)
Link copied to clipboard
abstract fun setArrowsStuck(p0: Int)
Link copied to clipboard
abstract fun setBedSpawnLocation(@Nullable p0: @Nullable Location?)
abstract fun setBedSpawnLocation(@Nullable p0: @Nullable Location?, p1: Boolean)
Link copied to clipboard
abstract fun setBeeStingerCooldown(p0: Int)
Link copied to clipboard
abstract fun setBeeStingersInBody(p0: Int)
Link copied to clipboard
abstract fun setBodyYaw(p0: Float)
Link copied to clipboard
abstract fun setCanPickupItems(p0: Boolean)
Link copied to clipboard
abstract fun setCollidable(p0: Boolean)
Link copied to clipboard
abstract fun setCompassTarget(@NotNull p0: @NotNull Location)
Link copied to clipboard
abstract fun setCooldown(@NotNull p0: @NotNull Material, p1: Int)
Link copied to clipboard
abstract fun setCustomChatCompletions(@NotNull p0: @NotNull MutableCollection<String>)
Link copied to clipboard
abstract fun setCustomName(@Nullable p0: @Nullable String?)
Link copied to clipboard
abstract fun setCustomNameVisible(p0: Boolean)
Link copied to clipboard
abstract fun setDisplayName(@Nullable p0: @Nullable String?)
Link copied to clipboard
abstract fun setEnchantmentSeed(p0: Int)
Link copied to clipboard
abstract fun setExhaustion(p0: Float)
Link copied to clipboard
abstract fun setExp(p0: Float)
Link copied to clipboard
abstract fun setExpCooldown(p0: Int)
Link copied to clipboard
Link copied to clipboard
abstract fun setFallDistance(p0: Float)
Link copied to clipboard
abstract fun setFireTicks(p0: Int)
Link copied to clipboard
abstract fun setFlying(p0: Boolean)
Link copied to clipboard
abstract fun setFlyingFallDamage(@NotNull p0: @NotNull TriState)
Link copied to clipboard
abstract fun setFlySpeed(p0: Float)
Link copied to clipboard
abstract fun setFoodLevel(p0: Int)
Link copied to clipboard
abstract fun setFreezeTicks(p0: Int)
Link copied to clipboard
abstract fun setFrictionState(p0: TriState)
Link copied to clipboard
abstract fun setGameMode(@NotNull p0: @NotNull GameMode)
Link copied to clipboard
abstract fun setGliding(p0: Boolean)
Link copied to clipboard
abstract fun setGlowing(p0: Boolean)
Link copied to clipboard
abstract fun setGravity(p0: Boolean)
Link copied to clipboard
abstract fun setHasSeenWinScreen(p0: Boolean)
Link copied to clipboard
abstract fun setHealth(p0: Double)
Link copied to clipboard
abstract fun setHealthScale(p0: Double)
Link copied to clipboard
abstract fun setHealthScaled(p0: Boolean)
Link copied to clipboard
abstract override fun setHurtDirection(p0: Float)
Link copied to clipboard
abstract override fun setInvisible(p0: Boolean)
Link copied to clipboard
abstract fun setInvulnerable(p0: Boolean)
Link copied to clipboard
abstract fun setItemInHand(@Nullable p0: @Nullable ItemStack?)
Link copied to clipboard
abstract fun setItemInUseTicks(p0: Int)
Link copied to clipboard
abstract fun setItemOnCursor(@Nullable p0: @Nullable ItemStack?)
Link copied to clipboard
abstract fun setJumping(p0: Boolean)
Link copied to clipboard
abstract fun setKiller(@Nullable p0: @Nullable Player?)
Link copied to clipboard
abstract fun setLastDamage(p0: Double)
Link copied to clipboard
abstract fun setLastDamageCause(@Nullable p0: @Nullable EntityDamageEvent?)
Link copied to clipboard
abstract fun setLastDeathLocation(@Nullable p0: @Nullable Location?)
Link copied to clipboard
abstract fun setLeashHolder(@Nullable p0: @Nullable Entity?): Boolean
Link copied to clipboard
abstract fun setLevel(p0: Int)
Link copied to clipboard
abstract fun setMaxHealth(p0: Double)
Link copied to clipboard
abstract fun setMaximumAir(p0: Int)
Link copied to clipboard
abstract fun setMaximumNoDamageTicks(p0: Int)
Link copied to clipboard
abstract fun <T : Any> setMemory(@NotNull p0: @NotNull MemoryKey<T>, @Nullable p1: @Nullable T?)
Link copied to clipboard
abstract fun setMetadata(@NotNull p0: @NotNull String, @NotNull p1: @NotNull MetadataValue)
Link copied to clipboard
abstract fun setNextArrowRemoval(p0: Int)
Link copied to clipboard
abstract fun setNextBeeStingerRemoval(p0: Int)
Link copied to clipboard
abstract fun setNoActionTicks(p0: Int)
Link copied to clipboard
abstract fun setNoDamageTicks(p0: Int)
Link copied to clipboard
abstract fun setNoPhysics(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open override fun setOp(p0: Boolean)
Link copied to clipboard
abstract fun setPassenger(@NotNull p0: @NotNull Entity): Boolean
Link copied to clipboard
abstract fun setPersistent(p0: Boolean)
Link copied to clipboard
abstract fun setPlayerListFooter(@Nullable p0: @Nullable String?)
Link copied to clipboard
abstract fun setPlayerListHeader(@Nullable p0: @Nullable String?)
Link copied to clipboard
abstract fun setPlayerListHeaderFooter(@Nullable p0: Array<@Nullable BaseComponent?>, @Nullable p1: Array<@Nullable BaseComponent?>)
abstract fun setPlayerListHeaderFooter(@Nullable p0: @Nullable String?, @Nullable p1: @Nullable String?)
abstract fun setPlayerListHeaderFooter(@Nullable p0: @Nullable BaseComponent?, @Nullable p1: @Nullable BaseComponent?)
Link copied to clipboard
abstract fun setPlayerListName(@Nullable p0: @Nullable String?)
Link copied to clipboard
abstract fun setPlayerProfile(p0: @NotNull PlayerProfile)
Link copied to clipboard
abstract fun setPlayerTime(p0: Long, p1: Boolean)
Link copied to clipboard
abstract fun setPlayerWeather(@NotNull p0: @NotNull WeatherType)
Link copied to clipboard
abstract fun setPortalCooldown(p0: Int)
Link copied to clipboard
open fun setPose(@NotNull p0: @NotNull Pose)
abstract fun setPose(@NotNull p0: @NotNull Pose, p1: Boolean)
Link copied to clipboard
abstract fun setRemainingAir(p0: Int)
Link copied to clipboard
abstract fun setRemoveWhenFarAway(p0: Boolean)
Link copied to clipboard
abstract fun setResourcePack(@NotNull p0: @NotNull String)
abstract fun setResourcePack(@NotNull p0: @NotNull String, @Nullable p1: ByteArray)
open fun setResourcePack(@NotNull p0: @NotNull String, @NotNull p1: @NotNull String)
abstract fun setResourcePack(@NotNull p0: @NotNull String, @Nullable p1: ByteArray, p2: Boolean)
abstract fun setResourcePack(@NotNull p0: @NotNull String, @Nullable p1: ByteArray, @Nullable p2: @Nullable String?)
open fun setResourcePack(@NotNull p0: @NotNull String, p1: @Nullable ByteArray, p2: @Nullable Component?)
open fun setResourcePack(@NotNull p0: @NotNull String, @NotNull p1: @NotNull String, p2: Boolean)
abstract fun setResourcePack(@NotNull p0: @NotNull String, @Nullable p1: ByteArray, @Nullable p2: @Nullable String?, p3: Boolean)
open fun setResourcePack(@NotNull p0: @NotNull String, p1: @Nullable ByteArray, p2: @Nullable Component?, p3: Boolean)
open fun setResourcePack(@NotNull p0: @NotNull String, @NotNull p1: @NotNull String, p2: Boolean, p3: @Nullable Component?)
abstract fun setResourcePack(@NotNull p0: @NotNull UUID, @NotNull p1: @NotNull String, @Nullable p2: ByteArray, @Nullable p3: @Nullable String?, p4: Boolean)
abstract fun setResourcePack(@NotNull p0: @NotNull UUID, @NotNull p1: @NotNull String, p2: @Nullable ByteArray, p3: @Nullable Component?, p4: Boolean)
open fun setResourcePack(@NotNull p0: @NotNull UUID, @NotNull p1: @NotNull String, @NotNull p2: @NotNull String, p3: @Nullable Component?, p4: Boolean)
Link copied to clipboard
abstract fun setRespawnLocation(@Nullable p0: @Nullable Location?)
abstract fun setRespawnLocation(@Nullable p0: @Nullable Location?, p1: Boolean)
Link copied to clipboard
abstract fun setRiptiding(p0: Boolean)
Link copied to clipboard
abstract override fun setRotation(p0: Float, p1: Float)
Link copied to clipboard
abstract fun setSaturatedRegenRate(p0: Int)
Link copied to clipboard
abstract fun setSaturation(p0: Float)
Link copied to clipboard
abstract fun setScoreboard(@NotNull p0: @NotNull Scoreboard)
Link copied to clipboard
abstract fun setSendViewDistance(p0: Int)
Link copied to clipboard
abstract fun setShieldBlockingDelay(p0: Int)
Link copied to clipboard
abstract fun setShoulderEntityLeft(@Nullable p0: @Nullable Entity?)
Link copied to clipboard
abstract fun setShoulderEntityRight(@Nullable p0: @Nullable Entity?)
Link copied to clipboard
abstract fun setSilent(p0: Boolean)
Link copied to clipboard
abstract fun setSimulationDistance(p0: Int)
Link copied to clipboard
abstract fun setSleepingIgnored(p0: Boolean)
Link copied to clipboard
abstract override fun setSneaking(p0: Boolean)
Link copied to clipboard
abstract fun setSpectatorTarget(@Nullable p0: @Nullable Entity?)
Link copied to clipboard
abstract fun setSprinting(p0: Boolean)
Link copied to clipboard
abstract fun setStarvationRate(p0: Int)
Link copied to clipboard
open override fun setStatistic(@NotNull p0: @NotNull Statistic, p1: Int)
open override fun setStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull Material, p2: Int)
open override fun setStatistic(@NotNull p0: @NotNull Statistic, @NotNull p1: @NotNull EntityType, p2: Int)
Link copied to clipboard
abstract fun setSubtitle(p0: Array<BaseComponent>)
abstract fun setSubtitle(p0: BaseComponent)
Link copied to clipboard
abstract fun setSwimming(p0: Boolean)
Link copied to clipboard
abstract fun setTexturePack(@NotNull p0: @NotNull String)
Link copied to clipboard
abstract fun setTicksLived(p0: Int)
Link copied to clipboard
abstract fun setTitleTimes(p0: Int, p1: Int, p2: Int)
Link copied to clipboard
abstract fun setTotalExperience(p0: Int)
Link copied to clipboard
abstract fun setUnsaturatedRegenRate(p0: Int)
Link copied to clipboard
abstract fun setVelocity(@NotNull p0: @NotNull Vector)
Link copied to clipboard
abstract fun setViewDistance(p0: Int)
Link copied to clipboard
abstract fun setVisibleByDefault(p0: Boolean)
Link copied to clipboard
abstract fun setVisualFire(p0: Boolean)
Link copied to clipboard
abstract fun setWalkSpeed(p0: Float)
Link copied to clipboard
Link copied to clipboard
abstract fun setWardenWarningCooldown(p0: Int)
Link copied to clipboard
abstract fun setWardenWarningLevel(p0: Int)
Link copied to clipboard
open override fun setWhitelisted(p0: Boolean)
Link copied to clipboard
abstract fun setWindowProperty(@NotNull p0: @NotNull InventoryView.Property, p1: Int): Boolean
Link copied to clipboard
abstract fun setWorldBorder(@Nullable p0: @Nullable WorldBorder?)
Link copied to clipboard
open fun showBossBar(@NotNull bar: @NotNull BossBar)
Link copied to clipboard
abstract fun showDemoScreen()
Link copied to clipboard
abstract fun showElderGuardian(p0: Boolean)
Link copied to clipboard
abstract fun showEntity(@NotNull p0: @NotNull Plugin, @NotNull p1: @NotNull Entity)
Link copied to clipboard
abstract fun showPlayer(@NotNull p0: @NotNull Player)
abstract fun showPlayer(@NotNull p0: @NotNull Plugin, @NotNull p1: @NotNull Player)
Link copied to clipboard
fun Player.showRecipes(id: String): Boolean
fun Player.showRecipes(item: ItemStack): Boolean
Link copied to clipboard
open fun showTitle(@NotNull title: @NotNull Title)
abstract fun showTitle(@Nullable p0: Array<@Nullable BaseComponent?>)
abstract fun showTitle(@Nullable p0: @Nullable BaseComponent?)
abstract fun showTitle(@Nullable p0: Array<@Nullable BaseComponent?>, @Nullable p1: Array<@Nullable BaseComponent?>, p2: Int, p3: Int, p4: Int)
abstract fun showTitle(@Nullable p0: @Nullable BaseComponent?, @Nullable p1: @Nullable BaseComponent?, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
fun Player.showUsages(id: String): Boolean
fun Player.showUsages(item: ItemStack): Boolean
Link copied to clipboard
abstract fun showWinScreen()
Link copied to clipboard
abstract fun sleep(@NotNull p0: @NotNull Location, p1: Boolean): Boolean
Link copied to clipboard
open fun spawnAt(@NotNull p0: @NotNull Location): Boolean
abstract fun spawnAt(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull CreatureSpawnEvent.SpawnReason): Boolean
Link copied to clipboard
abstract fun spawnParticle(@NotNull p0: @NotNull Particle, @NotNull p1: @NotNull Location, p2: Int)
abstract fun <T : Any> spawnParticle(@NotNull p0: @NotNull Particle, @NotNull p1: @NotNull Location, p2: Int, @Nullable p3: @Nullable T?)
abstract fun spawnParticle(@NotNull p0: @NotNull Particle, p1: Double, p2: Double, p3: Double, p4: Int)
abstract fun <T : Any> spawnParticle(@NotNull p0: @NotNull Particle, p1: Double, p2: Double, p3: Double, p4: Int, @Nullable p5: @Nullable T?)
abstract fun spawnParticle(@NotNull p0: @NotNull Particle, @NotNull p1: @NotNull Location, p2: Int, p3: Double, p4: Double, p5: Double)
abstract fun <T : Any> spawnParticle(@NotNull p0: @NotNull Particle, @NotNull p1: @NotNull Location, p2: Int, p3: Double, p4: Double, p5: Double, @Nullable p6: @Nullable T?)
abstract fun spawnParticle(@NotNull p0: @NotNull Particle, @NotNull p1: @NotNull Location, p2: Int, p3: Double, p4: Double, p5: Double, p6: Double)
abstract fun spawnParticle(@NotNull p0: @NotNull Particle, p1: Double, p2: Double, p3: Double, p4: Int, p5: Double, p6: Double, p7: Double)
abstract fun <T : Any> spawnParticle(@NotNull p0: @NotNull Particle, @NotNull p1: @NotNull Location, p2: Int, p3: Double, p4: Double, p5: Double, p6: Double, @Nullable p7: @Nullable T?)
abstract fun <T : Any> spawnParticle(@NotNull p0: @NotNull Particle, p1: Double, p2: Double, p3: Double, p4: Int, p5: Double, p6: Double, p7: Double, @Nullable p8: @Nullable T?)
abstract fun spawnParticle(@NotNull p0: @NotNull Particle, p1: Double, p2: Double, p3: Double, p4: Int, p5: Double, p6: Double, p7: Double, p8: Double)
abstract fun <T : Any> spawnParticle(@NotNull p0: @NotNull Particle, @NotNull p1: @NotNull Location, p2: Int, p3: Double, p4: Double, p5: Double, p6: Double, @Nullable p7: @Nullable T?, p8: Boolean)
abstract fun <T : Any> spawnParticle(@NotNull p0: @NotNull Particle, p1: Double, p2: Double, p3: Double, p4: Int, p5: Double, p6: Double, p7: Double, p8: Double, @Nullable p9: @Nullable T?)
abstract fun <T : Any> spawnParticle(@NotNull p0: @NotNull Particle, p1: Double, p2: Double, p3: Double, p4: Int, p5: Double, p6: Double, p7: Double, p8: Double, @Nullable p9: @Nullable T?, p10: Boolean)
Link copied to clipboard
@NotNull
abstract override fun spigot(): @NotNull Player.Spigot
Link copied to clipboard
abstract fun startRiptideAttack(p0: Int, p1: Float, @Nullable p2: @Nullable ItemStack?)
Link copied to clipboard
@ApiStatus.Experimental
abstract fun startUsingItem(@NotNull p0: @NotNull EquipmentSlot)
Link copied to clipboard
abstract fun stopAllSounds()
Link copied to clipboard
open fun stopSound(@NotNull sound: @NotNull Sound)
open fun stopSound(@NotNull stop: @NotNull SoundStop)
abstract fun stopSound(@NotNull p0: @NotNull String)
abstract fun stopSound(@NotNull p0: @NotNull Sound)
abstract fun stopSound(@NotNull p0: @NotNull SoundCategory)
abstract fun stopSound(@NotNull p0: @NotNull String, @Nullable p1: @Nullable SoundCategory?)
abstract fun stopSound(@NotNull p0: @NotNull Sound, @Nullable p1: @Nullable SoundCategory?)
Link copied to clipboard
abstract fun storeCookie(@NotNull p0: @NotNull NamespacedKey, @NotNull p1: ByteArray)
Link copied to clipboard
open fun swingHand(@NotNull p0: @NotNull EquipmentSlot)
Link copied to clipboard
abstract fun swingMainHand()
Link copied to clipboard
abstract fun swingOffHand()
Link copied to clipboard
abstract fun teamDisplayName(): @NotNull Component
Link copied to clipboard
abstract fun teleport(@NotNull p0: @NotNull Location): Boolean
abstract fun teleport(@NotNull p0: @NotNull Entity): Boolean
open fun teleport(@NotNull p0: @NotNull Location, @NotNull vararg p1: @NotNull TeleportFlag): Boolean
abstract fun teleport(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull PlayerTeleportEvent.TeleportCause): Boolean
abstract fun teleport(@NotNull p0: @NotNull Entity, @NotNull p1: @NotNull PlayerTeleportEvent.TeleportCause): Boolean
abstract fun teleport(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull PlayerTeleportEvent.TeleportCause, @NotNull vararg p2: @NotNull TeleportFlag): Boolean
Link copied to clipboard
fun Entity.teleport(modifyLocation: Location.() -> Unit)

Teleports the BukkitEntity after modifying its location using the modifyLocation lambda.

Link copied to clipboard
open fun teleportAsync(@NotNull p0: @NotNull Location): @NotNull CompletableFuture<Boolean>
open fun teleportAsync(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull PlayerTeleportEvent.TeleportCause): @NotNull CompletableFuture<Boolean>
abstract fun teleportAsync(@NotNull p0: @NotNull Location, @NotNull p1: @NotNull PlayerTeleportEvent.TeleportCause, @NotNull vararg p2: @NotNull TeleportFlag): @NotNull CompletableFuture<Boolean>
Link copied to clipboard
abstract fun transfer(@NotNull p0: @NotNull String, p1: Int)
Link copied to clipboard
abstract fun undiscoverRecipe(@NotNull p0: @NotNull NamespacedKey): Boolean
Link copied to clipboard
abstract fun undiscoverRecipes(@NotNull p0: @NotNull MutableCollection<NamespacedKey>): Int
Link copied to clipboard
abstract fun unlistPlayer(@NotNull p0: @NotNull Player): Boolean
Link copied to clipboard
abstract fun updateCommands()
Link copied to clipboard
abstract fun updateInventory()
Link copied to clipboard
abstract fun updateTitle(@NotNull p0: @NotNull Title)
Link copied to clipboard
abstract fun wakeup(p0: Boolean)
Link copied to clipboard
abstract fun wouldCollideUsing(@NotNull p0: @NotNull BoundingBox): Boolean