diff --git a/DataGenerator/src/main/java/net/minestom/generators/BlockGenerator.java b/DataGenerator/src/main/java/net/minestom/generators/BlockGenerator.java index ccddb1f..9332511 100644 --- a/DataGenerator/src/main/java/net/minestom/generators/BlockGenerator.java +++ b/DataGenerator/src/main/java/net/minestom/generators/BlockGenerator.java @@ -138,6 +138,7 @@ private void writeState(ResourceLocation location, Block block, BlockState block appendState(blockJson, state, "pushReaction", blockState.getPistonPushReaction().name(), String.class); appendState(blockJson, state, "mapColorId", blockState.getMapColor(EmptyBlockGetter.INSTANCE, BlockPos.ZERO).id, int.class); appendState(blockJson, state, "occludes", blockState.canOcclude(), boolean.class); + appendState(blockJson, state, "requiresTool", blockState.requiresCorrectToolForDrops(), boolean.class); appendState(blockJson, state, "blocksMotion", blockState.blocksMotion(), boolean.class); appendState(blockJson, state, "flammable", isFlammable(blockState), boolean.class);