Floor Trap - Geforce132/SecurityCraft GitHub Wiki

The floor trap is a block that will disappear for a short amount of time when a player or mob steps on it. Many settings like the time it takes for it to disappear, or who can trigger the trap, are configurable with the universal block modifier.

Recipe

Recipe

Universal Block Modifier Options

  • Should this block ignore its owner, meaning any functionality it has will not work for the owner? (Default of Yes)
  • Which entities can trigger this block? (Default of Players only)
  • Should this trap disappear instantly if it has a smart module and a trap next to it disappears? (Default of Yes)
  • How many ticks it takes until the block disappears (20 ticks = 1 second) (Default of 5, with a range from 0 to 200)
  • How many ticks it takes until the block reappears (20 ticks = 1 second) (Default of 20, with a range from 5 to 200)

Accepted Modules

  • Adding a disguise module to a block will cause the texture & model of it to change to the texture & model of the block that is added to the disguise module.
  • Adding an allowlist module to a Floor Trap will allow listed players to walk over the block without triggering the trap.
  • Adding a smart module to a Floor Trap will make it disappear when a floor trap belonging to the same player next to it disappears.

Properties

  • Ownable: This is resistant to explosions, and can only be broken by the player who placed it down using the Universal Block Remover.
⚠️ **GitHub.com Fallback** ⚠️