How can ignore gravity in EntityItem

Accasua

Пользователь
I want to ignore gravity in ItemEntity.


this.dataProperties.putByte(Entity.DATA_FLAGS, Entity.DATA_FLAG_NO_AI);

is it right?
 
Top