3 Commits
Author SHA1 Message Date
PLASMAchicken 3d3260cd71 fix(blocks): honor mob-spawn config on Waterstone/Lavastone/Sand (#104)
* 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).

Fixes GTNewHorizons/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.
2026-09-09 08:27:21 +02:00
PLASMAchicken c3e1675ac8 RoadLine drop correct metadata when destroyed via onNeighborBlockChange (#75) 2025-12-12 01:22:02 +01:00
PLASMAchicken 674d2b389b Fix Stair Variant Drops
Seems to have been broken in https://github.com/GTNewHorizons/Chisel/commit/f0e11d8eeea751a60c0ecf2d3a40643017e11f1b
2025-12-09 01:00:14 +01:00