Coder Social home page Coder Social logo

deminearchiver / mc-world-export Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igrium/mc-world-export

0.0 0.0 0.0 2.69 MB

A mod which eases the exporting of Minecraft worlds into Blender and similar software.

License: GNU General Public License v3.0

Python 25.45% Java 68.85% Cython 5.70%

mc-world-export's Introduction

Minecraft Replay Exporter

An addon for the Replay Mod that allows you to export your replays into Blender.

This mod is still in development. It is buggy and should not be used in a production environment! (If you do use it in production, let me know how it goes!)

Example

Installation

Minecraft

  1. Download the jar file from the Releases tab.
  2. Add the jar to your mods folder, alongside the Replay Mod and the Fabric API.

Blender

  1. Download the zip file from the Releases tab. Do not extract it!
  2. In Blender, open your preferences and go to the Add-ons tab.
  3. In the top right, click "Install..." and navigate to the zip file in the window that opens.

Usage

Exporting

To begin, open Minecraft and record the replay you wish to export. If you don't know how to do that, you shouldn't be using this mod. Then, open the replay editor and add at least two time and camera keyframes. These will determine the start and end points of your animation.

Warning: nether portals and other forms of cross-dimension travel are not currently supported.

Once you're happy with your replay, open the render screen click "Export replay file:"

the Export Replay button

This will open a screen for you to select an output file and configure some replay settings. At the time of writing, the available settings are:

  • Radius: The number of chunks around the camera to export.

  • Lower Depth: The Y value at which to cut off exporting.

Blocks are quite expensive to import and export, and your export region will significantly impact how long the file takes to process. It is recommended to determine the bare minimum of what must be exported in your scene and clamp your export bounds to that.

The Export Settings menu

Once you're ready, click the "Export" button at the bottom left and wait for it to complete. It is common for the window to appear frozen while the initial block world is captured.

Importing

After exporting from Minecraft, you should be left with a .replay file, which can be imported into Blender using the provided addon.

Once you've ensured the addon is installed, create a new project and go to File > Import > Minecraft Replay File (.replay). Navigate to your file, but before you import it, see the settings on the right:

Replay Import Settings

The main two you need to worry about are Import World and Import Entities. While you usually want to import both, they each can take quite a bit of time, so it may be useful to disable one or the other.

Everything else can be left as default.

Once you're ready, click "Import Minecraft Replay" at the bottom. Blender will appear to hang for a few minutes. Don't worry; this is because the data-set of a Minecraft world is quite large, and Blender provides no way to update the UI while it is processing.

Once it is finished importing, you should have a Minecraft world and most of its entities in your scene! If something goes wrong, make sure to submit a bug report!

mc-world-export's People

Contributors

igrium avatar spongecade 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.