FabricRattlePlayer

class FabricRattlePlayer(rattle: FabricRattle, val player: ServerPlayer) : RattlePlayer

Constructors

Link copied to clipboard
constructor(rattle: FabricRattle, player: ServerPlayer)

Properties

Link copied to clipboard
Link copied to clipboard
open override var messages: RattleMessages
Link copied to clipboard
val player: ServerPlayer
Link copied to clipboard
Link copied to clipboard
open override val world: World

Functions

Link copied to clipboard
open override fun audience(): ServerPlayer
Link copied to clipboard
@NotNull
open override fun audiences(): @NotNull MutableIterable<Audience>
Link copied to clipboard
open override fun clearTitle()
Link copied to clipboard
open fun deleteMessage(@NotNull signedMessage: @NotNull SignedMessage)
open override fun deleteMessage(signature: @NotNull SignedMessage.Signature)
Link copied to clipboard
@NotNull
open override fun filterAudience(@NotNull filter: @NotNull Predicate<in Audience>): @NotNull Audience
Link copied to clipboard
open override fun forEachAudience(@NotNull action: @NotNull Consumer<in Audience>)
Link copied to clipboard
@NotNull
open operator override fun <T : Any> get(@NotNull pointer: @NotNull Pointer<T>): @NotNull Optional<T>
Link copied to clipboard
@Contract(value = "_, null -> null; _, !null -> !null")
@Nullable
open override fun <T : Any> getOrDefault(@NotNull pointer: @NotNull Pointer<T>, @Nullable defaultValue: @Nullable T?): @Nullable T?
Link copied to clipboard
open override fun <T : Any> getOrDefaultFrom(@NotNull pointer: @NotNull Pointer<T>, @NotNull defaultValue: @NotNull Supplier<out T>): @UnknownNullability T
Link copied to clipboard
open override fun hideBossBar(@NotNull bar: @NotNull BossBar)
Link copied to clipboard
fun onClick()
Link copied to clipboard
fun onTick()
Link copied to clipboard
open fun openBook(book: @NotNull Book.Builder)
open override fun openBook(@NotNull book: @NotNull Book)
Link copied to clipboard
open override fun playSound(@NotNull sound: @NotNull Sound)
open override fun playSound(@NotNull sound: @NotNull Sound, emitter: @NotNull Sound.Emitter)
open override fun playSound(@NotNull sound: @NotNull Sound, x: Double, y: Double, z: Double)
Link copied to clipboard
@NotNull
open override fun pointers(): @NotNull Pointers
Link copied to clipboard
open override fun resetTitle()
Link copied to clipboard
open fun sendActionBar(@NotNull message: @NotNull ComponentLike)
open override fun sendActionBar(@NotNull message: @NotNull Component)
Link copied to clipboard
open fun sendMessage(@NotNull message: @NotNull ComponentLike)
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)
@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 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)
open override fun sendMessage(@NotNull message: @NotNull Component)
open override fun sendMessage(@NotNull signedMessage: @NotNull SignedMessage, boundChatType: @NotNull ChatType.Bound)
open override fun sendMessage(@NotNull message: @NotNull Component, boundChatType: @NotNull ChatType.Bound)
open override fun sendMessage(@NotNull source: @NotNull Identified, @NotNull message: @NotNull Component, @NotNull type: @NotNull MessageType)
open override fun sendMessage(@NotNull source: @NotNull Identity, @NotNull message: @NotNull Component, @NotNull type: @NotNull MessageType)
Link copied to clipboard
open fun sendPlayerListFooter(@NotNull footer: @NotNull ComponentLike)
open override fun sendPlayerListFooter(@NotNull footer: @NotNull Component)
Link copied to clipboard
open fun sendPlayerListHeader(@NotNull header: @NotNull ComponentLike)
open override fun sendPlayerListHeader(@NotNull header: @NotNull Component)
Link copied to clipboard
open fun sendPlayerListHeaderAndFooter(@NotNull header: @NotNull ComponentLike, @NotNull footer: @NotNull ComponentLike)
open override fun sendPlayerListHeaderAndFooter(@NotNull header: @NotNull Component, @NotNull footer: @NotNull Component)
Link copied to clipboard
open override fun <T : Any> sendTitlePart(@NotNull part: @NotNull TitlePart<T>, @NotNull value: @NotNull T)
Link copied to clipboard
open override fun showBossBar(@NotNull bar: @NotNull BossBar)
Link copied to clipboard
fun showStatsBar(enabled: Boolean)
Link copied to clipboard
open fun showTitle(@NotNull title: @NotNull Title)
Link copied to clipboard
open fun stopSound(@NotNull sound: @NotNull Sound)
open override fun stopSound(@NotNull stop: @NotNull SoundStop)