mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 13:30:10 +00:00
implement BlockState with mixin on Fabric
This commit is contained in:
1 parent
1a1016bdf8
commit
5dbc2c2895
25 files changed
+204
-253
No files matched your search
@@ -42,17 +42,17 @@ public class SpongeBlockState implements BlockState {
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> boolean has(Property<T> property) {
|
||||
public <T extends Comparable<T>> boolean has(Property<T> property) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> T get(Property<T> property) {
|
||||
public <T extends Comparable<T>> T get(Property<T> property) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> BlockState set(Property<T> property, T value) {
|
||||
public <T extends Comparable<T>> BlockState set(Property<T> property, T value) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ public class SpongeBlockState implements BlockState {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getAsString() {
|
||||
public String getAsString(boolean verbose) {
|
||||
return delegate.toString();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user