Tutorials - paulevsGitch/BetterEnd GitHub Wiki

This wiki page contains some tutorials that will help you to fix things

Contents

  1. How To Fix Missing End Dimension
  2. How To Fix Wrong Biome Source
  3. How To Add Custom Recipes

How To Fix Missing End Dimension

Sometimes for any reasons (transferring the world into a server, installing new mods/datapacks, etc.) you will find that you couldn't go into the End. If you try to use command you will get "unknown" dimension error. This means that you End dimension entry in level.dat is missing.

How to fix it:

  1. Close your Minecraft;
  2. Install and/or open NBTExplorer;
  3. Find your level.dat (it is located inside your world folder), backup it;
  4. Open your level.dat with NBTExplorer;
  5. Find level.dat -> Data -> WorldGenSettings -> dimensions, if it doesn't have "minecraft:the_end" inside then create it and restore its structure;
  6. Save changes and close NBTExplorer;
  7. Run your Minecraft instance, now everything should be fine. If something still wrong try to repeat steps 4-6.

Here is how this structure should look like:

level.dat structure

If fixing level dat didn't help you then you can try this:

  1. Get your world seed (using NBTExplorer or Minecraft command /seed);
  2. Create a new world with the same seed;
  3. Close your Minecraft;
  4. Find your level.dat (it is located inside your world folder), backup it;
  5. Open your level.dat with NBTExplorer and copy dimension entries from new level.dat (located inside new world folder). If you are on server then you can replace old level.dat with new level.dat;
  6. Run your Minecraft instance, now everything should be fine.

How To Fix Wrong Biome Source

If you will load an old world or this world will be generated with other mods probably you will notice that new End biomes are too small, wrong place or missing structures. The reason of this is wrong biome source. This can be fixed in a few steps with NBTExplorer:

  1. Close your Minecraft;
  2. Install and/or open NBTExplorer;
  3. Find your level.dat (it is located inside your world folder), backup it;
  4. Open your level.dat with NBTExplorer;
  5. Find level.dat -> Data -> WorldGenSettings -> dimensions -> minecraft:the_end -> biome_source;
  6. In the "biome_source" group you will find a "type" with string name of current biome source, edit it and replace biome source to "betterend:better_end_biome_source" (without quotes) for 1.16.5 and "bclib:end_biome_source" for 1.17+;
  7. If instead "seed" tag you have "preset" or other tags - remove them and create seed tag with your world seed value. You can copy it from other parts of level.dat.
  8. Save changes and close NBTExplorer;
  9. Run your Minecraft instance, now everything should be fine. If something still wrong try to repeat steps 4-7.

Here is how this should look like:

level.dat structure

How To Add Custom Recipes

BetterEnd adds its own crating stations and new recipe mechanics. To add custom recipes for them you can use simple JSON files. Proper location of json file in datapack is:

<datapack_name>/data/<datapck_namespace>/recipes/<your_recipe>.json

End Stone Smelter

For the End Stone Smelter recipe format looks like this:

With all tags:

{
	"type": "betterend:alloying",
	"group": "recipe_group",
	"ingredients": ["input_item_id_1", "input_item_id_2"],
	"result": {
		"item": "item_id",
		"count": integer_count
	},
	"experience": 0.0,
	"smelttime": 350
}

With only required tags:

{
	"type": "betterend:alloying",
	"ingredients": ["input_item_id_1", "input_item_id_2"],
	"result": {
		"item": "item_id"
	}
}

All non-specified non-required tags will have default values

Infusion Ritual

Recipes for the Infusion Ritual can aslo be added via JSON, they use this format:

{
	"type": "betterend:infusion",
	"input": {
		"item": "input_item_id"
	},
	"result": {
		"item": "result_item_id",
		"nbt": "{NBT}",
		"count": integer_count
	},
	"time": 300,
	"catalysts": {
		"north": "catalyst_id_1",
		"north_east": "catalyst_id_2",
		"east": "catalyst_id_3",
		"south_east": "catalyst_id_4",
		"south": "catalyst_id_5",
		"south_west": "catalyst_id_6",
		"west": "catalyst_id_7",
		"north_west": "catalyst_id_8"
	}
}

Catalists, amount, time and NBT tags are non-requered.