Merge branch 'master' of https://github.com/gnembon/fabric-carpet
This commit is contained in:
commit
68af14211d
6 files changed
+75
-2
No files matched your search
@@ -4051,7 +4051,12 @@ adjusted.
|
||||
### `__on_player_interacts_with_entity(player, entity, hand)`
|
||||
Triggered when player right clicks (interacts) with an entity, even if the entity has no vanilla interaction with the player or
|
||||
the item they are holding. The event is invoked after receiving a packet from the client, before anything happens server side
|
||||
with that interaction
|
||||
with that interaction.
|
||||
|
||||
### `__on_player_trades(player, entity, buy, buyB, sell)`
|
||||
Triggered when player trades with a merchant. The event is invoked after the server allow the trade, but before the inventory
|
||||
changes and merchant updates its trade-uses counter.
|
||||
The parameter `entity` can be `null` if the merchant is not an entity.
|
||||
|
||||
### `__on_player_collides_with_entity(player, entity)`
|
||||
Triggered every time a player - entity collisions are calculated, before effects of collisions are applied in the game.
|
||||
|
||||
@@ -114,7 +114,12 @@ adjusted.
|
||||
### `__on_player_interacts_with_entity(player, entity, hand)`
|
||||
Triggered when player right clicks (interacts) with an entity, even if the entity has no vanilla interaction with the player or
|
||||
the item they are holding. The event is invoked after receiving a packet from the client, before anything happens server side
|
||||
with that interaction
|
||||
with that interaction.
|
||||
|
||||
### `__on_player_trades(player, entity, buy, buyB, sell)`
|
||||
Triggered when player trades with a merchant. The event is invoked after the server allow the trade, but before the inventory
|
||||
changes and merchant updates its trade-uses counter.
|
||||
The parameter `entity` can be `null` if the merchant is not an entity.
|
||||
|
||||
### `__on_player_collides_with_entity(player, entity)`
|
||||
Triggered every time a player - entity collisions are calculated, before effects of collisions are applied in the game.
|
||||
|
||||
Reference in new issue
Block a user