mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Height getter
This commit is contained in:
parent
b081bbb444
commit
cc6a7a6a72
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user