item_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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Air holds an air block.

View Source
var BoneMeal func(pos world.BlockPos, w *world.World) bool

BoneMeal is a function used to attempt to use it on a block.

View Source
var CarvePumpkin func(b world.Block, face world.Face) world.Block

CarvePumpkin is a function used to convert a pumpkin block to a carved pumpkin block.

Dirt holds a dirt block.

View Source
var Farmland world.Block

Farmland holds a farmland block.

Fire holds a fire block.

View Source
var Grass world.Block

Grass holds a grass block.

View Source
var GrassPath world.Block

GrassPath holds a grass path block.

View Source
var IsCarvedPumpkin func(i world.Item) bool

IsCarvedPumpkin is a function set to check if an item is a wearable carved pumpkin

View Source
var IsUncarvedPumpkin func(b world.Block) bool

IsUncarvedPumpkin is a function set to check if a block is an uncarved pumpkin.

View Source
var IsUnstrippedLog func(b world.Block) bool

IsUnstrippedLog is a function set to check if a block is a log.

View Source
var IsWater func(b world.Block) bool

IsWater is a function used to check if a liquid is water.

View Source
var IsWaterSource func(b world.Block) bool

IsWaterSource is a function used to check if a block is a water source.

View Source
var Replaceable func(w *world.World, pos world.BlockPos, with world.Block) bool

Replaceable is a function used to check if a block is replaceable.

View Source
var StripLog func(b world.Block) world.Block

StripLog is a function used to convert a log block to a stripped log block.

View Source
var Water, Lava world.Liquid

Water and Lava hold blocks for their respective liquids.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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