1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Skyblcok gen

Discussion in 'Plugin Help' started by Mochi, Nov 17, 2020.

  1. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Can i change skyblock generator basic island to underground map??
     
  2. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Mind telling us what plugin you're using first?
     
  3. Mochi

    Mochi Baby Zombie

    Messages:
    113
    I'm using plugin from skyblock giantquart,can i change that??
     
  4. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Wdym underground map
     
  5. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Whatt??
     
  6. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Whatt??
     
  7. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    you said underground map
     
  8. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Yeahh
    Can u help me please??
     
  9. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    SO WHAT THE F IS UNDERGROUND MAP
     
  10. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Is underground winter is coming 2
     
  11. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    WDYM LIKE CAN YOU SPEAK IN WHAT I CAN UNDERSTAND BRUHUHR WHAT THE HECK IS UNDERGROUND WINTER IS COMING 2 WHAT???
     
  12. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Hmm,how i create map underground survival with this codee
    PHP:
    class BasicIsland extends IsleGenerator {
        
        
    /**
         * @return string
         */
        
    public function getName(): string {
            return 
    "Basic";
        }
        
        
    /**
         * @param int $chunkX
         * @param int $chunkZ
         */
        
    public function generateChunk(int $chunkXint $chunkZ) : void {
            
    $chunk $this->level->getChunk($chunkX$chunkZ);
            
    $chunk->setGenerated();
            if(
    $chunkX == && $chunkZ == 0) {
                for (
    $x 6$x 12$x++) {
                    for (
    $z 6$z 12$z++) {
                        
    $chunk->setBlock($x61$zBlock::DIRT);
                        
    $chunk->setBlock($x62$zBlock::DIRT);
                        
    $chunk->setBlock($x63$zBlock::GRASS);
                    }
                }
                for(
    $airX 9$airX 12$airX++) {
                    for(
    $airZ 9$airZ 12$airZ++) {
                        
    $chunk->setBlock($airX61$airZBlock::AIR);
                        
    $chunk->setBlock($airX62$airZBlock::AIR);
                        
    $chunk->setBlock($airX63$airZBlock::AIR);
                    }
                }
                
    Tree::growTree($this->level11 646$this->random0);
                
    $chunk->setBlock(8647Block::CHEST);
                
    $chunk->setX($chunkX);
                
    $chunk->setZ($chunkZ);
                
    $this->level->setChunk($chunkX$chunkZ$chunk);
            }
            
            if(
    $chunkX == and $chunkZ == 0) {
                for(
    $x 6$x 11$x++) {
                    for(
    $z 6$z 11$z++) {
                        for(
    $y 60$y 65$y++) {
                            
    $chunk->setBlock($x$y$zBlock::SAND);
                        }
                    }
                }
                
    $chunk->setBlock(8658BlockIds::CACTUS);
            }
        }
        
        
    /**
         * @param int $chunkX
         * @param int $chunkZ
         */
        
    public function populateChunk(int $chunkXint $chunkZ) : void {
            return;
        }
        
        
    /**
         * @return Vector3
         */
        
    public static function getWorldSpawn(): Vector3 {
            return new 
    Vector3(7667);
        }
        
        
    /**
         * @return Vector3
         */
        
    public static function getChestPosition(): Vector3 {
            return new 
    Vector3(8647);
        }
        
        
    /**
         * @return Vector3
         */
        
    public function getSpawn(): Vector3 {
            return new 
    Vector3(7667);
        }

    }
     
  13. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    What exactly are you talking about? Give me visuals. Give me screenshots of what you want
     
  14. Mochi

    Mochi Baby Zombie

    Messages:
    113
    I want to make all players play survival underground like Skyblock that survives above the sky, so how do I make a new island with the code above
     
  15. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Sorry my english is bad
     
  16. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    The code uses setBlock function which means you'll have to manually set each blocks to create your map
     
  17. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Ok,can you help me please
     
  18. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Well, I don't even know what you want so :L
     
  19. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Can you give me a code for setblock to end world??
     
  20. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Dude, it's gonna be massive. Just use world gen and replace the code with ConsoleCommandSender or something :/
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.