Shulker attach position is now irrelevant, it seems

This commit is contained in:
Camotoy 2021-06-06 21:39:39 -04:00
parent 715b9ab4b5
commit ea237f20c9
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -48,13 +48,6 @@ public class ShulkerEntity extends GolemEntity {
BlockFace blockFace = (BlockFace) entityMetadata.getValue();
metadata.put(EntityData.SHULKER_ATTACH_FACE, (byte) blockFace.ordinal());
}
//TODO - this was removed on Java Edition, but does Bedrock Edition still need it??
// if (entityMetadata.getId() == 16) {
// Position position = (Position) entityMetadata.getValue();
// if (position != null) {
// metadata.put(EntityData.SHULKER_ATTACH_POS, Vector3i.from(position.getX(), position.getY(), position.getZ()));
// }
// }
if (entityMetadata.getId() == 17) {
int height = (byte) entityMetadata.getValue();