mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-01 17:00:26 +00:00
Hydrology fixes
This commit is contained in:
1 parent
577f924133
commit
bf12f30d26
168 files changed
+13544
-582
No files matched your search
@@ -510,6 +510,15 @@ public final class ModdedBlockResolution {
|
||||
}
|
||||
|
||||
public static boolean canPlaceOnto(Block mat, Block onto) {
|
||||
if (mat == Blocks.SUGAR_CANE) {
|
||||
return onto == Blocks.SUGAR_CANE || onto == Blocks.GRASS_BLOCK || onto == Blocks.DIRT
|
||||
|| onto == Blocks.COARSE_DIRT || onto == Blocks.PODZOL || onto == Blocks.MYCELIUM
|
||||
|| onto == Blocks.ROOTED_DIRT
|
||||
|| onto == Blocks.MOSS_BLOCK || onto == Blocks.PALE_MOSS_BLOCK || onto == Blocks.MUD
|
||||
|| onto == Blocks.MUDDY_MANGROVE_ROOTS || onto == Blocks.SAND || onto == Blocks.RED_SAND
|
||||
|| onto == Blocks.SUSPICIOUS_SAND;
|
||||
}
|
||||
|
||||
if (mat == Blocks.CACTUS) {
|
||||
return onto == Blocks.CACTUS || onto == Blocks.SAND || onto == Blocks.RED_SAND;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user