misode.github.io icon indicating copy to clipboard operation
misode.github.io copied to clipboard

You can set values that are too high creating Customized Worlds

Open kruthers opened this issue 1 year ago • 0 comments

Description of the image

When creating a customized world datapack via https://misode.github.io/customized in the ores tabs (and possibly others) you are able to enter your own values. By doing this players can enter numbers higher then minecraft will allow. This causes a "Data pack validation failed" error when trying to load it.

Steps to re-create

(I have attached a datapack generated from the site so you dont need to generate one yourself)

  1. Go to https://misode.github.io/customized
  2. Go to the ores tab
  3. Scroll to the bottom (Diamond Ore)
  4. In the first set change tries to 257
  5. In the 2nd set change size to 257
  6. Generate the datapack via the create button
  7. Open you game with logs
  8. Try to create a world with the datapack
  9. You will see the following in console: java.lang.IllegalStateException: Failed to parse minecraft:worldgen/configured_feature/ore_diamond_buried.json from pack file/customized.zip & java.lang.IllegalStateException: Failed to parse minecraft:worldgen/placed_feature/ore_diamond.json from pack file/customized.zip and a error in game.

What was intened

For the site to limit values at 256 which is the max for most of them in minecraft its self.

Screenshots

Minecraft error: image Datapack screen: image customized.zip Generator diamond ore settings: image

kruthers avatar Oct 10 '23 16:10 kruthers