GlowstoneMC / Glowstone-Legacy

An open-source server for the Bukkit Minecraft modding interface
Other
363 stars 121 forks source link

Entity API Completeness #139

Open gabizou opened 10 years ago

gabizou commented 10 years ago

I'm handing off this issue to whoever wishes to pick it up. I've made a [WIP] PR to at least give the work already done so far: https://github.com/GlowstoneMC/Glowstone/pull/282

Basically, implement some basic entities from Bukkit API into Glowstone, even if they're stubs. We should have some basic representation of Entities in the world, even if they don't even have AI or take damage :laughing:

So far I have the following entities implemented (roughly):

turt2live commented 10 years ago

Related to #4 (not closing as this is different enough)

gabizou commented 10 years ago

So far, I have most of the entities added and registered, however, I'm speculating on a proper API to allow spawning of custom entities that are not covered by the vanilla implementation of Glowstone (meaning, if I have OcelotPet.class and want to spawn my custom OcelotPet, I should be able to do so without having to resort to a lot of reflection and runtime hacks on GlowWorld#spawn().

Aside from that, just managing to write the barebones of serialization for all the entities I have existing.

turt2live commented 10 years ago

Added "Armor Stand" to the list.