EffectData

data class EffectData(val id: Identifier, val category: MobEffectCategory, val color: Int)

Data for a single effect to be synchronized.

Constructors

Link copied to clipboard
constructor(id: Identifier, category: MobEffectCategory, color: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val category: MobEffectCategory
Link copied to clipboard
val color: Int
Link copied to clipboard
val id: Identifier

Functions

Link copied to clipboard
fun write(buf: FriendlyByteBuf)