Commit Graph

12 Commits

Author SHA1 Message Date
teknomunk
f120c2bb6a 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-28 14:00:59 -06:00
teknomunk
38ce98f2b8 Fix crashes in mcl_throwing 2024-11-28 14:00:59 -06:00
the-real-herowl
300a941b0f Fix throwables' punch allow check 2024-11-28 14:00:59 -06:00
teknomunk
b301c45434 Make egg and snowball stack count match master 2024-11-28 14:00:59 -06:00
teknomunk
110eaf056b Fix player-mcl_throwing collisions, fix chick spawning on egg collisions, luacheck fixes 2024-11-28 14:00:59 -06:00
teknomunk
244b2345ee Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage 2024-11-28 14:00:59 -06:00
teknomunk
75300bf4bb Make snowballs have the same collision conditions as before 2024-11-28 14:00:59 -06:00
teknomunk
c6ea6ac596 Convert flying bobber to vl_projectile, modify mcl_throwing.register_throwable_object() to check for _vl_projectile field 2024-11-28 14:00:59 -06:00
teknomunk
cdc0f01e67 Resolve more review comments, fix crash 2024-11-28 14:00:58 -06:00
teknomunk
f765da0d7a Start mcl_bows:arrow_entity refactor 2024-11-28 14:00:58 -06:00
teknomunk
e6e39b8bcb Remove _thrower from vl_projectile (uses self._vl_projectile.owner instead), reorder some code 2024-11-28 14:00:58 -06:00
teknomunk
c74ce364af Finish reworking all items in mcl_throwing 2024-11-28 14:00:58 -06:00