Minecraft::IO
Constants
ABS_MAX_LP_VEC3 = 1.7179869183e10
ABS_MIN_LP_VEC3 = 3.051944088384301e-5
Instance methods
read_angle256_deg
Sourceread_bit_location
Sourceread_bool
Sourceread_byte
Sourceread_double
Sourceread_float
Sourceread_int
Sourceread_long
Sourceread_lp_vec3
Read LpVec3 (packed velocity format used in 1.21.11+) See decompiled net.minecraft.network.LpVec3 for reference
read_nbt
Sourceread_nbt_unamed
Sourceread_opt_string
Sourceread_short
Sourceread_signed_byte
Sourceread_text_component
Sourceread_ushort
Sourceread_uuid
Sourceread_var_bytes
Sourceread_var_int
Sourceread_var_long
Sourceread_var_string(size : UInt32) : String
Sourceread_var_string
Sourcewrite(value : Bool)
Sourcewrite(str : String)
Sourcewrite(value : Float32 | Float64 | UInt8 | Int8)
Sourcewrite(uuid : UUID)
Sourcewrite(nbt : NBT::Tag)
Sourcewrite(slot : Rosegold::Slot)
Sourcewrite(text_component : Rosegold::TextComponent)
Sourcewrite(angle : Minecraft::Angle)
Sourcewrite(location : Rosegold::Vec3i)
Sourcewrite_angle256_deg(deg : Float32 | Float64)
Sourcewrites all bytes even for small magnitudes, not var int
write_lp_vec3(vx : Float64, vy : Float64, vz : Float64)
Write LpVec3 (packed velocity format used in 1.21.11+)
write_opt_string(str : String | Nil)
Source