mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
Drop feature command on studio
This commit is contained in:
@@ -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())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user