09-26-2020, 08:12 AM
So i did some poking in the monster code...
THERE IS A BIG PROBLEM WHEN SUPPORTING DIFFERENT VERSIONS WITH AGGRESIVE MONSTER!
Let's say there is a player connecting with 1.8 and goes into the end (high hypothetical) and the server generated a shulker enemy. And there he/she goes without any indication where the damage/effect came from...
The problem is that this player will be attacked from the entities propalby invisible. So we have to check for any entity and each possible interaction if the players client does support that interaction. (e.g. taking damage)
There are some entities wich do more or less the same. Like the 1.10 aditions to zombies and skeletons. So that could be covered by a workaround.
At the moment all entities implemented are supported in all versions. So this is safe.
What are your thoughts?
THERE IS A BIG PROBLEM WHEN SUPPORTING DIFFERENT VERSIONS WITH AGGRESIVE MONSTER!
Let's say there is a player connecting with 1.8 and goes into the end (high hypothetical) and the server generated a shulker enemy. And there he/she goes without any indication where the damage/effect came from...
The problem is that this player will be attacked from the entities propalby invisible. So we have to check for any entity and each possible interaction if the players client does support that interaction. (e.g. taking damage)
There are some entities wich do more or less the same. Like the 1.10 aditions to zombies and skeletons. So that could be covered by a workaround.
At the moment all entities implemented are supported in all versions. So this is safe.
What are your thoughts?