public class CompensatedMaterial extends Material
Constructor and Description |
---|
CompensatedMaterial(String id) |
Modifier and Type | Method and Description |
---|---|
Object |
getDefault()
Get default object which is abstracted by Negativity structure.
|
String |
getId()
Get the material main ID
(the official platform's name)
|
boolean |
isSolid()
Check if the material can be solid
|
boolean |
isTransparent()
Check if the type is transparent
(if we can see through it)
|
String |
toString() |
equals, isConsumable
public CompensatedMaterial(String id)
public boolean isSolid()
Material
public boolean isTransparent()
Material
isTransparent
in class Material
public String getId()
Material
public Object getDefault()
NegativityObject
For example, when we use World
, beside there is the Spigot/Sponge... world.
We can get the default platform object, in the example, the platform world.