mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-22 15:22:56 +01:00
Added some properties to BlockEntry
This commit is contained in:
parent
a1fac0f5cb
commit
64907ebb34
@ -13,6 +13,26 @@ public class Registry {
|
||||
super(resource);
|
||||
}
|
||||
|
||||
public float destroySpeed() {
|
||||
return getFloat("destroySpeed");
|
||||
}
|
||||
|
||||
public float explosionResistance() {
|
||||
return getFloat("explosionResistance");
|
||||
}
|
||||
|
||||
public float friction() {
|
||||
return getFloat("friction");
|
||||
}
|
||||
|
||||
public float speedFactor() {
|
||||
return getFloat("speedFactor");
|
||||
}
|
||||
|
||||
public float jumpFactor() {
|
||||
return getFloat("jumpFactor");
|
||||
}
|
||||
|
||||
public boolean isSolid() {
|
||||
return getBoolean("solid");
|
||||
}
|
||||
@ -30,6 +50,10 @@ public class Registry {
|
||||
return null;
|
||||
}
|
||||
|
||||
public float getFloat(String path) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getInt(String path) {
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user