Test more plants against the server rule

- Check every vanilla block and plants that read more of the level for failed answers
- Check that a throwing rule lets the plant stand and warns once
- Drop the forgetBlockRules default, the native interface has one now
This commit is contained in:
piexel committed 2026-11-26 13:24:38 +01:00
1 parent 43ce1cb038
commit a46ab4131e
2 files changed
+116 -4

No files matched your search

@@ -328,10 +328,6 @@ public interface INMSBinding extends NativeTerrainAccess {
return BukkitBlockResolution.canPlaceOnto(plant.getMaterial(), ground.getMaterial());
}
/** Drops answers remembered from the server's block rules, which a resource reload may have changed. */
default void forgetBlockRules() {
}
private void validateDimensionTypes(WorldCreator c) {
if (!(c.generator() instanceof PlatformChunkGenerator generator)) {
return;