Improved MLG handling

- Added blacklist for scenarios where MLG wouldn't block fall damage (or fail to place)
-Water buckets now waterlog if possible
Note: This still means that any non-solid blocks like signs are treated as air and are destroyed at MLG.
This commit is contained in:
ThisTestUser
2022-10-07 21:10:55 -04:00
parent a0c92d5097
commit 3fa35c17f9
4 changed files with 229 additions and 12 deletions

View File

@@ -628,7 +628,9 @@ public class Bot extends ServerPlayer implements Terminator {
private boolean canStandOn(Material mat) {
if(mat == Material.END_ROD || mat == Material.FLOWER_POT || mat == Material.REPEATER || mat == Material.COMPARATOR
|| mat == Material.SNOW || mat == Material.LADDER || mat == Material.VINE || mat == Material.SCAFFOLDING
|| mat == Material.AZALEA || mat == Material.FLOWERING_AZALEA || mat == Material.BIG_DRIPLEAF)
|| mat == Material.AZALEA || mat == Material.FLOWERING_AZALEA || mat == Material.BIG_DRIPLEAF
|| mat == Material.CHORUS_FLOWER || mat == Material.CHORUS_PLANT || mat == Material.COCOA
|| mat == Material.LILY_PAD || mat == Material.SEA_PICKLE)
return true;
if(mat.name().endsWith("_CARPET"))