Rosegold::Dimension
Inherits Reference / Object
Constants
REGISTRY_ID = "minecraft:dimension_type"
Constructors
new
SourceClass methods
for_dimension_name(name : String)
Sourcefrom_registry(name : String, dimension_type : UInt32, registries : Hash(String, Rosegold::Clientbound::RegistryData))
Build a Dimension from the server-provided dimension_type registry entry.
dimension_type indexes into minecraft:dimension_type, whose codec NBT
carries the authoritative min_y / height for this server. Falls back
to vanilla defaults keyed by dimension name when the registry is missing
or the entry is unparseable.
new_end
Sourcenew_nether
SourceInstance methods
block_state(location : Vec3d) : UInt16 | Nil
Sourceblock_state(location : Vec3i) : UInt16 | Nil
Sourcechunks
Sourcedimension_type
Sourcedimension_type=(dimension_type : UInt32)
Sourceentities
Sourceentities=(entities : Hash(UInt64, Entity))
Sourceload_chunk(chunk : Chunk)
Sourcemin_y
Sourcename
Sourcenbt
Sourceraycast_entity(start : Vec3d, look : Vec3d, max_distance : Float64) : Entity | Nil
Sourceset_block_state(location : Vec3i, block_state : UInt16)
Sourcetime_of_day
Sourcetime_of_day=(time_of_day : Int64)
Sourceunload_chunk(chunk_pos : ChunkPos)
Sourceworld_age
Sourceworld_age=(world_age : Int64)
Sourceworld_height
Source