Worldgen Flexiblifier

# Worldgen Flexiblifier

A tool for making various aspects of Minecraft worldgen more flexible. Meant to be used by mod authors or modpack/datapack
developers. Artifacts are available on CurseForge and Modrinth, or on my maven: https://maven.lukebemish.dev/releases/dev/lukebemish/worldgenflexiblifier/

## Features

For more documentation on features, see the wiki.

### Dripstone Generation

The vanilla dripstone feature types (`dripstone_cluster`, `large_dripstone`, and `pointed_dripstone`) can now be
configured to place blocks other than dripstone.

### Ore Veins

A new feature type, `worldgenflexiblifier:ore_vein`, has been added, which re-implements the vanilla “large ore veins”
(which contain a filler stone and some ore blocks) so that custom veins can easily be added.

WorldgenFeatureFix

# WorldGenFeatureFix

> Tips: _Mojang has marked this problem as fixed since 26.1 Snapshot 6, you may don’t need this mod in 26.1 anymore._

## What this mod fixes?
When custom world generation datapack uses minecraft:lake or minecraft:snow_and_freeze placed feature with water, The chunk generator crashes. (See MC-273228 or MC-272370 for more details).
Inspired by This pull request, This mod apply mixins to make them work.
## Techinal Details
In version 1.21, chunk generation has been highly optimized, which unintentionally breaks the freeze detection of the lake feature since it may trying to access inaccessible chunks. However, since Mojang only uses the lake feature for lava lakes at now, this issue does not occur in vanilla Minecraft — but it does affect custom world generators! This mod applies mixins that fallback to `getUncachedNoiseChunk`, allowing the lake feature to work correctly again.
## Disclaimer
However, The PR also mentioned that LakeFeature is deprecated and vanilla has moved away from using it for anything except for lava lakes.
The error for unsafe chunk gets removing here is an intentional safeguard against bad code, such as that in the dead path in LakeFeature when creating water lakes. While it may appear to ‘fix’ the problem at hand it is not a proper solution and will cause other more serious problems to go undetected. Use at your own risk. (At least it works perfect in my server)

Worldgen Patches

# Worldgen Patches

This mod aims to patch some minor issues/quirks with world generation. Currently, this includes the following fixes:
– The `steep` surface rule (which in vanilla gives Jagged Peaks stone faces) now affects *all* directions, not just the north and east-facing sides.
– Snow layers correctly generate both below and on trees.
– Beached shipwrecks no longer spawn at different heights and with different block palettes across chunk borders.
– Igloos never generate a trapdoor if there is no basement.

WorldEdit CUI (Unofficial Forge Port)

WorldEdit CUI (Forge)
————

This is a port for the WorldEdit CUI (Fabric) utility to the Forge platform.

WorldEdit CUI is a graphical user interface for [WorldEdit]. WorldEditCUI is designed
to assist in using WorldEdit, as well as preventing accidental errors.

Please note that this is not [WorldEdit], which allows you to make changes
to your world, but WorldEditCUI, a frontend for WorldEdit. You must have
WorldEdit installed on your server.

Installation
————

Install this mod into Minecraft mods folder.

WorldEdit selections will be shown without any configuration necessary, and the colours used can be configured from the forge mod menu.

Credits
——-

The Forge port:
* Zbx1425, which is me
* Shedaniel for the Architectury cross-loader build system

Original WorldEdit CUI (Fabric):
* Mumfrey, yetanotherx, mikroskeem, and zml for maintaining WorldEditCUI previously
* lahwran – Creator of the original WorldEdit CUI!
* sk89q for writing the WorldEdit plugin!
* Mojang – for making such an awesome game!

Legal stuff
———–

This code is licensed under the [Eclipse Public License v1].

[WorldEdit]: https://enginehub.org/worldedit/
[Eclipse Public License v1]: https://www.eclipse.org/org/documents/epl-v10.php

WorldEdit Items

