3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-07 08:40:09 +01:00

Shulker attach position is now irrelevant, it seems

Dieser Commit ist enthalten in:
Camotoy 2021-06-06 21:39:39 -04:00
Ursprung 715b9ab4b5
Commit ea237f20c9
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -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();