category

package
v0.9.20 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 0 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

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

Category represents the category a custom item will be displayed in, in the creative inventory.

func Construction

func Construction() Category

Construction is the first tab in the creative inventory and usually contains blocks that are more for decoration and building than actual functionality.

func Equipment

func Equipment() Category

Equipment is the second tab in the creative inventory and usually contains armour, weapons and tools.

func Items

func Items() Category

Items is the third tab in the creative inventory and usually contains blocks and items that do not come under any other category, such as minerals, mob drops, containers and redstone etc.

func Nature

func Nature() Category

Nature is the fourth tab in the creative inventory and usually contains blocks and items that can be found naturally in vanilla-generated world.

func (Category) Group added in v0.8.0

func (c Category) Group() string

Group ...

func (Category) String

func (c Category) String() string

String ...

func (Category) Uint8

func (c Category) Uint8() uint8

Uint8 ...

func (Category) WithGroup

func (c Category) WithGroup(group string) Category

WithGroup returns the category with the provided subgroup. This can be used to put an item inside a group such as swords, food or different types of blocks.

Jump to

Keyboard shortcuts

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