Commit Graph

12 Commits

Author SHA1 Message Date
teknomunk
5185c043bb Replace _puncher with _owner, rework projectile code to make _owner a string, copy mcl_util.gen_uuid() from minecart branch, add mcl_util.get_entity_id(), fix crash 2024-11-30 18:42:12 -06:00
teknomunk
e53bb82a3c Fix crashes in mcl_throwing 2024-11-30 18:42:12 -06:00
the-real-herowl
f4a99027f6 Fix throwables' punch allow check 2024-11-30 18:42:12 -06:00
teknomunk
5774241f82 Make egg and snowball stack count match master 2024-11-30 18:42:12 -06:00
teknomunk
6cd900f78f Fix player-mcl_throwing collisions, fix chick spawning on egg collisions, luacheck fixes 2024-11-30 18:42:12 -06:00
teknomunk
fc14373962 Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage 2024-11-30 18:42:12 -06:00
teknomunk
19bfbe9253 Make snowballs have the same collision conditions as before 2024-11-30 18:42:12 -06:00
teknomunk
e8853d5d55 Convert flying bobber to vl_projectile, modify mcl_throwing.register_throwable_object() to check for _vl_projectile field 2024-11-30 18:42:12 -06:00
teknomunk
91e362329f Resolve more review comments, fix crash 2024-11-30 18:34:01 -06:00
teknomunk
d64564c4d7 Start mcl_bows:arrow_entity refactor 2024-11-30 18:34:00 -06:00
teknomunk
c438f7e939 Remove _thrower from vl_projectile (uses self._vl_projectile.owner instead), reorder some code 2024-11-30 18:34:00 -06:00
teknomunk
f930c6c55c Finish reworking all items in mcl_throwing 2024-11-30 18:34:00 -06:00