Skip to content

Custom Pickup Condition Config

Tschipp edited this page Feb 15, 2021 · 11 revisions

Both Entities and Blocks can have a custom pickup condition when
Darkhax' Game Stages is installed.

Format: (Pre 1.13)
modid:blockname;meta(condition)

(Post 1.13)
modid:blockname[blockstatedata](condition)

or for entities:
modid:entityname(condition)

Basic Examples:
minecraft:mob_spawner(spawner)
This lets the player pick up a spawner when they have unlocked "spawner".

minecraft:log;0(oak_upright) This lets the player pick up any upwards facing oak logs when they have unlocked "oak_upright".

minecraft:pig(bacon)
This lets the player pick up pigs when they have unlocked "bacon"

Advanced Examples:
minecraft:*(mc)
This lets the player pick up any blocks from Minecraft when they have unlocked "mc".

stone*(stone_stuff)
This lets the player pick up any blocks containing the keyword stone(e.g. stone bricks, sandstone, stone, cobblestone...) when they have unlocked "stone_stuff".

To unlock a stage, execute the command:
/gamestage add <playername> <stage>

Clone this wiki locally