Add checks for Bell, Add check for boat destroying lily_pad #1377
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check Flags_destroy when a Boat collides with and destroys a Lily_Pad.
Check Flags.use when a player right-clicks a Bell or a projectile hits a Bell.
Small changes:
when the global Flags.animalkilling/mobkilling is set to false, players are now prevented from harming animals/mobs.
when the global Flags.trade is set to false, players are prevented from trading with villagers/wandering traders.
when the global Flags.container is set to false, players are prevented from interacting with the inventories of entities.
when the global Flags.riding is set to false, players are prevented from mounting vehicles.
when the global Flags.dye is set to false, players are prevented from dyeing sheep.
when the global Flags.shear is set to false, players are prevented from using shears on entities.
onEntityTouchButtonPlateDenyMsg; is simplified to send the denial message only once, with no need to cancel the event.
If Flags.honey/honeycomb is set to none, check Flags.build instead of Flags.destroy.
add some Bucket type check.
When Flags.dye is none, check the state of Flags.animalkilling.