Skip to content

World Generation

cubex2 edited this page Apr 10, 2018 · 3 revisions

Ore

This generator can be used for ore-like generation, like iron ore or clay.

Type name: worldGen:ore

{
	"block" : "minecraft:wool",
	"meta" : 1,
	"target" : "minecraft:stone",
	"targetMeta" : 1,
	"count" : 1,
	"size" : 10,
	"minHeight" : 0,
	"maxHeight" : 64,
	"dimension" : 0,
	"weight" : 1
}
  • block: This is a ResourceLocation specifying that block that is being generated.

  • meta: This defines the metadata of the generated block. Defaults to 0.

  • target: This is a ResourceLocation specifying what block is being replaced to generate the block. If omitted, stone is being replaced.

  • targetMeta: This defines the metadata of the target block. Omit, to replace all metadata values.

  • count: This defines the number of generations per chunk. Defaults to 1.

  • size: The number of blocks in each generation. Defaults to 10.

  • minHeight: The minimum height that the block is generated in. Defaults to 0.

  • maxHeight: The maximum height that the block is generated in. Defaults to 64.

  • dimension: The dimension id in which that block is being generated. Defaults to 0 (overworld).

  • weight: The bigger this value, the later the generator runs in the world generation process, which means other generators run before this one.

Clone this wiki locally