UltimateUIDocs
Archived upstream docs · Features depend on the installed plugin version; not all features have been verified.

UltimateUI guide

How to add a Toggle Block

In this guide, you will learn how to add a Toggle Block

A toggle block is a block that shows one block and hides another block.

It can be added by adding an action in the .yml file.

Below is an example of a block that shows the test1 block and hides the test2 and test3 blocks.

ini
- id: test1
  type: block
  layer: 1
  opacity: 255
  position:
    x: 0
    y: 0
  size:
    width: 500
    height: 500
  color: ffffff
  unicode: 
  actions:
  - type: toggle
    show: ["test1"]
    hide: ["test2", "test3"]