class
Rosegold::TextComponent::HoverEventComponent
- Rosegold::TextComponent::HoverEventComponent
- Reference
- Object
Included Modules
Defined in:
rosegold/models/text_component.crConstructors
Instance Method Summary
- #action : String
- #action=(action : String)
- #fields : Hash(String, Minecraft::NBT::Tag)
- #fields=(fields : Hash(String, Minecraft::NBT::Tag))
- #key_order : Array(String)
- #key_order=(key_order : Array(String))
Instance methods inherited from module Rosegold::TextComponent::ActionCompound
to_nbt : Minecraft::NBT::CompoundTag
to_nbt
Constructor Detail
def self.new(action : String, fields : Hash(String, Minecraft::NBT::Tag) = {} of String => Minecraft::NBT::Tag, key_order : Array(String) = [] of String)
#