diff --git a/nms/v1_17_r1/src/main/java/me/filoghost/holographicdisplays/nms/v1_17_R1/EntityMetadataNMSPacket.java b/nms/v1_17_r1/src/main/java/me/filoghost/holographicdisplays/nms/v1_17_R1/EntityMetadataNMSPacket.java index 765f2b23..da211c19 100644 --- a/nms/v1_17_r1/src/main/java/me/filoghost/holographicdisplays/nms/v1_17_R1/EntityMetadataNMSPacket.java +++ b/nms/v1_17_r1/src/main/java/me/filoghost/holographicdisplays/nms/v1_17_R1/EntityMetadataNMSPacket.java @@ -49,7 +49,7 @@ class EntityMetadataNMSPacket extends VersionNMSPacket { return this; } - Builder setMarkerArmorStand() { + Builder setArmorStandMarker() { setInvisible(); packetByteBuffer.writeDataWatcherEntry(DataWatcherKey.ARMOR_STAND_STATUS, (byte) (0x01 | 0x08 | 0x10)); // Small, no base plate, marker return this; @@ -75,7 +75,7 @@ class EntityMetadataNMSPacket extends VersionNMSPacket { return this; } - Builder setSmallSlime() { + Builder setSlimeSmall() { packetByteBuffer.writeDataWatcherEntry(DataWatcherKey.SLIME_SIZE, 1); return this; } diff --git a/nms/v1_17_r1/src/main/java/me/filoghost/holographicdisplays/nms/v1_17_R1/VersionNMSPacketList.java b/nms/v1_17_r1/src/main/java/me/filoghost/holographicdisplays/nms/v1_17_R1/VersionNMSPacketList.java index 061eb98e..5b9e3f28 100644 --- a/nms/v1_17_r1/src/main/java/me/filoghost/holographicdisplays/nms/v1_17_R1/VersionNMSPacketList.java +++ b/nms/v1_17_r1/src/main/java/me/filoghost/holographicdisplays/nms/v1_17_R1/VersionNMSPacketList.java @@ -24,7 +24,7 @@ class VersionNMSPacketList extends AbstractNMSPacketList { public void addArmorStandSpawnPackets(EntityID entityID, double locationX, double locationY, double locationZ) { add(new EntityLivingSpawnNMSPacket(entityID, EntityTypeID.ARMOR_STAND, locationX, locationY, locationZ)); add(EntityMetadataNMSPacket.builder(entityID) - .setMarkerArmorStand() + .setArmorStandMarker() .build() ); } @@ -33,7 +33,7 @@ class VersionNMSPacketList extends AbstractNMSPacketList { public void addArmorStandSpawnPackets(EntityID entityID, double locationX, double locationY, double locationZ, String customName) { add(new EntityLivingSpawnNMSPacket(entityID, EntityTypeID.ARMOR_STAND, locationX, locationY, locationZ)); add(EntityMetadataNMSPacket.builder(entityID) - .setMarkerArmorStand() + .setArmorStandMarker() .setCustomName(customName) .build() ); @@ -43,7 +43,7 @@ class VersionNMSPacketList extends AbstractNMSPacketList { public void addArmorStandSpawnPackets(EntityID entityID, double locationX, double locationY, double locationZ, IndividualCustomName individualCustomName) { add(new EntityLivingSpawnNMSPacket(entityID, EntityTypeID.ARMOR_STAND, locationX, locationY, locationZ)); add(new IndividualNMSPacket(player -> EntityMetadataNMSPacket.builder(entityID) - .setMarkerArmorStand() + .setArmorStandMarker() .setCustomName(individualCustomName.get(player)) .build() )); @@ -87,7 +87,7 @@ class VersionNMSPacketList extends AbstractNMSPacketList { add(new EntityLivingSpawnNMSPacket(entityID, EntityTypeID.SLIME, locationX, locationY, locationZ)); add(EntityMetadataNMSPacket.builder(entityID) .setInvisible() - .setSmallSlime() // Required for a correct client-side collision box + .setSlimeSmall() // Required for a correct client-side collision box .build() ); }