Git Product home page Git Product logo

gdmc's Introduction

GDMC - Project Code

Adley Wong, Ben Cornel, Deon Lillo, Martin Jiang

Cal Poly CSC 570 - Professor Rodrigo Cannan


Features

  • GDPC http client
  • Generative Structure placement based on a masking system
  • Random pathing algorithm
  • Masking for water, lava, and paths
  • Structure padding, path location
  • Structure rotation
  • Height map and masking visualization tool
  • Border visualization

Requirements

The code requires the use of minecraft data files, particularly the village nbt files that are packaged with Minecraft.jar. Provided the EULA, we cannot provide explicitly the files within the repository. The steps to retrieve those files are provided.

  1. Download the server.jar here
  2. Unzip the server.jar file with your preferred unarchiver
  3. Open the folder and search for data folder
  4. In the folder should contain the directory minecraft
  5. In that folder has a directory structure
  6. Finally, village directory can be spotted in the folder, we will need this for the code
  7. move or copy village into the working directory and rename the folder to villages

here

This ensures that the code will know where the provided NBT files are located


Installation

  1. Install the required NBT files from minecraft, either as described in Requirements or using the script
./grab.sh
  1. Install python dependencies
> pip install -r requirements.txt

Run

> python buildVillage.py

Results

Randomly generated buildings

Heightmap and mask visualization


Resources

gdmc's People

Contributors

akwong189 avatar deonlillo avatar bencornell4 avatar

Watchers

James Cloos avatar Martin J avatar  avatar

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.