Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParsedBlock ¶
Types ¶
type ParsedBlock ¶
type ParsedBlock struct { NameWithoutMC string States describe.Props // State map[string]blocks.PropVal // StateOrder []string LegacyData uint16 NemcRuntimeID int32 Version int32 }
func ConvertRawData ¶
func ConvertRawData(rawData *RawData) []ParsedBlock
type RawBlockPalette ¶
type RawBlockPalette struct { LegacyData uint16 `json:"data"` // up to 5469 @ cobblestone_wall BlockName string `json:"name"` States []RawState `json:"states"` BlockNameHash uint64 `json:"name_hash"` // maybe some hash of block name NetworkID uint32 `json:"network_id"` // maybe some hash of whole block? }
func (RawBlockPalette) DumpStates ¶
type RawData ¶
type RawData struct {
Blocks []RawBlockPalette `json:"blocks"`
}
Click to show internal directories.
Click to hide internal directories.