Replies: 2 comments
-
|
Implemented in kjs: EntityEvents.hurt(event => {
if(event.source.actual == null) return;
if(!event.source.actual.isPlayer()) return;
if(event.entity.isPlayer()) return;
if(event.entity.vehicle.type == "minecraft:boat" || event.entity.vehicle.type == "minecraft:minecart"){
event.entity.unRide();
};
}); |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Added in 1.7.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Player can use boat to trap mobs, like enderman, which makes them unable to fight back. Do they really want to be on a boat that they can't decide whether to get off or not?
It would be more balance to have a list of mobs that refuse to get on the boats.
Beta Was this translation helpful? Give feedback.
All reactions