Fake Blocks (Effect) — skPackets

Addon: skPackets · Category: Effect · Since: 1.0.0

Syntax

make fake blocks at %locations% as %block data% to %players% [with persistent]

Description

Shows client-side block data without changing the world. Persistence defaults to false. Persistent blocks block outgoing updates to their positions and are reapplied after chunk updates and reconnects until reset or cleared; they are not saved across server restarts. Reset restores current real block data. Clear removes every managed fake block for the players. These blocks have no server-side collision or drops. Use block data such as gold block.

Examples

command /golden-floor:
    trigger:
        set {_floor} to location of block below player
        make fake blocks at {_floor} as gold block to player with persistent
        wait 20 seconds
        reset fake blocks at {_floor} for player

View source