* Refactor: Extract "matches" as method and use early exit
* Extend API to allow Little Tiles support
* Render little tiles with partial textures
* spotless
* Fix LT AO
* Ask for the right block
---------
Co-authored-by: boubou19 <[email protected]>
* fix(blocks): honor mob-spawn config on Waterstone/Lavastone
BlockMultiLayer implements ICarvable, so its item tooltip shows "Mobs
cannot Spawn on this Block" whenever canMobsSpawnOnTheChiselBlocks is
disabled, but unlike BlockCarvable it never overrode canCreatureSpawn,
so the setting was never actually enforced on Waterstone (and
Lavastone, which happened to mask the bug via its high light level
blocking hostile spawns).
FixesGTNewHorizons/GT-New-Horizons-Modpack#26703
* fix(blocks): honor mob-spawn config on carvable Sand
Same root cause as Waterstone/Lavastone: BlockCarvableSand is a full
opaque block (Material.sand) implementing ICarvable, so it shows the
"Mobs cannot Spawn on this Block" tooltip whenever
canMobsSpawnOnTheChiselBlocks is disabled, but never overrode
canCreatureSpawn to actually enforce it.
Verified against the decompiled Forge source in build/rfg: unlike the
carvable Glass/Ice/PackedIce/Beacon blocks (which never reach
canCreatureSpawn at all because they fail the earlier solid-top-surface
check via a translucent material or renderAsNormalBlock=false), Sand
uses an opaque material with no such override, so it passes that check
and defaults canCreatureSpawn to true.
* Add concrete slabs, fully functional. Missing entries for other langs, and not tested with GTNH.
* Fix concrete top slabs
* Clean up commented out testing code
* Add full set of concrete stairs
* Fixes concrete slab texture reference to remove duplicated texture folder
---------
Co-authored-by: Martin Robertz <[email protected]>
* make threadlocals final
* minor code fixes
* fix custom block renderers leaking world
* remove now useless threadlocal cleaning
* fix memory leak from rendererOld by just deleting the field
* fix ThreadLocals to work on dedicated server
HodgePodge mixin fixBottomFaceUV options fixes the bottom face texture UV.
See: GTNewHorizons/Hodgepodge#676
When unflipped, the bottom face of v-type connected textures blocks like the
large hexplating or the Industrial Technical Block's massive big fan, needs
a new unflipped order to correctly connect.
Consequently, when `fixBottomFaceUV=true`, the bottom fan animation rotates
the same way as other faces, instead of backward without the hodgepodge fix.