![](https://github.com/e-splat/WorldEditItems/blob/Quilt/Fabric/cosoworldedititems.png?raw=true)

Does it bother you that WorldEdit uses native objects in Minecraft and ruins the gaming experience? This mod is just for you! This mod adds three new items for use with WorldEdit so that you do not have to use vanilla items.

**Requires WorldEdit**

Available for **Fabric** (requires Fabric API), **Quilt** (Use the Fabric Version) (requires Quilt Standard Libraries) and **Forge**

## Configuration

1. Check if you have WorldEdit installed (if not the mod is useless)
1. Put the .jar file in your mods folder
1. In game, hold the Wand/NavWand/SuperPickaxe item, and type `/tool selwand` `/tool selwand` (for now, the SuperPickaxe option is not available I think, I will update you soon)
1. After that, try to use the Wand Axe or Nav Wand and see the results

**NOTE**: if Commands i gived are not working, please report this to WorldEdit Devs

WorldEdit Hang Fix

A simple mod that prevents WorldEdit from hanging the Minecraft server when the server is stopping

It fixes https://github.com/EngineHub/WorldEdit/issues/2459. What it does:

– Shutdown `WorldEdit.getInstance().getExecutorService()` on dedicated server stop (or it will hang the server for maximum 60s)
– Ensure the singleton `java.util.Timer` object in `FutureProgressListener` runs on a daemon thread (or it will hang the server forever)

Supported environment

| Platform | Minecraft | WorldEdit |
|———-|————–|———–|
| fabric | MC >= 1.14 | >=7.0.0 |
| forge | MC >= 1.15 | >=7.0.0 |
| neoforge | MC >= 1.20.6 | >=7.0.0 |

WorldEdit

WorldEdit Logo

**A Minecraft Map Editor… that runs in-game!**
With selections, schematics, copy and paste, brushes, and scripting.
Use it in creative, or use it temporarily in survival.

Java Edition required.
Compatible with NeoForge, Fabric, and Bukkit-based platforms (Spigot and Paper).

Installation

🛑 Make sure that you are using the Java version of Minecraft. **WorldEdit does not support Bedrock!**

Mod version:

1. Install NeoForge or Fabric.
2. Download WorldEdit from this page (make sure you grab the mod version, not the plugin).
3. Put the WorldEdit mod file into your mods folder.

Plugin version:

1. Set up a Bukkit server such as Spigot or Paper (Paper is [recommended](https://madelin
emiller.dev/blog/paper-vs-spigot/) over Spigot).
2. Download WorldEdit from this page (make sure you grab the plugin version, not the mod).
3. Put the WorldEdit plugin file into your plugins folder.

Check YouTube for tutorials, or read the official documentation

Documentation & Discord

**The most complete source of WorldEdit information is our documentation, check them out here!**

If you need further help than what the documentation can provide, you can join our Discord server.

![Discord Server](https://discord.gg/enginehub)

Highlights

![WorldEdit Highlights: Generate cool things](https://i.imgur.com/VXzkPUm.jpg==509×711)

![WorldEdit Highlights: Works with other mods](https://i.imgur.com/3l8EGa2.jpg==458×711)

![WorldEdit Highlights: Save parts of your world](https://i.imgur.com/sryer61.jpg==158×711)

![WorldEdit Highlights: Terraform using brushes](https://i.imgur.com/PdLnuVw.jpg==664×711)

Frequently Asked Questions

**Do I need cheats on?**

If you’re playing on single player: Yes, cheats must be enabled for the world to use WorldEdit, but you can change this in the configuration. If you’re running a server: Only opped users can use WorldEdit, though this can be changed too.

**Can anyone use it?**

On servers, only opped users or users with permissions supplied with a permissions plugin can use WorldEdit. On LAN, anyone can use it if cheats are enabled.

**How do you use WorldEdit?**

To learn how to use WorldEdit, read the docs. Check YouTube for tutorials too!

**I need help!!**

You may visit our documentation or Discord Guild.

**I have some feature requests…**

Visit our issue tracker. However, if you just have a question, please try one of the methods above.

**Can I include WorldEdit in my modpack?**

You are free to include WorldEdit, without having to asking for explicit permission. 
A link back to this page or our GitHub Sponsors would be appreciated, however.

**Can I edit the source code?**

Visit our GitHub repository. WorldEdit is licensed under GPLv3 and you can compile it with Gradle.


🎉 Support us on GitHub Sponsors!

Need a host? We recommend Apex Hosting
Apex Hosting

Worldbound Items

![wouldbound_title_banner](https://cdn.modrinth.com/data/cached_images/01f814227f54ee9fb1c4433b944bc00aa3f1b159.png)
## Worldbound

**Worldbound** is a Minecraft datapack that lets you make any enchantable item completely invulnerable while on the ground.
To do this, combine the item with a **Netherite Scrap** and a **Netherite Upgrade Smithing Template** in a **Smithing Table**.

Once upgraded, the item gains the following properties while on the ground:

– **Indestructible** – Immune to all forms of destruction
– **Glowing** – It glows if you are close enough to it, even through walls
– **Persistent** – Never despawns
– **Void Recovery** – Automatically teleports to the top of the world if it falls into the void

This datapack is inspired by Tinkers’ Construct Worldbound Modifier.

You can add more items that can be crafted into Worldbound by following the `README.md` within the Datapack ZIP.

**Note:** *If the item is in a Shulker Box and drops into the Void, or is exposed to an explosion which was triggered by someone who is in Creative Mod, the Item can be destroyed.*

World Start Commands and Global Gamerules

![BoxToPlay sponsor](https://www.boxtoplay.com/en/minecraft-hosting/minecraft-server)
Check out BoxToPlay for cheap and powerful minecraft servers (seriously, it’s the one I use daily, it’s great)

also available on curseforge (much worse)

This mod is originally made for setting global gamerules that will apply to every world but it works with any other commands.

v1 description

When you first start your game the mod will create a file called WSCommands.json in your config folder which is formatted like so:

“`
{
“Repeat”: false,
“DedicatedMode”: false,
“1”: “[command1]”,
“2”: “[command2]”,
“3”: “[command3]”
}
“`
The mod will run the commands in order every time you load into a new world.
Make sure to not skip any numbers.
Don’t forget the commas.
The commands don’t include the /

example:

“`
{
“Repeat”: false,
“DedicatedMode”: false,
“1”: “effect give @a minecraft:resistance”,
“2”: “gamerule keepInventory true”,
“3”: “gamerule doInsomnia false”,
“4”: “give @r minecraft:diamond”
}
“`
this will first give the resistance effect to every player, then set keepInventory to true and doInsomnia to false, then give a diamond to a random player in the world

If `Repeat` is set to `true`, the commands will run every single time the world is loaded (or every time a player joins the world if `DedicatedMode` is set to `true`.)
If `DedicatedMode` is set to `true`, the commands will run for every single player that joins the world for the first time.

### important:
`/wsc [target] forcerun` will run the commands directly
`/wsc [target] reset` will run the commands again the next time you load the current world
`/wsc null` is a command that does not do anything

Commands don’t run at world creation ? Try doing `/wsc forcerun` (need OP), if it shows a message in red saying it was unable to run the command, you probably forgot a comma somewhere in your config (all lines have a comma except the last one)

Commands do run but gamerules aren’t set ? Minecraft is very specific with the capitalization of the gamerules (`gamerule keepinventory` or `gamerule Keepinventory` for example will NOT work as the correct capitalization is `gamerule keepInventory`)

Be very careful when going from a command block directly to the toml file as you have to escape anything inside the command that the json format uses (ex: becomes \, ” becomes “) (very useful resource here https://www.freeformatter.com/json-escape.html just type the command you want in the box don’t press enter and just press “escape JSON” and it should give you exactly what you need to copy paste (don’t forget to put what you copied from the website between quotation marks in the command list!!)

A config file called WSCommands.toml will be generated in the config folder, most important information should be contained there

Join my discord server for support about my mods!

icon was taken on game-icons.net

World Start Commands

# Overview #
**This Mod/Datapack can execute any command on starting a world**

The default way of the world counting as “started” is, when a player picks up any wooden log.

Once all players have done so, the commands get executed and you’re ready to play!

# Usage

This pack is intended to use for modpacks or other projects where a special setup has to be done before being able to properly play.
All commands which you want to have executed have to be written in the “setup.mcfunction” under data/world_start/functions. (Copy the file onto desktop, edit it, replace old one)

## Why two versions ##

I’ve decided to make two seperate versions of this pack. One, which is very simple and easy to use and another, fancier version. The fancy version keeps track of who has already “started” and once all players did, it will count down and then “start” the world. The two function identically, it’s just for personal preferrence if you like it simple or fancy.

## How to customize ##
You will have to edit the pack/mod to write the commands into it. Here is a detailed step by step guide for this:

**Mod version:**
1. Rename the mod file from .jar to .zip.
2. Follow instructions for datapack version.
3. Once you’re done, rename it back to .jar

**Datapack version:**
1. Open the .zip file and find the “setup.mcfunction” under data/world_start/functions .
2. Copy the file onto your desktop (out of the .zip archive).
3. Open the file with any text editor.
4. You should find the command “say setup complete”. This is the default example command.
5. For the fancy version, it has two more commands, which just clear a few displays. (Do not remove)
6. Delete the default command and add the commands you need to the file. Don’t include the slash. Command execution order is the top command first and bottom one last. All happen at the same time though.
7. Once all commands are written down, save it and place it back in the .zip folder. It will ask to if you wish to replace the old file which you do.
8. The pack is done! Now you just have to load it into Minecraft and you’re ready to go!
9. If the world is already running, you will have to do /reload to apply the changes to the game.

### Setting a different start
The way of detecting if a player has started to play is by an invisible advancement. It detects if the player has obtained any wooden log and gives a function if they have. This is of course also customizable. I recommend reading the wiki page about advancement triggers if you want to change the way the world starts. Just replace the “world_start” advancement in the pack.

### Other
Of course you can use this in your modpack. Feel free to edit this to your liking and include it. I just dont want you to publish this exact version with one tiny change and claim it as your own.

The datapack is marked as incompatible for some versions, but it should still work fine.