arpruss / raspberryjammod

Raspberry Jam Mod - a Mod Forge Minecraft mod implementing most of Raspberry Juice/Pi API
http://www.instructables.com/id/Python-coding-for-Minecraft/
Other
354 stars 94 forks source link

Bug with pollBlockHits() #35

Open Ellipse0934 opened 6 years ago

Ellipse0934 commented 6 years ago

When using pollBlockHits() on the mod there are unnecessary events broadcasted. If I hit a block once then there are two events: one of hitting the block and the other is (x, y, z, 7, 0) where x,y,z are the entity's coordinates (my coordinates). Also the correct way pollBlockHits should work is using left-click not right click.

arpruss commented 6 years ago

RJM emulates the Raspberry PI behavior, which uses right-click with the sword. There is an option to change this, though. (See the symmetry.py code.)

I may look into the extra events.