create or replace table npcs
(
	id int auto_increment,
	server varchar(50) not null,
	name varchar(255) null,
	world varchar(50) not null,
	x float not null,
	y float not null,
	z float not null,
	yaw float default 1 not null comment '""',
	pitch float default 1 not null,
	radius float not null,
	entityType varchar(100) not null,
	entityMeta varchar(100) null,
	adult bit not null,
	helmet tinytext null,
	chestplate tinytext null,
	leggings tinytext null,
	boots tinytext null,
	inhand tinytext null,
	info tinytext null,
	infoRadius float null,
	infoDelay int null,
	in_hand_data int null,
	entity_type varchar(32) null,
	metadata varchar(32) null,
	skin_value varchar(400) null,
	skin_signature varchar(700) null,
	constraint id_2
		unique (id)
)
charset=latin1;

create or replace index id
	on npcs (id);

create or replace index id_3
	on npcs (id);

alter table npcs
	add primary key (id);

