Block Attributes

trigger

This attribute defines what objects can trigger the pressure plate.
Values:

  • all
  • players
  • mobs
  • hostiles
  • animals
  • items
  • noplayers
  • nomobs
  • nohostiles
  • noanimals
  • noitems

Examples

// Default value
trigger = "all";

trigger = "mobs";