merge

package
v1.52.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	// contains filtered or unexported fields
}

type BlockRegistry

type BlockRegistry struct {
	world.BlockRegistry
	Rids map[uint32]Block
}

func (*BlockRegistry) BlockByRuntimeID

func (b *BlockRegistry) BlockByRuntimeID(rid uint32) (world.Block, bool)

func (*BlockRegistry) BlockCount

func (b *BlockRegistry) BlockCount() int

func (*BlockRegistry) BlockRuntimeID

func (b *BlockRegistry) BlockRuntimeID(block world.Block) (rid uint32)

func (*BlockRegistry) FilteringBlock

func (b *BlockRegistry) FilteringBlock(rid uint32) uint8

func (*BlockRegistry) LightBlock

func (b *BlockRegistry) LightBlock(rid uint32) uint8

func (*BlockRegistry) LiquidBlock

func (b *BlockRegistry) LiquidBlock(rid uint32) bool

func (*BlockRegistry) LiquidDisplacingBlock

func (b *BlockRegistry) LiquidDisplacingBlock(rid uint32) bool

func (*BlockRegistry) NBTBlock

func (b *BlockRegistry) NBTBlock(rid uint32) bool

func (*BlockRegistry) RandomTickBlock

func (b *BlockRegistry) RandomTickBlock(rid uint32) bool

func (*BlockRegistry) RuntimeIDToState

func (b *BlockRegistry) RuntimeIDToState(runtimeID uint32) (name string, properties map[string]any, found bool)

func (*BlockRegistry) StateToRuntimeID

func (b *BlockRegistry) StateToRuntimeID(name string, properties map[string]any) (runtimeID uint32, found bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL