Documentation ¶
Index ¶
- type BlockBehaviour
- type EntityDescription
- type EntityPropertyJson
- type MinecraftBiome
- type MinecraftBlock
- type MinecraftEntity
- type Pack
- func (b *Pack) AddBiomes(biomesMap map[string]any)
- func (bp *Pack) AddBlock(block protocol.BlockEntry)
- func (bp *Pack) AddDependency(id string, ver resource.Version)
- func (bp *Pack) AddEntity(EntityType string, attr []protocol.AttributeValue, ...)
- func (bp *Pack) AddItem(item protocol.ItemEntry)
- func (bp *Pack) ApplyComponentEntries(entries []protocol.ItemComponentEntry)
- func (bp *Pack) CheckAddLink(pack resource.Pack)
- func (bp *Pack) HasBlocks() bool
- func (bp *Pack) HasContent() bool
- func (bp *Pack) HasEntities() bool
- func (bp *Pack) HasItems() bool
- func (bp *Pack) Save(fs utils.WriterFS, fpath string) error
- type Trait
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockBehaviour ¶ added in v1.41.0
type BlockBehaviour struct { FormatVersion string `json:"format_version"` MinecraftBlock MinecraftBlock `json:"minecraft:block"` }
type EntityDescription ¶ added in v1.28.0
type EntityPropertyJson ¶ added in v1.39.1
type MinecraftBiome ¶ added in v1.31.1
type MinecraftBiome struct {
Description biomeDescription `json:"description"`
}
type MinecraftBlock ¶ added in v1.31.1
type MinecraftEntity ¶ added in v1.28.0
type Pack ¶ added in v1.37.0
func (*Pack) AddBlock ¶ added in v1.37.0
func (bp *Pack) AddBlock(block protocol.BlockEntry)
func (*Pack) AddDependency ¶ added in v1.37.0
func (*Pack) AddEntity ¶ added in v1.37.0
func (bp *Pack) AddEntity(EntityType string, attr []protocol.AttributeValue, meta protocol.EntityMetadata, props map[string]*entity.EntityProperty)
func (*Pack) ApplyComponentEntries ¶ added in v1.37.0
func (bp *Pack) ApplyComponentEntries(entries []protocol.ItemComponentEntry)
func (*Pack) CheckAddLink ¶ added in v1.37.0
func (*Pack) HasContent ¶ added in v1.37.0
func (*Pack) HasEntities ¶ added in v1.37.0
Click to show internal directories.
Click to hide internal directories.