Documentation ¶
Index ¶
- type BehaviourPack
- func (b *BehaviourPack) AddBiomes(biomesMap map[string]any)
- func (bp *BehaviourPack) AddBlock(block protocol.BlockEntry)
- func (bp *BehaviourPack) AddDependency(id string, ver [3]int)
- func (bp *BehaviourPack) AddEntity(entity EntityIn)
- func (bp *BehaviourPack) AddItem(item protocol.ItemEntry)
- func (bp *BehaviourPack) ApplyComponentEntries(entries []protocol.ItemComponentEntry)
- func (bp *BehaviourPack) CheckAddLink(pack utils.Pack)
- func (bp *BehaviourPack) HasBlocks() bool
- func (bp *BehaviourPack) HasContent() bool
- func (bp *BehaviourPack) HasEntities() bool
- func (bp *BehaviourPack) HasItems() bool
- func (bp *BehaviourPack) Save(fpath string, blockStates []world.BlockState) error
- type EntityDescription
- type EntityIn
- type MinecraftBiome
- type MinecraftBlock
- type MinecraftEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BehaviourPack ¶
func New ¶
func New(name string) *BehaviourPack
func (*BehaviourPack) AddBiomes ¶ added in v1.31.1
func (b *BehaviourPack) AddBiomes(biomesMap map[string]any)
func (*BehaviourPack) AddBlock ¶
func (bp *BehaviourPack) AddBlock(block protocol.BlockEntry)
func (*BehaviourPack) AddDependency ¶
func (bp *BehaviourPack) AddDependency(id string, ver [3]int)
func (*BehaviourPack) AddEntity ¶ added in v1.27.0
func (bp *BehaviourPack) AddEntity(entity EntityIn)
func (*BehaviourPack) AddItem ¶
func (bp *BehaviourPack) AddItem(item protocol.ItemEntry)
func (*BehaviourPack) ApplyComponentEntries ¶
func (bp *BehaviourPack) ApplyComponentEntries(entries []protocol.ItemComponentEntry)
func (*BehaviourPack) CheckAddLink ¶
func (bp *BehaviourPack) CheckAddLink(pack utils.Pack)
func (*BehaviourPack) HasBlocks ¶ added in v1.27.0
func (bp *BehaviourPack) HasBlocks() bool
func (*BehaviourPack) HasContent ¶
func (bp *BehaviourPack) HasContent() bool
func (*BehaviourPack) HasEntities ¶ added in v1.28.1
func (bp *BehaviourPack) HasEntities() bool
func (*BehaviourPack) HasItems ¶ added in v1.27.0
func (bp *BehaviourPack) HasItems() bool
func (*BehaviourPack) Save ¶
func (bp *BehaviourPack) Save(fpath string, blockStates []world.BlockState) error
type EntityDescription ¶ added in v1.28.0
type EntityIn ¶ added in v1.27.0
type EntityIn struct { Identifier string Attr []protocol.AttributeValue Meta protocol.EntityMetadata }
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
Click to show internal directories.
Click to hide internal directories.