Add a way to simulate night (#46)

* Add a way to simulate night

* Add default value to avoid crashes

* Delighted -> Unlighted
This commit is contained in:
Jakub authored and GitHub committed 2023-03-27 21:01:10 +02:00
1 parent ca9ebbc0ed
commit d96669f5f7
4 files changed
+31 -6

No files matched your search

@@ -54,10 +54,17 @@ public interface IBeeModifier {
boolean isSealed();
/**
* @return Boolean indicating if housing can ignore darkness/night
* @return Boolean indicating if housing can ignore darkness/night. Cannot be used together with SelfUnlighted
*/
boolean isSelfLighted();
/**
* @return Boolean indicating if housing can ignore lightness/day. Cannot be used together with SelfLighted
*/
default boolean isSelfUnlighted() {
return false;
}
/**
* @return Boolean indicating if housing can ignore not seeing the sky
*/