๐
1 file
2,596 chars
๐
pasted-code-1791986258618.txt
txt
22 lines
โถ
pasted-code-1791986258618.txt
txt
22 lines
Create a Minecraft Fabric 1.21.11 mod that changes End terrain generation so that outer End islands can generate at different elevations throughout the normal world height, from Y = 0 to Y = 256.
The mod must include:
- **Vertical island generation:** Generate floating End islands at low, medium, and high elevations, rather than keeping most islands at similar heights.
- **Multiple vertical layers:** Allow several islands to exist above and below each other within the same general area.
- **Natural terrain shapes:** Generate irregular End-stone islands with uneven surfaces, broad tops, tapered undersides, cliffs, spires, and occasional mountainous formations.
- **Varied island sizes:** Include small isolated islands, medium formations, large landmasses, and occasional clusters.
- **Natural distribution:** Use procedural noise and deterministic world-seed-based generation to vary island positions, heights, sizes, and shapes.
- **Empty void regions:** Preserve large gaps between islands so the End does not become one continuous mass of terrain.
- **Horizontal distribution:** Keep islands primarily in the outer End while preserving the general vanilla arrangement of the central island.
- **Vanilla compatibility:** Preserve the Ender Dragon encounter, obsidian pillars, End gateways, End cities, chorus plants, End biomes, and other vanilla features wherever possible.
- **Normal world height:** Keep all terrain within the existing world build limits. Do not increase the dimension's height or change its minimum or maximum build height.
- **Seamless chunks:** Ensure neighboring chunks connect correctly without visible gaps, seams, or mismatched terrain.
- **Performance:** Use efficient noise and density calculations to avoid excessive world-generation costs.
- **Deterministic generation:** Generate consistent terrain for the same world seed and coordinates.
- **Configuration:** Allow the vertical distribution, island density, island size variation, and terrain intensity to be adjusted through a configuration file.
- **Existing worlds:** Apply the new generation to newly generated chunks without requiring existing chunks to be regenerated.
The mod must modify actual End terrain generation, not merely spawn decorative islands or structures. Use a technically valid implementation compatible with Minecraft Java Edition 1.21.11 and Fabric.
The final result should feel like a natural expansion of the vanilla End, with vast vertical landscapes, floating islands at unusual elevations, layered formations, and enormous stretches of empty void.
KodariOct 14 at 2:14 pm 4
VerticalEndIslands
Overhauls End outer island terrain generation in Minecraft Fabric 1.21.11, creating floating End-stone islands distributed vertically from Y=0 to Y=256. Uses deterministic seed-based procedural noise to generate irregular island shapes with varied sizes, elevations, and layered formations while preserving large void gaps. Maintains vanilla compatibility including the central island, Ender Dragon fight, End cities, and biomes. Features configurable density, vertical distribution, size variation, and terrain intensity through a JSON configuration file. Ensures seamless chunk borders and efficient performance through optimized density calculations. Applies only to newly generated chunks without altering world height limits.
Identify the 1.21.11 End terrain-generation hook and exact mixin target.
Implement deterministic, configurable layered island terrain without changing world height or central-island generation.
Add Fabric entrypoint, mixin configuration, and mod metadata.
Created Vertical End, which wraps the vanilla End density function to generate deterministic, layered End-stone islands in newly generated outer-End chunks. It leaves the central area and world height unchanged; existing chunks are unaffected.
The mod creates config/verticalend.properties with controls for vertical range, island density, maximum layers, size variation, and terrain intensity. The project includes Fabric metadata and mixin configuration.
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
11 421
src/main/java/com/kodari/verticalend/VerticalEndMod.java
package com.kodari.verticalend;
import net.fabricmc.api.ModInitializer;
public final class VerticalEndMod implements ModInitializer {
@Override
public void onInitialize() {
IslandConfig.load();
}
}