Available Objects (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 1.15.0

Syntax

[all] available materials

Description

Get a list of all available objects of a specific type. SPECIAL TYPES: `materials` = All materials as ItemTypes (will be a list of blocks and items). `itemtypes` = All item materials as ItemTypes. `blocktypes` = All block materials as ItemTypes.

Examples

give player random element of all available itemtypes
set {_blocks::*} to all available blocktypes
set target block to random element of all available blockdatas

View source