Quality of Life changes (#11370)

* overlay light support, bulk Call.setItem implementations, Call.setLiquid implementations

* Update core/src/mindustry/graphics/BlockRenderer.java

---------

Co-authored-by: Anuken <arnukren@gmail.com>
This commit is contained in:
WMF
2025-11-16 23:43:54 -05:00
committed by GitHub
co-authored by Anuken
parent bb4534afde
commit f48900d6de
8 changed files with 148 additions and 4 deletions
@@ -68,6 +68,8 @@ public class Floor extends Block{
public Block decoration = Blocks.air;
/** Whether units can draw shadows over this. */
public boolean canShadow = true;
/** If true, this floor ignores the obstructsLight flag of overlays. */
public boolean forceDrawLight = false;
/** Whether this overlay needs a surface to be on. False for floating blocks, like spawns. */
public boolean needsSurface = true;
/** If true, cores can be placed on this floor. */
@@ -110,6 +112,7 @@ public class Floor extends Block{
allowRectanglePlacement = true;
instantBuild = true;
ignoreBuildDarkness = true;
obstructsLight = false;
placeEffect = Fx.rotateBlock;
}
@@ -19,6 +19,7 @@ public class SeaBush extends Prop{
public SeaBush(String name){
super(name);
variants = 0;
obstructsLight = false;
}
@Override
@@ -9,6 +9,8 @@ public class Seaweed extends Prop{
public Seaweed(String name){
super(name);
obstructsLight = false;
}
@Override