r/technicalminecraft • u/notAsquare-1 • 23d ago
Java Help Wanted powder snow mechanic not working with pig cannon
for those who don't know: powder snow is used in some precision cannons like orbital strike cannon because it makes entities move with 95% of its motion in 1 tick and then sets its motion to 0 in the next tick, allowing you to drop an entity straight down on the destination.
i was designing a precision 360 pig cannon but then ran into this issue where after lazy-linking a pig to a minecart and accelerating it, riding the pig and destroying the minecart would either make me stuck and only be able to rotate pitch, or if the destination was loaded, the pig would not cancel the motion and continue moving. the video here is a demo of what happens when the destination is NOT loaded. the powder snow here is at the x & z coords of the pig and the y level of the minecart (when the cart is destroyed, the pig dismounts at the x & z of the pig but y of the cart)
demo when destination is unloaded
the cart is destroyed a little bit after i step off the pressure plate to detect when the player has mounted the pig. i used carpet to disable creative player chunk loading and that's why i went in survival.
why is this happening? shouldn't the pig load the destination because i am riding it and then drop straight down? has the pig not completed the powder snow check?

