mojira.dev
MC-83838

ShulkerBullet NBT gets corrupted when (Owner,) Target and Pos position are equal

When two Shulkers are at the same spot (it seems like this can happen in normal Survival as well) and shoot, they hit each other. This causes the ShulkerBullets to have for Pos, Target and Owner the same coordinates which leads to NaN values for the Motion, TXD, TYD and TZD.

ShulkerBullet corrupted NBT data

{
	Air:300s,
	Dimension:1,
	FallDistance:0.0f,
	Fire:0s,
	id:"ShulkerBullet",
	Invulnerable:0b,
	Motion:[
		nand,
		nand,
		nand
	],
	OnGround:0b,
	Owner:{
		L:-6230630263625411092l,
		M:4101266032947511938l,
		X:3938,
		Y:158,
		Z:1033
	},
	PortalCooldown:0,
	Pos:[
		3938.5d,
		158.5d,
		1033.5d
	],
	Rotation:[
		0.0f,
		0.0f
	],
	Steps:24,
	Target:{
		L:-6230630263625411092l,
		M:4101266032947511938l,
		X:3938,
		Y:158,
		Z:1033
	},
	TXD:nand,
	TYD:nand,
	TZD:nand,
	UUIDLeast:-7612984393156428520l,
	UUIDMost:-6786694156896809923l
}

Possible reason

Probably because somewhere it divides the distance by the distance to the Owner maybe, because 0/0 = NaN

Comments 0

No comments.

marcono1234

Erik Broes

Unconfirmed

NBT, corrupted, shulker, shulker_bullet

Minecraft 15w31a

Minecraft 15w31b

Retrieved