mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Drop feature command on studio
This commit is contained in:
parent
bb7c256ecf
commit
46591968c0
@ -727,21 +727,6 @@ public class CommandStudio implements DecreeExecutor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Decree(aliases = {"find-features", "nf"}, description = "Get the noise feature data in your chunk")
|
|
||||||
public void features() {
|
|
||||||
|
|
||||||
if (!IrisToolbelt.isIrisWorld(player().getWorld())) {
|
|
||||||
sender().sendMessage(C.RED + "Iris worlds only");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int n = 0;
|
|
||||||
|
|
||||||
for (IrisFeaturePositional irisFeaturePositional : engine().getMantle().getFeaturesInChunk(player().getLocation().getChunk())) {
|
|
||||||
sender().sendMessage("#" + n++ + " " + new JSONObject(new Gson().toJson(irisFeaturePositional)).toString(4));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Decree(aliases = "find-objects", description = "Get information about nearby structures")
|
@Decree(aliases = "find-objects", description = "Get information about nearby structures")
|
||||||
public void objects() {
|
public void objects() {
|
||||||
if (!IrisToolbelt.isIrisWorld(player().getWorld())) {
|
if (!IrisToolbelt.isIrisWorld(player().getWorld())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user