public EntityController<CommonEntity<T>> getController() {
if (isHooked()) {
return (EntityController<CommonEntity<T>>) getHandle(NMSEntityHook.class).getController();
}
final EntityController controller = new DefaultEntityController();
controller.bind(this);
return controller;
}
/**
* Checks whether this particular Entity supports the use of Entity Controllers.