-
-
Notifications
You must be signed in to change notification settings - Fork 339
Living has unimplementable methods #382
Copy link
Copy link
Closed
Labels
Description
When trying to implement ArmorStand I came across a issue that may also affect other entities down the line.
In minecraft EntityArmorStand extends EntityLivingBase where as in Sponge it extends EntityLiving. By having this you get methods that cannot possibly be implemented (https://imgur.com/phk3r1x).
Leashes cannot be used on ArmorStands, nor can it pickup items and nor does it need to be persistent.
One way around this would be to add an extra level in the interfaces between Entity and Living, effectively what minecraft has EntityLivingBase. This would also solve other issues that I have had to work around.
Input would be greaty appreciated.
Reactions are currently unavailable