Entity metadata
#1
From cPawn.h:
Quote:
Code:
enum MetaData {NORMAL, BURNING, CROUCHED, RIDING, SPRINTING, EATING, BLOCKING};

According to MinecraftCoalition, the entities can have a variety of metadata.

I was going to make slimes spawn in different sizes, but I couldn't find a way to set their metadata value to something not in that enum.

Should the enum be replaced or do we need another variable?
Reply
Thanks given by:
#2
Any opinions on this?
Reply
Thanks given by:
#3
I haven't studied the MCC very thoroughly, but from that it seems that metadata can come in variety of flavors, I'd say we need to rework the cPawn's metadata concept altogether - make it a map<index, value>, where index is the lower 5 bits and value's type *somehow* depends on the index meaning.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)