block_internal

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var World_registeredStates []world.Block

noinspection ALL

Functions

func BlockByTypeName

func BlockByTypeName(name string) (world.Block, bool)

BlockByTypeName attempts to return a block by its type name.

func BlockNames

func BlockNames() []string

BlockNames returns a list of all block names.

func FireDamage

func FireDamage(e world.Entity, amount float64)

FireDamage deals fire damage to the entity.

func LavaDamage

func LavaDamage(e world.Entity, amount float64)

LavaDamage deals lava damage to the entity.

func World_runtimeID

func World_runtimeID(w *world.World, pos world.BlockPos) uint32

noinspection ALL

Types

This section is empty.

Jump to

Keyboard shortcuts

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