mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
Height getter
This commit is contained in:
@@ -468,4 +468,9 @@ public interface Engine extends DataProvider, Fallible, GeneratorAccess, LootPro
|
|||||||
}
|
}
|
||||||
|
|
||||||
double getGeneratedPerSecond();
|
double getGeneratedPerSecond();
|
||||||
|
|
||||||
|
default int getHeight()
|
||||||
|
{
|
||||||
|
return getWorld().getHeight();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,4 +105,8 @@ public class IrisWorld {
|
|||||||
|
|
||||||
return (KList<? extends T>) NO_ENTITIES;
|
return (KList<? extends T>) NO_ENTITIES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getHeight() {
|
||||||
|
return maxHeight - minHeight;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user