-
Notifications
You must be signed in to change notification settings - Fork 15
Activator ENTITY_CLICK
MaxDikiy edited this page May 14, 2017
·
1 revision
This activator is initiated when the player right-click on the entity (Entity). With this activator, you can prevent objects from being framed or objects in the frame. To forbid to board a boat, minecart and horse. And much more.
To create this activator, use the command:
/react add ENTITY_CLICK <ActivatorId> [type:
<EntityType>
]
Placeholder | Description |
---|---|
%entitytype% | Entity Type |
- Output the type of Entity, by which we click:
/react add ENTITY_CLICK ec
/react add ec a MESSAGE %entitytype%
or
ENTITY_CLICK:
ec:
entity-type: ''
actions:
- 'MESSAGE=Entity: %entitytype%'
- We will forbid to get into the boat:
/react add ENTITY_CLICK ec2 type:BOAT
/react add ec2 a CANCEL_EVENT true
or
ENTITY_CLICK:
ec2:
entity-type: BOAT
actions:
- CANCEL_EVENT=true
- We will forbid to insert in a frame items, or to rotate items in a frame:
/react add ENTITY_CLICK ec3 type:ITEM_FRAME
/react add ec3 a CANCEL_EVENT true
or
ENTITY_CLICK:
ec3:
entity-type: ITEM_FRAME
actions:
- CANCEL_EVENT=true
- We will forbid to insert in a frame a certain item:
/react add ENTITY_CLICK ec4 type:ITEM_FRAME
/react add ec4 f ITEM type:TRIPWIRE_HOOK
/react add ec4 a CANCEL_EVENT true
или
ENTITY_CLICK:
ec4:
entity-type: ITEM_FRAME
flags:
- ITEM=type:TRIPWIRE_HOOK
actions:
- CANCEL_EVENT=true
Links:
Download | Support | Twitter | VK | MinecraftMain Blog
© 2017, fromgate
http://reactions.fromgate.me
http://reactions.fromgate.ru
- Commands and Permission
- Activators
- Flags
- Actions
- Timers
- Menus
- Data formats
- Configuration
- Команды и пермишены
- Активаторы
- Флаги
- Действия
- Таймеры
- Меню
- Форматы данных
- Конфигурация