Regenerate toString() functions and remove them from protocol internals (#4072)

This commit is contained in:
EnZaXD 2024-08-05 09:09:34 +02:00 committed by GitHub
parent 7b21df2c12
commit 864beef341
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 8 additions and 23 deletions

View File

@ -212,6 +212,8 @@ public final class StructuredDataContainer {
public String toString() { public String toString() {
return "StructuredDataContainer{" + return "StructuredDataContainer{" +
"data=" + data + "data=" + data +
", lookup=" + lookup +
", mappedNames=" + mappedNames +
'}'; '}';
} }
} }

View File

@ -67,7 +67,7 @@ public interface EntityDataType {
@Override @Override
public String toString() { public String toString() {
return "EntityDataType{" + return "EntityDataTypeImpl{" +
"typeId=" + typeId + "typeId=" + typeId +
", type=" + type + ", type=" + type +
'}'; '}';

View File

@ -124,7 +124,7 @@ public class DataItem implements Item {
@Override @Override
public String toString() { public String toString() {
return "Item{" + return "DataItem{" +
"identifier=" + identifier + "identifier=" + identifier +
", amount=" + amount + ", amount=" + amount +
", data=" + data + ", data=" + data +

View File

@ -73,8 +73,9 @@ public final class DimensionDataImpl implements DimensionData {
@Override @Override
public String toString() { public String toString() {
return "DimensionData{" + return "DimensionDataImpl{" +
"minY=" + minY + "id=" + id +
", minY=" + minY +
", height=" + height + ", height=" + height +
'}'; '}';
} }

View File

@ -209,17 +209,6 @@ public class ConfigurationState implements StorableObject {
public boolean skipCurrentPipeline() { public boolean skipCurrentPipeline() {
return skipCurrentPipeline; return skipCurrentPipeline;
} }
@Override
public String toString() {
return "QueuedPacket{" +
"buf=" + buf +
", clientbound=" + clientbound +
", packetType=" + packetType +
", packetId=" + packetId +
", skipCurrentPipeline=" + skipCurrentPipeline +
'}';
}
} }
public static final class ClientInformation { public static final class ClientInformation {

View File

@ -29,11 +29,4 @@ public class ResourcePackTracker implements StorableObject {
public void setLastHash(String lastHash) { public void setLastHash(String lastHash) {
this.lastHash = lastHash; this.lastHash = lastHash;
} }
@Override
public String toString() {
return "ResourcePackTracker{" +
"lastHash='" + lastHash + '\'' +
'}';
}
} }