We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8350d6 commit 44f1788Copy full SHA for 44f1788
src/main/java/org/spongepowered/api/block/BlockState.java
@@ -157,6 +157,14 @@ default BlockState mirror(final Supplier<? extends Mirror> mirror) {
157
return this.mirror(mirror.get());
158
}
159
160
+ /**
161
+ * Gets a string representation of this block state, including the block type and the properties.
162
+ * Do not confuse with {@link #toString} which is implementation specific.
163
+ *
164
+ * @return A string representation of this block state.
165
+ */
166
+ String asString();
167
+
168
/**
169
* An {@link org.spongepowered.api.data.DataHolderBuilder.Immutable} for a {@link BlockState}. Just like the
170
* {@link org.spongepowered.api.data.DataHolderBuilder.Immutable}, the {@link Value}s passed in to
0 commit comments