Rosegold::DataComponents::PotionContents::PotionEffect
Inherits Reference / Object
Potion effect structure
Constructors
read(io) : PotionEffect
Outer PotionEffect wire format = MobEffect Holder (VarInt) + Details.
Details recursion on hidden_effect is into Details only (no repeat of the
leading MobEffect VarInt). See MobEffectInstance.java Details.STREAM_CODEC.
read_details(io, type_id : UInt32) : PotionEffect
SourceInstance methods
ambient=(ambient : Bool)
Sourceambient?
Sourceamplifier
Sourceamplifier=(amplifier : UInt32)
Sourceduration
Sourceshow_icon=(show_icon : Bool)
Sourceshow_icon?
Sourceshow_particles=(show_particles : Bool)
Sourceshow_particles?
Sourcetype_id
Sourcetype_id=(type_id : UInt32)
Sourcewrite(io) : Nil
Sourcewrite_details(io) : Nil
Source