Block solid sensor

This commit is contained in:
Anuken
2024-06-16 01:24:52 -04:00
parent 7f9eb87313
commit 5c9e9e3ff4
3 changed files with 3 additions and 0 deletions

View File

@@ -1407,6 +1407,7 @@ public class Block extends UnlockableContent implements Senseable{
return switch(sensor){
case color -> mapColor.toDoubleBits();
case health, maxHealth -> health;
case solid -> solid ? 1 : 0;
case size -> size;
case itemCapacity -> itemCapacity;
case liquidCapacity -> liquidCapacity;