maikerumine / mobs_mc

MC like mobs from many authors. This should be complete when released.
GNU General Public License v3.0
22 stars 9 forks source link

Outsource throwing (bow and arrows, egg, snowball) #81

Open Wuzzy2 opened 7 years ago

Wuzzy2 commented 7 years ago

It gives me a headache and bad dreams that we include bow and arrows and other throwables in mobs_mc.

First, the code sucks and second, it seems completely out of place and will is in direct conflict with mods which properly implement these things.

Sadly, I don't see any easy way to fix this because this mod also heavily depends on the way how the arrow entity is defined. If we let another mod define these entities, the mob may fail to shoot it correctly. If we define the entity ourselves, its physics may be inconsistent with any other arrow entity added by proper bow and arrow mods.

Ideally, bow and arrow (and other throwables) get completely outsourced out of mobs_mc so that it only needs a dependency. But I have no freaking clue on how to do this yet. Suggestions are welcome!

maikerumine commented 7 years ago

I suggest we keep and rewrite the code to mcl_trowing and depend on it. Make as mod pack, however now we depend on core and other mods mc2 exclusive. Going to be tough.

Wuzzy2 commented 7 years ago

If we make this mod depend explicitly on any mod of MineClone 2, it's completely pointless to release it as standalone because it's going to be included in MCL2 anyway.

Currently, this mod can still be used in Minetest Game, more or less.