Origins: Powerful Powers
» Entity actions » Clear fake block

Clear fake block

origins-powerful-powers:clear_fake_blockentity actionblock action

Removes the fake block at a position, so viewers see the real block again. It does nothing where there's no fake block.

FieldTypeDefaultDescription
x, y, zDouble0Entity action only: the position.
relative_toString"self"Entity action only: self (an offset from the entity) or world.

As a block action it has no fields and clears the block it runs on.

Example: right-clicking a block with a stick removes a fake block there.

json
{
  "type": "origins:action_on_block_use",
  "item_condition": {
    "type": "origins:ingredient",
    "ingredient": {
      "item": "minecraft:stick"
    }
  },
  "block_action": {
    "type": "origins-powerful-powers:clear_fake_block"
  }
}