MASKERTHEGAMER

Another world filled with monsters instead of humans like the demagorgon from the show stranger things not only that but the has pale oak trees instead of normal trees ,the grass is warped nylium and crimson nylium and lines of skulk blocks and the clouds and the sky is gray and there is lightning is red and you can get there by finding rifts

Kodari AI
KodariNov 7 at 7:00 pm 1
UpsideDownDimension
Creates a Stranger Things-inspired alternate dimension accessible via rifts. The world features pale oak trees, warped and crimson nylium ground, skulk block veins, gray skies with red lightning, and monster mobs resembling Demogorgons. Players discover randomly spawning rift portals in the overworld to enter this eerie dimension, with custom world generation and unique ambient effects.

I’ll create the plugin with a custom rift-world generator, discoverable portal rifts, and hostile Rift Stalkers with a storm-darkened, red-lightning effect.

Created RiftWorld: it generates a nylium-covered world with pale oak-style trees and skulk lines, places discoverable rifts that teleport players in and back, and adds named hostile Rift Stalkers with storm weather and red particle lightning effects.

Bukkit plugins can’t recolor the sky directly, so the storm only darkens it; the stalkers are named vanilla zombies, not custom Demogorgon models. Custom model creation is available if you enable Studio under Settings → Generation.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
7 331
src/main/java/com/kodari/riftworld/RiftWorldPlugin.java
package com.kodari.riftworld;

import com.cryptomorin.xseries.particles.XParticle;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.List;
import java.util.concurrent.ThreadLocalRandom;

public final class RiftWorldPlugin extends JavaPlugin {
    private World riftWorld;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        String worldName = getConfig().getString("rift-world", "rift-world");
        riftWorld = Bukkit.createWorld(new org.bukkit.WorldCreator(worldName)
                .environment(World.Environment.NORMAL)
                .generator(new RiftWorldGenerator()));

        if (riftWorld == null) {
            getLogger().severe("Could not create the rift world: " + worldName);
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        RiftListener listener = new RiftListener(this);
        getServer().getPluginManager().registerEvents(listener, this);
        listener.createExitRift();
        startRiftWeather();
        startMonsterSpawns();
    }

    public World getRiftWorld() {
        return riftWorld;
    }

    private void startRiftWeather() {
        riftWorld.setStorm(true);
        riftWorld.setThundering(true);
        riftWorld.setWeatherDuration(12000);
        riftWorld.setThunderDuration(12000);

        Bukkit.getScheduler().runTaskTimer(this, () -> {
            riftWorld.setStorm(true);
            riftWorld.setThundering(true);
            riftWorld.setWeatherDuration(12000);
            riftWorld.setThunderDuration(12000);

            List<Player> players = riftWorld.getPlayers();
            if (players.isEmpty()) {
                return;
            }

            Player target = players.get(ThreadLocalRandom.current().nextInt(players.size()));
            Location strike = target.getLocation().clone().add(
                    ThreadLocalRandom.current().nextInt(-12, 13), 0,
                    ThreadLocalRandom.current().nextInt(-12, 13));
            strike.setY(riftWorld.getHighestBlockYAt(strike) + 1);
            riftWorld.strikeLightningEffect(strike);
            drawRedLightning(strike);
        }, 20L * 30, 20L * 30);
    }

    private void drawRedLightning(Location strike) {
        XParticle.of("DAMAGE_INDICATOR").ifPresent(particle -> {
            for (int y = 2; y <= 18; y += 2) {
                Location point = strike.clone().add(
                        ThreadLocalRandom.current().nextDouble(-0.25, 0.25), y,
                        ThreadLocalRandom.current().nextDouble(-0.25, 0.25));
                riftWorld.spawnParticle(particle.get(), point, 3, 0.12, 0.12, 0.12);
            }
        });
    }

    private void startMonsterSpawns() {
        Bukkit.getScheduler().runTaskTimer(this, () -> {
            for (Player player : riftWorld.getPlayers()) {
                if (ThreadLocalRandom.current().nextInt(4) != 0) {
                    continue;
                }

                int x = player.getLocation().getBlockX() + ThreadLocalRandom.current().nextInt(-14, 15);
                int z = player.getLocation().getBlockZ() + ThreadLocalRandom.current().nextInt(-14, 15);
                Location spawn = riftWorld.getHighestBlockAt(x, z).getLocation().add(0, 1, 0);
                LivingEntity stalker = (LivingEntity) riftWorld.spawnEntity(spawn, EntityType.ZOMBIE);
                stalker.setCustomName("§cRift Stalker");
                stalker.setCustomNameVisible(true);
                stalker.setRemoveWhenFarAway(true);
            }
        }, 20L * 10, 20L * 20);
    }
}