mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-21 17:45:36 +01:00
Regenerate toString() functions and remove them from protocol internals (#4072)
This commit is contained in:
parent
7b21df2c12
commit
864beef341
@ -212,6 +212,8 @@ public final class StructuredDataContainer {
|
||||
public String toString() {
|
||||
return "StructuredDataContainer{" +
|
||||
"data=" + data +
|
||||
", lookup=" + lookup +
|
||||
", mappedNames=" + mappedNames +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ public interface EntityDataType {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "EntityDataType{" +
|
||||
return "EntityDataTypeImpl{" +
|
||||
"typeId=" + typeId +
|
||||
", type=" + type +
|
||||
'}';
|
||||
|
@ -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 +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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 +
|
||||
'}';
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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 + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user