previous one fixes switchitem noslow if it is send constantly, but if it send once + c08 packet, previous fix will not work, so this one should patch it
Last version of NCP 3? Too many bugs can't be handle on current codebase. Will now focus on rework.
Changes:
+ Fix fall damage bug with folia on change world
+ Compatible with wind charge
Replace usage of java.util.Random with java.util.concurrent.ThreadLocalRandom,
or java.util.SplittableRandom when setting seed is required. This provides better
performance and randomness.
Also do not manually generate seed when unnecessary since the Java runtime
mixes more bits into the automatically generated one.
Should be last changes to fix previous known bypasses.
Remove passable_x4 from all trap door because it not the same behavior with gate.
And make passable blocks has no ground will be null bounding box from now on
Similar to blockinteract.visible, not a precise ray-cast but likely to provide more compatibility with bedrock later on. Look independent!
* Known bypass:
- Behind the door(at the door block)
- Bottom/behind slab and trapdoor
* Known false positive:
- ...Waiting for report!
* Might-Missing:
- BlockChangeTracker?
Will fix in next build or so, for now just rest a bit for fully update to 1.20.4.
* #305 Another attempt at fixing AutoSign with the editing mechanic.
So far, we do not have a specific event for player-editing, so everything has to be manually detected.
Player-editing-speed cannot be monitored due to PlayerInteractEvents not being fired at all when "opening" a sign.
* Hanging WALL signs have a collision box for their post. Hanging signs don't, so they are treated like a normal sign would (fully passable)
* BlockPlaceListener: cleanup, don't use player#getLocation() for Scaffold; use PlayerMoveData instead
* (+ random cleanup in PassengerUtil)
Folia fix is provided by @xymb-endcrystalme
Fixes an AutoSign false positive with the new editing mechanic (1.20+ players can now edit signs that have already been placed down. Took long enough, Mojang)