Code Monkey home page Code Monkey logo

minecraft-bedrock-formation-finder-1.18's Introduction

Minecraft-Bedrock-Formation-Finder-1.18

Tool to find any bedrock formation in a 1.18 minecraft world.

Usage

java -jar bedrockformation.jar seed x:z type [x,y,z:bedrock]

  • seed (long)
    • Seed of your World
  • x, z (int)
    • X and Z search center
  • type (enum)
    • floor -> Searches on Bedrock floor
    • roof -> Searches on Bedrock roof
  • Array of formation
    • x, y, z
      • Location of state
    • bedrock (enum)
      • 1 -> Bedrock wanted
      • 0 -> No Bedrock wanted

Sample: java -jar bedrockformation.jar 124352345 0:0 floor 0,-63,0:1 1,-62,0:1 0,-63,1:0

minecraft-bedrock-formation-finder-1.18's People

Contributors

developer-mike avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

minecraft-bedrock-formation-finder-1.18's Issues

nether roof?

Hi, i tried to search for a specific formation in the nether roof (3x3 with one on top in the middle)
command i used: java -jar bedrockformation.jar 5674239807397845618 0:0 roof -1,123,-1:1 0,123,-1:1 1,123,-1:1 -1,123,0:1 0,123,0:1 1,123,0:1 -1,123,1:1 0,123,1:1 1,123,1:1 0,124,0:1
However the result is always exactly where the starting location is.
am i doing anything wrong? or is the roof search not working? (search at floor in overworld worked great)

Am I missing something?

Hey, I'm trying to find a base with this but it doesn't seem to be working properly. I used a random formation of bedrock to test it and the coordinates I was given were in a completely different place. I checked for typos as well but nothing seems to be working. The only command I've found that works is one that looks for 3x3x3 cubes of bedrock. Anyone know a solution? Here's a screenshot of the formation I'm using for testing: https://imgur.com/FN1WLdk

Not an Issue

Programing noob here, how do you use this? Thanks.

s

s

java file not running?

I just downloaded the java file but every time I try to open it it says "a Java Exception has occurred"... I don't really know what I did wrong T_T

Bug: BedrockBlock.shouldBeBedrock is never used

In Main.java, checkFormation is defined like this:

static boolean checkFormation(int x, int z) {
    for (BedrockBlock block : blocks) {
        if (!bedrockReader.isBedrock(x + block.x, block.y, z + block.z)) return false;
    }
    return true;
}

basically, this checks if a bedrock block is present and returns false if it's not, regardless of shouldBeBedrock.
proposed solution:
replace
if (!bedrockReader.isBedrock(x + block.x, block.y, z + block.z)) return false;
with
if (block.shouldBeBedrock != bedrockReader.isBedrock(x + block.x, block.y, z + block.z)) return false;

or perhaps a more radical change:
https://github.com/humhue/Minecraft-Bedrock-Formation-Finder-1.18/blob/e083be499578423de3d2b8069aba535e5cfd7089/src/main/java/com/mike/Main.java#L82

I'm also not sure why you sort the blocks based on their y level as it doesn't seem to affect the end result

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.