mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
oops
This commit is contained in:
parent
85fbaa2b97
commit
fb50b4fa78
@ -55,7 +55,36 @@ public class CommandIrisWhatBlock extends MortarCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (bd != null) {
|
if (bd != null) {
|
||||||
|
sender.sendMessage("Material: " + C.GREEN + bd.getMaterial().name());
|
||||||
|
sender.sendMessage("Full: " + C.WHITE + bd.getAsString(true));
|
||||||
|
|
||||||
|
if (B.isStorage(bd)) {
|
||||||
|
sender.sendMessage(C.YELLOW + "* Storage Block (Loot Capable)");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (B.isLit(bd)) {
|
||||||
|
sender.sendMessage(C.YELLOW + "* Lit Block (Light Capable)");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (B.isFoliage(bd)) {
|
||||||
|
sender.sendMessage(C.YELLOW + "* Foliage Block");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (B.isDecorant(bd)) {
|
||||||
|
sender.sendMessage(C.YELLOW + "* Decorant Block");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (B.isFluid(bd)) {
|
||||||
|
sender.sendMessage(C.YELLOW + "* Fluid Block");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (B.isFoliagePlantable(bd)) {
|
||||||
|
sender.sendMessage(C.YELLOW + "* Plantable Foliage Block");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (B.isSolid(bd)) {
|
||||||
|
sender.sendMessage(C.YELLOW + "* Solid Block");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
sender.sendMessage("Players only.");
|
sender.sendMessage("Players only.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user