cn.nukkit.entity.data.LongEntityData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.entity.data;
import cn.nukkit.entity.Entity;
/**
* @author MagicDroidX (Nukkit Project)
*/
public class LongEntityData extends EntityData {
public long data;
public LongEntityData(int id, long data) {
super(id);
this.data = data;
}
public Long getData() {
return data;
}
public void setData(Long data) {
this.data = data;
}
@Override
public int getType() {
return Entity.DATA_TYPE_LONG;
}
}