BiomeTweaker

BiomeTweaker

13M Downloads

weighted registerGenBlockRep not working

Thyriel opened this issue ยท 2 comments

commented

The wiki example for weighted registerGenBlockRep doesn't work ?
allBiomes.registerGenBlockRep("minecraft:stone", "minecraft:sandstone", 1)

throws an error in logfile:
[01:07:12] [main/ERROR] [SuperScript/biometweaker]: Failed to parse arguments for command registerGenBlockRep("minecraft:stone", "minecraft:sandstone", 1). It will be ignored.

without the ", 1" in the end it works fine.

Version: 1.12 3.1.306

commented

The weight goes first. If you want to specify metadata, you need to use the new blocks objects.

allBiomes.registerGenBlockRep(1, "minecraft:stone", "minecraft:sandstone")
commented

Thx. You should probably update the wiki then (on the topic of ore generation)