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() {
return "StructuredDataContainer{" +
"data=" + data +
", lookup=" + lookup +
", mappedNames=" + mappedNames +
'}';
}
}

View File

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

View File

@ -124,11 +124,11 @@ public class DataItem implements Item {
@Override
public String toString() {
return "Item{" +
return "DataItem{" +
"identifier=" + identifier +
", amount=" + amount +
", data=" + data +
", tag=" + tag +
'}';
}
}
}

View File

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

View File

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

View File

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