Recent Discussions

How to create one block world on a server

Unanswered
Barbary Lion posted this in #questions
Messages3 messages
Views0 views
Barbary LionOP
hey trying to create a oneblock world using https://modrinth.com/datapack/oneblock-reborn

hoever when i docker compose up on my file here i get yaml: line 9: did not find expected key i tried replacing layer with minecraft:air 100 etc but doesn't seem to work. the link above gives instructions

The thing is the instructions say remove all layers but it doesn't seem to work when I remove the flares and make it a blank dictionary or list

Download the map and extract it using WinRAR or 7Z.
After extracting you will get a folder.
Now go to Minecraft and go to Create New World option.
After that click Datapack option and then click Open Pack Folder.
Now go to Minecraft and go to Create New World option.
After Coping come to Minecraft and Select the OneBlock Datapack and click Done .
Now go to More World Option and Set the World Type to Superflat.
After Selecting Superflat click on Customize and Remove Every Layer and click Done.
Now click Create new World.
That's it OneBlock is installed.
Now you can enjoy it in Minecraft.



services:
  mc:
    image: itzg/minecraft-server
    tty: true
    stdin_open: true
    ports:
      - "25568:25565"
      - "25578:25575"
    environment:
      EULA: "TRUE"
      MAX_MEMORY: "16G"
      MODRINTH_DOWNLOAD_DEPENDENCIES: "required"
      MODRINTH_PROJECTS: ""
      DATAPACKS: "https://cdn.modrinth.com/data/rjoxKH4R/versions/iTF1xBfu/OneBlock_Reborn.zip"
      TYPE: "Fabric"
      TZ: "America/New_York"
      UID: 1000
      VERSION: "1.21.4"
      LEVEL_TYPE: "FLAT"
      GENERATOR_SETTINGS: '>-4'
        {
            "layers": []
        }
    volumes:
      # attach the relative directory 'data' to the container's /data path
      - ./data:/var/lib/docker/volumes/oneblock/_data
~
Barbary LionOP
If I omit the generator settings it just generates a regular world with the one block pack enabled
Barbary LionOP
this sort of works, no errors but it generates a regular world

---
services:
  mc:
    image: itzg/minecraft-server
    tty: true
    stdin_open: true
    ports:
      - 25568:25565
      - 25578:25575
    environment:
      EULA: "TRUE"
      MAX_MEMORY: 16G
      MODRINTH_DOWNLOAD_DEPENDENCIES: required
      MODRINTH_PROJECTS: ""
      DATAPACKS: https://cdn.modrinth.com/data/rjoxKH4R/versions/iTF1xBfu/OneBlock_Reborn.zip
      TYPE: Fabric
      TZ: America/New_York
      UID: 1000
      VERSION: 1.21.4
      LEVEL_TYPE: FLAT
      GENERATOR_SETTINGS: >-
        {
            "layers": []
        }
    volumes:
      - ./data:/var/lib/docker/volumes/oneblock/_data
Loading...