fabian256331
📎 1 file 1,624 chars
📄
pasted-code-1779831163088.txt
txt 13 lines
▶
"I am making a Minecraft Bedrock Edition Add-on and need help writing the files for a specific illusion room mechanic.

Please provide the necessary JSON files, behavior files, and folder structure for the following setup:

The Concept: I want to create the illusion of an 'infinite white room'. From the outside, there is a completely normal, small room with a standard door. When a player opens the door and walks in, they should instantly feel like they are looking at an endless, borderless white space. When the door is closed from the outside, it should look like a perfectly normal building.

Custom White Block: A custom block that is completely solid white with zero textures, lines, or shading. This block will be used to line the walls, floor, and ceiling of a massive hidden room elsewhere in the world. Because the block has no lines or shadows, it makes the boundaries of the room invisible, creating the 'infinite' effect.

Teleportation Trigger (Entering): A hidden trigger or script attached to a custom block placed right inside the front door of the normal room. The moment a player steps through the door, it must instantly teleport (/tp) them to the center of the giant hidden white room.

Teleportation Trigger (Exiting): A mechanism (like a custom pressure plate or a block trigger) inside the infinite white room that teleports the player back to the outside front door of the normal room, making it look like they just walked back out.

Please provide the code for the blocks.json, the behavior components, and step-by-step instructions on where to save these files in my Add-on folder."
Kodari AI
KodariMay 26 at 9:33 pm 2,265 (v2)

I appreciate you reaching out, but I need to clarify an important distinction:

I am a Minecraft Java Edition plugin developer — I specialize in server-side plugins for Bukkit, Spigot, Paper, and Folia using Java code.

Your request is for Minecraft Bedrock Edition Add-ons — which use JSON behavior packs, resource packs, and a completely different format/system.

These are two entirely separate ecosystems:

Java Edition (what I do)
Bedrock Edition (your request)
Server-side plugins (.jar files)
Add-ons (behavior + resource packs)
Written in Java
Written in JSON + some scripts
Runs on Spigot/Paper servers
Runs on Bedrock clients/realms
Uses Bukkit API, events, commands
Uses Bedrock JSON format
.java
files in
src/main/java/
.json
files in behavior/resource folders

What I can help you with:

If you want to build this infinite white room illusion as a Java Edition server plugin, I can absolutely create:

  • A teleportation system that detects when players enter/exit doorways

  • Custom block interactions and triggers

  • Commands to set up the room locations

  • Config files to manage teleport points

  • Particle effects or title messages for the transition

Would you like me to create a Java Edition plugin for this concept instead? If so, I can start building it right away.

If you need help with Bedrock Edition Add-ons, you’ll want to seek help from a Bedrock add-on developer or community (like the Minecraft Add-Ons Discord or Bedrock wiki).

fabian256331

do a java with this prompt

📎 1 file 1,624 chars
📄
pasted-code-1779831220553.txt
txt 13 lines
▶
"I am making a Minecraft Bedrock Edition Add-on and need help writing the files for a specific illusion room mechanic.

Please provide the necessary JSON files, behavior files, and folder structure for the following setup:

The Concept: I want to create the illusion of an 'infinite white room'. From the outside, there is a completely normal, small room with a standard door. When a player opens the door and walks in, they should instantly feel like they are looking at an endless, borderless white space. When the door is closed from the outside, it should look like a perfectly normal building.

Custom White Block: A custom block that is completely solid white with zero textures, lines, or shading. This block will be used to line the walls, floor, and ceiling of a massive hidden room elsewhere in the world. Because the block has no lines or shadows, it makes the boundaries of the room invisible, creating the 'infinite' effect.

Teleportation Trigger (Entering): A hidden trigger or script attached to a custom block placed right inside the front door of the normal room. The moment a player steps through the door, it must instantly teleport (/tp) them to the center of the giant hidden white room.

Teleportation Trigger (Exiting): A mechanism (like a custom pressure plate or a block trigger) inside the infinite white room that teleports the player back to the outside front door of the normal room, making it look like they just walked back out.

Please provide the code for the blocks.json, the behavior components, and step-by-step instructions on where to save these files in my Add-on folder."
Kodari AI
KodariMay 26 at 9:35 pm 11,224 (v2)

I’ll create a Java Edition plugin that implements the infinite white room illusion concept!

InfiniteRoomIllusion
A teleportation-based illusion system that creates seemingly infinite white rooms. Players walking through configured doorways are instantly transported to massive hidden chambers lined with white blocks, creating a boundaryless effect. Admins can set up multiple illusion rooms with entry/exit trigger zones. Features automatic teleportation on movement, configurable trigger regions, and persistent room storage. Perfect for creating mind-bending architectural illusions and escape rooms.

I’ll create a plugin with automatic teleportation triggers that detect when players walk through doorways, transporting them to hidden white rooms and back.


Setup Complete! 🎭

How to use:

  1. Build a white room in a remote location (e.g., 10,000 blocks away):

    • Use white concrete, white wool, or quartz blocks

    • Make it HUGE (50x50x50 or larger) with no decorations

    • The larger and more featureless, the better the illusion

  2. Create a normal-looking room with a doorway

  3. Configure teleportation:

    Plain Text
    /ir create myroom
    /ir setentry          (stand just inside the doorway)
    /ir setwhiteroom      (stand in the center of the white room)
    /ir setexit           (stand at the exit point in white room)
    /ir setreturn         (stand outside the normal doorway)
    
  4. Test it: Walk through the door — instant teleport to the white room!

Key Features:

  • Automatic detection with 2-block radius trigger zones (configurable)

  • Multiple rooms supported

  • Persistent storage across restarts

  • Sound effects on teleport (configurable)

  • Player direction/rotation preserved

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
11 724
src/main/java/com/infiniteroom/InfiniteRoomPlugin.java
package com.infiniteroom;

import com.infiniteroom.command.InfiniteRoomCommand;
import com.infiniteroom.listener.PlayerMoveListener;
import com.infiniteroom.manager.ConfigManager;
import com.infiniteroom.manager.RoomManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class InfiniteRoomPlugin extends JavaPlugin {
    
    private ConfigManager configManager;
    private RoomManager roomManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.roomManager = new RoomManager(this);
        
        this.roomManager.loadRooms();
        
        getCommand("infiniteroom").setExecutor(new InfiniteRoomCommand(this));
        
        Bukkit.getPluginManager().registerEvents(new PlayerMoveListener(this), this);
        
        getLogger().info("InfiniteRoomIllusion enabled! " + roomManager.getRooms().size() + " rooms loaded.");
    }
    
    @Override
    public void onDisable() {
        if (roomManager != null) {
            roomManager.saveRooms();
        }
        getLogger().info("InfiniteRoomIllusion disabled.");
    }
}