class
Rosegold::DataComponents::TypedEntityData
Overview
TypedEntityData (1.21.11) - VarInt type ID + CompoundTag
Defined in:
rosegold/inventory/slot.crConstructors
- .new(type_id : UInt32 = 0_u32, data : Minecraft::NBT::Tag = Minecraft::NBT::CompoundTag.new)
- .read(io) : self
Instance Method Summary
- #data : Minecraft::NBT::Tag
- #data=(data : Minecraft::NBT::Tag)
- #type_id : UInt32
- #type_id=(type_id : UInt32)
- #write(io) : Nil
Instance methods inherited from class Rosegold::DataComponent
write(io) : Nil
write
Constructor methods inherited from class Rosegold::DataComponent
create_component(component_type : UInt32, io) : DataComponent
create_component,
create_component_by_name(name : String | Nil, component_type : UInt32, io) : DataComponent
create_component_by_name
Constructor Detail
def self.new(type_id : UInt32 = 0_u32, data : Minecraft::NBT::Tag = Minecraft::NBT::CompoundTag.new)
#