Draw Conveyor Items under Blocks (#4372)

* Draw Conveyor Items under Blocks

* Remove new layer in favor of subtraction

Co-authored-by: Leonwang4234 <62972692+Leonwang4234@users.noreply.github.com>
This commit is contained in:
genNAowl
2021-01-18 17:34:17 -05:00
committed by GitHub
co-authored by Leonwang4234
parent 83a4f56679
commit 18a382b07a
@@ -127,11 +127,11 @@ public class Conveyor extends Block implements Autotiler{
} }
} }
Draw.z(Layer.block); Draw.z(Layer.block - 0.2f);
Draw.rect(regions[blendbits][frame], x, y, tilesize * blendsclx, tilesize * blendscly, rotation * 90); Draw.rect(regions[blendbits][frame], x, y, tilesize * blendsclx, tilesize * blendscly, rotation * 90);
Draw.z(Layer.blockOver); Draw.z(Layer.block - 0.1f);
for(int i = 0; i < len; i++){ for(int i = 0; i < len; i++){
Item item = ids[i]; Item item = ids[i];