/goop customstructures edit triggers add <structure name> <trigger>
Click of the mouse, must the player be sneaking? Is it activated by throwing items onto it?
These refer to actions players normally do with a mouse:
INTERACT - For using the block, like opening a crafting table in vanilla, basically right click.
PUNCH - For hitting the block, basically left click.
SNEAK_INTERACT - Interact but when sneaking :]
SNEAK_PUNCH - Explained by itself.
These refer to players placing or removing blocks, a structure will only be detected if the core is the block in question:
COMPLETE - For placing the core last, like the pumpkin when building an iron golem.
BREAK - For breaking the core first, while the rest of the structure is still standing.
SNEAK_COMPLETE - Complete but while sneaking :]
SNEAK_BREAK - Explained by itself.
When entities, not only players!, step on pressure plates:
PRESSUREPLATE_PLAYERS - When players step on pressure plates while standing*
SNEAK_PRESSUREPLATE_PLAYERS - When players step on pressure plates while sneaking*
PRESSUREPLATE_ITEMS - When players throw items at pressure plates.
PRESSUREPLATE_MONSTERS - When hostile monsters step on pressure plates.
PRESSUREPLATE_ANIMALS - When passive animals step on pressure plates.
PRESSUREPLATE_PLAYERS_CONTINUOUS - While players step on pressure plates. Does not work in every spigot version*
SNEAK_PRESSUREPLATE_PLAYERS_CONTINUOUS - While players step on pressure plates while sneaking. Does not work in every spigot version*
* Player pressureplate triggers are disabled by default, enable them in the config to use them:
plugins/Gunging_Ootilities_Plugin/config.yml
CustomStructures:
PlayerPressurePlates: true
The name of the loaded structure you are adding a trigger to
Name of the trigger
All the triggers that involve players have their sneak counterparts.
You may want to use the SNEAK_PRESSUREPLATE_PLAYERS in tandem with PRESSUREPLATE_PLAYERS, because it kinda makes little sense that a pressure plate trap only activates when sneaking or when not sneaking.
Not all triggers have to do with players.
Triggers that dont involve players wont work at all without the premium module enabled.
When a trigger involves a player, you can add parameters so that they only activate if the player holds a specific item in their mainhand.
Parameter will be in the form of an Item Filter
Also works with PRESSUREPLATE_ITEMS, the dropped item must match this.
When using the monsters or animals pressure plate trigger, you may specify a mythicmob or a vanilla mob type
Parameter will be in the form of an Entity Filter