2. Creating Your Own Castle

What You’ll Be Doing

Image Find and install MCEdit

Image Find your own structure on Thingiverse

Image Log in to Tinkercad and explore some of its features

Image Import your own castle with MCEdit

Image Explore more MCEdit features

I hope you enjoyed following along in Chapter 1, “Taking Over a Castle,” as I found a castle and brought it into my Minecraft world. I moved quickly in that chapter because I had a lot to cover, but in this chapter I’m going to slow things down a bit and go into a little more detail about the tools I used.

This chapter gives you a chance to mimic what I showed you in Chapter 1 and create your very own castle—or any other object you like. Along the way, you’re going to get a little more experience in using MCEdit and Tinkercad, two very important (and free) tools that are pure gold to a Minecraft engineer.

This is a hands-on chapter, so you should have it with you as you sit in front of your Mac or Windows computer. I’m going to ask you to actually perform the steps I describe as I do them. Hopefully you’ll like what you discover in this book and will be repeating the steps over and over again to grow your own Minecraft worlds. At some point, you won’t need to reference the book any longer because you’ll know the proper steps and their correct order to make fun things happen.


Note

Minecraft Pocket Edition works fine

If you’re a Minecraft Pocket Edition user running the game on an iPad or Android tablet, don’t worry. You, too, can have a castle in your world—but you are going to need access to a Mac or Windows computer because MCEdit doesn’t work on tablets (at least not yet). You’ll also need another piece of software installed on your Mac or Windows computer (also free) that will allow MCEdit to access your world’s level.dat file. I cover accessing world files on tablets and phones in Appendix A, “Using MCEdit with Minecraft Pocket Edition.”


For this chapter, you’ll need the following:

Image Minecraft or Minecraft Pocket Edition installed on a computer or tablet

Image A web browser (such as my favorite, Chrome) that supports OpenGL

Image A (free) user account with Tinkercad.com

Image MCEdit installed on your computer

I think it’s probably a safe bet that you already have Minecraft or Minecraft Pocket Edition installed on a computer or tablet, and most computers have a web browser installed for accessing Thingiverse.com and Tinkercad.com. But you probably do not have MCEdit installed. Next, I’ll show you where to get that application and how to install it.

Downloading and Opening MCEdit

MCEdit is one amazingly powerful tool for Minecraft that provides mind-blowing features and options. It seems to be continually updated, so you’ll want to keep your eyes open when using it. You never know what new superpower it will grant you for modifying your worlds.

But before you can use it, you’ve got to download and install it. Fortunately, both tasks are extremely simple. Start by opening a web browser and pointing it to mcedit.net, as shown in Figure 2.1. (Be careful to only download MCEdit from the official site as there are versions of MCEdit that are infected with viruses and malware that you can download from other websites.)

Image

FIGURE 2.1 MCedit.net is the official website for MCEdit.


Caution

MCEdit Version 1.0 Versus 2.0

Currently MCEdit is going through a major revision from version 1.0 to version 2.0, so you’ll probably find notes and updates regarding how this update is proceeding. If you’re a Windows user, feel free to download the 2.0 beta version if you like. Many of the features found in version 1.0 and covered in this book will work just fine in version 2.0, although you may have to do a little digging around and testing because some tool buttons and features may have been moved around a bit.


On the mcedit.net home page, click on the MCEdit 1.x button near the top of the screen. This will take you to a new page that looks like the one in Figure 2.2.

Image

FIGURE 2.2 Various versions of MCEdit are available.

At this point, you need to download the version that corresponds to your computer’s operating system. (At the time I’m writing this, the most recent version is 1.3.0.0 for Mac, Windows, and Linux users.) If you’re a Mac user, click on the single button just below the Mac OSX icon, if you’re a Windows user click the appropriate button (32-bit or 64-bit) to download the version you need, and if you’re a Linux user click your one button choice.


Note

MCEdit 32-bit version or 64-bit?

If you’re a Windows user and aren’t sure whether to download the 32-bit or 64-bit version, find your Computer icon (usually under the Start button) and right-click that icon and choose Properties. Somewhere on the window that appears, you should see a section for operating system; see if that section says 32-bit or 64-bit.


I haven’t been able to find any visual differences between the different operating system versions of MCEdit. I use both a Mac laptop and a Windows desktop. Throughout the book, I’ll mostly be using my Mac laptop, so don’t worry if your screen doesn’t look exactly like mine. Just keep in mind that MCEdit will work the same for Mac, Linux, and Windows users.

After you click the appropriate version button, the application will download to your computer. There isn’t an installation process for Mac users but for Windows users you’ll need to double-click the downloaded file that creates an MCEdit folder—inside that folder you’ll find the MCEdit icon. When the download completes, you just double-click that icon to open and run MCEdit. Figure 2.3 shows the MCEdit icon on the far left and the MCEdit application open and ready to go.

Image

FIGURE 2.3 Double-click the MCEdit icon to open and run the application.


Caution

A warning from MCEdit

The first time you open MCEdit, you’ll get a warning like the one shown in Figure 2.3. This basically tells you to never open a world in Minecraft and MCEdit simultaneously. Doing so can result in damage to the file that holds all of your world’s information. Click the OK button to make the warning go away. I prefer not to click the Don’t Remind Me Again button because I always want MCEdit to remind me to close down Minecraft before I open any worlds. Feel free to click that button, but keep in mind that from that point forward, MCEdit will open a world without worrying if it’s also open in Minecraft. You’ve been warned!


Once you’ve downloaded MCEdit and opened it up, you can leave it open or close it down. You’ll return to MCEdit a bit later in this chapter, but right now it’s time for you to find your own castle or other suitably large building.

Discover Your Own Castle…or Something Else!

In Chapter 1, I gave you a quick glimpse of how I used the website Thingiverse.com to find a castle and then download it. In this section, I want to spend a little more time exploring Thingiverse and explain the files that Thingiverse offers in a little more detail.


Tip

Follow along for best results

I’d like you to actually follow along and perform the steps as I describe them. This is the easiest way for you to begin to remember the steps so you can use them over and over again without consulting the book every time.


Open a web browser and point it to Thingiverse.com, as shown in Figure 2.4.

Image

FIGURE 2.4 Thingiverse is like a library of fun stuff.

Think about Thingiverse as a library. With most libraries, you can go in and check out books (for a period of time), read them, and then return them. Most public libraries are free, so there’s no charge to check out books.

Well, Thingiverse doesn’t hold books. Instead, it holds digital files that represent physical objects in the real world. These digital files go by a bunch of names: 3D models, digital models, .stl files, and more. I prefer the term 3D model. A 3D model is a three-dimensional representation of an object, but it doesn’t have to represent a real-life object. There are 3D models for dragons and fairies, for example. You’ve already seen a 3D model of a castle. The important thing to remember is that Thingiverse is filled with digital files of 3D objects that Thingiverse users have created and uploaded for other people to use.


Tip

Display file extensions

By default, Windows and Mac computers don’t show the last few letters that make up the file extension. The file extension is typically preceeded by a period and then three or four letters such as .doc (For Word files), .txt (for plain text files), and .xls (for Excel spreadsheet files).

To view them in Windows, click on the Start menu, open Control Panel, click on Appearance and Personalization and then select Folder Options. Click the View tab, select Advanced Settings, and remove the checkmark from the box labeled Hide Extensions For Known File Types.

For Mac users, open up Finder, click on the Finder menu, click on the Preferences selection and click the Advanced tab on the window that opens. Place a checkmark in the Show All Filename Extensions checkbox and then close the window.


One of the most popular uses for 3D files is for 3D printing. The “old-fashioned” type of printer that you’re probably already familiar with prints using ink on paper. A 3D printer such as the one in Figure 2.5 melts plastic and then “prints” out 3D model files to create small plastic representations of digital objects.

Image

FIGURE 2.5 A 3D printer prints out a 3D model file in plastic.


Note

Outside exploration

The subject of 3D printers and 3D printing is a fun topic to explore, but it’s much too large to cover in this chapter. If you’re interested, check out my book 3D Printing: Build Your Own 3D Printer and Print Your Own 3D Objects, which explains how to build a 3D printer from a kit and also covers how to download files from Thingiverse and print those 3D models using a 3D printer. You can find more information about this book by visiting http://www.quepublishing.com/store/3d-printing-build-your-own-3d-printer-and-print-your-9780789752352.


Thankfully, you don’t need a 3D printer to use the 3D model files with Minecraft. But you do need to convert a 3D model file that you download from Thingiverse before you can import it into Minecraft. (You can use Tinkercad.com to do this, as described in detail later in this chapter.) Before you perform this conversion, however, you need something to convert.

It’s time for you to find a castle or other object that you’d like to transfer into one of your Minecraft worlds, and the easiest way to do this is to use the Search bar in Thingiverse.

Type in “castle” or “tower” or “house” or anything else you’re thinking about using in Minecraft. You can also be very specific, such as searching for “Eiffel Tower” or “White House.” How would you like a copy of the Eiffel Tower in your world? Figure 2.6 shows a search for 3D versions of the Eiffel Tower, but you can search for whatever you want. Whatever object you choose, just keep following my instructions, and you’ll soon have it imported into a Minecraft world of your choice.

Image

FIGURE 2.6 I’ve always wanted to visit the Eiffel Tower…in Minecraft.


Tip

The Minecraft Effect–Blocky-looking structures

Remember that buildings and objects in Minecraft are a bit “blocky” rather than smooth. Any 3D models you import into Minecraft will retain their basic shape, but smooth surfaces are impossible in Minecraft. For this reason, you shouldn’t bother trying to find 3D models with intricate patterns. Sometimes the most basic 3D models without any fancy embellishments work best for imports—as you’ll soon see.


There are a bunch of 3D models of the Eiffel Tower. Some are very intricate and are so detailed that they even show bolts and rivets. Figure 2.7 shows two versions of an Eiffel Tower 3D model. One has the basic shape and the other is extremely detailed. Your choice of basic versus detailed is based to some degree on the size you’re going to make the object in your Minecraft world. For example, if I’m going to put a really big Eiffel Tower in my world, so I’m going to choose a more intricate one, but if I wanted to place a small Eiffel Tower, I’d go for a less detailed one. Whatever object you choose, you’ll have a chance to decide how big (or small) it will be in your own Minecraft world a bit later in the chapter.

Image

FIGURE 2.7 Two 3D models of the Eiffel Tower.


Tip

Give credit where it’s due

In Figure 2.7, notice that the images include the Thingiverse usernames for the two creators of these 3D models. It’s always a good idea to give credit to a 3D model designer, especially if you modify someone’s existing 3D model. If you modify it (using an application such as Tinkercad.com) and then upload it to Thingiverse for other users to use, always include the name of the original 3D model file and its creator. Don’t take credit for someone else’s hard work.


Once you’ve found a 3D model that you like, click on it to open its information page. Figure 2.8 shows the information page for the detailed Eiffel Tower created by Thingiverse user noisygecko.

Image

FIGURE 2.8 This is the Eiffel Tower 3D model I want in my world.

You can click on the Instructions button to read any information the 3D model designer has included about the design. Sometimes you will see multiple files that can be downloaded, and the Instructions page will often tell you the differences between files.

The button you’re interested in now, however, is the Thing Files button. Click on that button to view a list of files available for download. Figure 2.9 shows three different files available for download. In this case, I’m only going to be downloading one of them: EiffelTower_fixed2.stl.

Image

FIGURE 2.9 Multiple files are available for download.

Thingiverse supports a variety of different types of files, but when you’re exporting files for Minecraft use, you always want to be on the lookout for .stl files. If you don’t see an .stl file for the object you’ve selected, you’re going to need to go back and find another Thingiverse object.


Caution

So many types of files from one source

The various file types that Thingiverse supports include .stl, .obj, .thing, .scad, .amf, .dae, .3ds, .x3d, .blend, .ply, .dxf, .ai, .svg, .cdr, .ps, .eps, .epsi, .sch, and .brd. The only file type that you will be downloading for use in this book is .stl.


Once you find an .stl file for a suitable object, click on it to download it to your computer. Then grab that downloaded file and place it on your desktop or in a folder—and remember the location where you saved it because you’re going to need it for the next set of steps.

Before moving on to those next steps, however, think about what you’ve done for a moment. You’ve used a repository (Thingiverse) to browse thousands and thousands of user-created objects (3D models) and downloaded a specific file (with the .stl extension) for free. F-R-E-E. Hundreds of thousands of objects have been downloaded for free from Thingiverse over the years. Most of them have been printed (in plastic) using 3D printers. But this repository isn’t useful just to owners of 3D printers. As you’re about to see, .stl files can be used in many ways, including for creating your own modifications.

Introduction to CAD Software

Recall from Chapter 1, that after I downloaded my castle’s .stl file from Thingiverse, I wasn’t able to immediately import it into Minecraft. Between Thingiverse and using MCEdit to import the castle into Minecraft, I took a middle step: I used a free application called Tinkercad, which is shown in Figure 2.10, along with the castle I downloaded in Chapter 1.

Image

FIGURE 2.10 Tinkercad is the perfect CAD application for Minecraft engineers.

I’ll be covering many of Tinkercad’s features in Chapters 3 and 4, but right now I just want to explain it in a little more detail so you’ll start to understand just how important this application (and others like it) really is to Minecraft engineers.

Tinkercad is a type of tool called a CAD (rhymes with mad and sad, although using a CAD application is fun and shouldn’t make you either of those things) application. CAD stands for computer-aided design, and it’s pretty easy to understand despite the complicated name. The first part, computer, says it all: When CAD applications were first being developed, they were created for use on computers. Today, CAD applications still run on desktop and laptop computers, but they can also run on small computers such as tablets (such as an iPad) and even mobile phones! As you’ll soon see, however, using a CAD app on a phone isn’t always easy because of the small screen. Tablets are a little more useful with CAD apps, and you can see one called 123D Design running on an iPad in Figure 2.11. But you may find as I have that when using a CAD application, the bigger the screen the better!

Image

FIGURE 2.11 There are CAD apps that run on tablets and even mobile phones.

The next part of the name, aided, simply means that the software helps you do some of the complicated stuff. Can you hand-draw a perfect circle or pyramid? I can’t either, but with a CAD application can help you draw a shape such as a circle and ensure that it’s perfect in every way. The software can even help you draw the circle with a specific diameter. CAD software can do many more things besides draw perfect shapes—all of the functions that humans often find difficult or tedious. (You’ll soon see some example of how CAD software aids a human user.)

Finally, the last part of the name, design, should be obvious to you. The software allows you, the user, to design some amazing things—and not just castles. Companies today use CAD apps to design all sorts of products, from the cases that go around mobile phones to the shape of a hood on a prototype car. As a Minecraft player, you design in-game things using the built-in tools and blocks available to you. A CAD application allows you to design anything your imagination can come up with, using dozens (and sometimes hundreds) of tools to get the job done.

CAD software can move you from Minecrafter to Minecraft engineer, and the best part is how fun CAD apps are to use.

Do you have your 3D model downloaded and ready? If so, it’s time for you to open up a CAD application and try it out. If not, get that done first and meet me in the next section.

Using Tinkercad to Prepare Your 3D Model

Tinkercad will only work in a web browser that supports OpenGL—a special bit of software that lets a web browser display 3D objects on a screen, where they can be rotated around and viewed from different angles, such as from above or underneath. Without OpenGL, browser-based CAD apps such as Tinkercad won’t be able to operate.

I highly recommend using Chrome for Tinkercad; login, click the Create New Design button, and you should see a blank grid in the center of the screen and a toolbar running down the right side of the screen, as shown in Figure 2.12.

Image

FIGURE 2.12 Tinkercad is a 3D model design tool.

I’m going to go into more features of Tinkercad in Chapter 3, “Crafting a Super Maze,” but right now I just want to give you some hands-on time using the visual controls of Tinkercad. This includes zooming in and out and rotating an object around to view it from different angles.

Imagine for a moment that you are in a room with a square table sitting in front of you and a remote-controlled airplane resting on its surface. You could walk around the table to see the airplane from the sides and rear. You could squat down and look underneath the wings. If the table’s surface were made of glass, you could even get underneath the table and view the underside of the airplane.

Think of the workplane in Tinkercad as a digital glass table. Anything that’s placed on it can be viewed from different angles, including from straight above or underneath. And just as you could get your face close to the airplane to see details of the cockpit, you can also zoom in and out on the workplane to see details on an object or get a complete view of a larger object.

To understand this better, it’s time to take that digital .stl file you downloaded earlier and pull it into Tinkercad. To do that, click on the Import section on the right to open it up so it looks as shown in Figure 2.13.

Image

FIGURE 2.13 Use the Import section to pull in an .stl file.


Note

Expand a section and explore all the options

The Import section is just one of many sections on the toolbar. The toolbar also has Shape Generators, Helpers, Geometric, Holes, Letters, Number, Symbols, and Extras sections. You click on a triangle next to a section name to open or close it. If the triangle next to a section name is pointing down, the section is open. If the triangle is pointing left (toward the section name), that section is closed.


Click on the Choose File button, and a window like the one in Figure 2.14 appears. You use this window to find the .stl file you downloaded.

Image

FIGURE 2.14 Use the Choose File button to find and select your .stl file.

Select your .stl file and click the Open button. The filename will appear in the Import section, as shown in Figure 2.15.

Image

FIGURE 2.15 Your file is almost ready for import into Tinkercad.

Make certain that millimeters (mm) is the Unit option, but you shouldn’t fiddle with the Scale setting at this point. Then click on the Import button to star the import of your file. This could take anywhere from 30 seconds to a minute, depending on the complexity of the 3D model you selected and your Internet speed.

When the import process is completed, you should see your 3D model sitting on the workplane, as shown in Figure 2.16.

Image

FIGURE 2.16 Your 3D model is now sitting on the workplane.

Notice in Figure 2.16 that the top part of the Eiffel Tower isn’t visible. The entire object is too tall to be completely displayed on the screen. Maybe your 3D model is also extending beyond the viewable edges of the screen, too. This is easy to fix. All you need to do is zoom out a bit.


Tip

Exploring

You don’t have to wait for later chapters to dive deeper into Tinkercad. Once you’re logged in, feel free to click on the Learn button (which is on the menu bar at the top of the screen) and follow along with some of the free lessons that the Tinkercad crew have created to help you become familiar with more of Tinkercad’s tools. You can also check out a book I wrote that covers 90% or more of Tinkercad’s features (not 100% because the application is always being updated with new features). It’s called Learn 3D Modeling Basics with Tinkercad. For more details, head to http://www.quepublishing.com/articles/article.aspx?p=2222099.


There are different ways to zoom in and out on a 3D model: You can use a mouse (with a wheel button on top), a touchpad, or onscreen controls. Let’s start with the onscreen controls. Move your mouse pointer to the Zoom Out button (it’s the one with the – sign in the upper-left corner of the workplane window; refer to Figure 2.16) and click it once or twice. You should see your object shrink a little, as though you were walking further away from the object. Figure 2.17 shows that I’ve zoomed out a bit, and the entire Eiffel Tower is now visible.

Image

FIGURE 2.17 Zoom out to see more of your 3D model.

Click on the Zoom In button (the one with the + sign) a few times. This is similar to moving closer to an object on a table so you can get your face super-close for a good look. Figure 2.18 shows that I’ve zoomed in close to the tower.

Image

FIGURE 2.18 Zoom in to see details in your 3D model.

You can also use a mouse or touchpad to zoom in and out. With a mouse you use the wheel button (on top): Roll the button forward to zoom in the screen, and roll the button backward to zoom out the screen. Easy!

Zooming with a touchpad is a little different and may take some practice to get it right:

Image On a Mac, place two fingers on the touchpad. Swiping your fingers forward (to the top edge of the touchpad) simultaneously zooms in, and swiping your fingers backward (to the bottom edge of the touchpad) zooms out.

Image On a Windows touchpad, you’ll need to consult your documentation to determine the method for zooming in and out—it will probably be similar to the Mac version of pinching to zoom, but could be different.

After you’re comfortable using the Zoom In and Zoom Out features of Tinkercad, you’re ready to learn to rotate an object so you can view it from different sides (including above and below). Once again, there are different ways to do this.

Just above the Zoom In and Zoom Out buttons, you’ll see a small icon of a house with four triangles pointing in different directions. This is the Rotate Object tool (refer to Figure 2.16).

Click on the triangle pointing to the right, and the object automatically rotates 45 degrees clockwise (along with the workplane). Figure 2.19 shows the Eiffel Tower rotated 45 degrees so it is visible from a slightly different angle.

Image

FIGURE 2.19 Use the Rotate Object buttons to rotate an onscreen 3D model.

Click on the left triangle, and the object rotates counterclockwise 45 degrees (and again, the workplane also rotates). Clicking the arrow pointing up rotates the object back toward you (allowing you to view more of the top of an object), and clicking the arrow pointing down rotates the object away from you. Go ahead and try it so you can get really familiar with how the tool works. Figure 2.20 shows the object rotated so from the underside is visible.

Image

FIGURE 2.20 It’s easy to look at the bottom of a 3D model.

You can also rotate a 3D model by using a touchpad or mouse, but the rotations are in much smaller degree increments, giving you a smooth rotation instead of 15- or 45-degree turns.

With a standard (two-button) mouse, to rotate a 3D model, simply press and hold both buttons down and move the mouse around. As long as you hold the two buttons down, you can move the mouse left, right, forward, and back to change the orientation of the 3D model you are viewing.


Note

Rotation using a touchpad can be tricky

Rotating with a touchpad is a little different depending on whether you’re on a Mac or a Windows machine, so you’ll need to consult your documentation, but just experimenting a bit will usually allow you to find out the proper way to rotate objects on the screen. For example, most Mac touchpad users will find that moving the pointer to any blank portion of the workplane and then pressing and holding two fingers down on the touchpad will work. Likewise, many Windows touchpad users will find that pressing and holding both fingers to rotate does the job. Try a few combinations of tapping and holding one or both fingres while moving the pointer around around and you’ll be able to figure out what works for your computer.


Image

FIGURE 2.21 A selected object has a little black cone above it.

When an object is selected, look closely, and you should also see tiny white squares in various locations around your model. Don’t fiddle with them right now; instead, move your mouse pointer over the little white square near the top of your 3D model (and just below the black cone). Don’t click on it; just move your mouse pointer over the block, and a value should appear, as shown in Figure 2.22.

Image

FIGURE 2.22 Discover the height of your 3D model.

The value that appears is the height (in millimeters) of your 3D model. As shown in Figure 2.22, my Eiffel Tower is 120.91mm tall. Your 3D model will most likely be a different height.


Caution

Checking your model’s dimensions

If you hover over the other tiny white squares, you can find out the length and width of your object. Be careful not to click on a square and move it, though, because doing so can modify the look of your object by making it wider or longer. (Clicking on the little white box at the top and dragging up will stretch your object and make it taller, for example.) Feel free to play with the squares if you like, but you’ll get more practice with them later in the book.


In just a moment, you’ll learn why knowing the height of your object is important. Once you’ve determined the height (you might want to write it down), move your mouse pointer away from your object so you don’t accidentally modify it.

Throughout the book, I’ll introduce more tools and features in Tinkercad, but now it’s time to take this 3D model in Tinkercad and prepare it so MCEdit can place it in one of your Minecraft worlds.

Preparing Your Model For Importing With MCEdit

Preparing a Tinkercad 3D model for MCEdit couldn’t be any easier. You simply click on the Design menu shown in Figure 2.23 and select the Download for Minecraft option.

Image

FIGURE 2.23 Download a Minecraft-compatible version of your 3D model.

After clicking the Download for Minecraft option, a window like the one in Figure 2.24 appears.

Image

FIGURE 2.24 You can adjust the scale of your model before downloading.

Remember that earlier in this chapter, when you were importing your .stl file, to leave the Unit setting at millimeters (mm)? I hope you listened because that’s important. When you download a 3D model for Minecraft, you define the height of your 3D model by using a ratio of Minecraft blocks to millimeters. My Eiffel Tower is 120.91 millimeters tall, and according to this pop-up window, when I import the tower into Minecraft, it will be 120 blocks tall—which means it’ll extend into the clouds. Very cool!

If I don’t want my Eiffel Tower to be that tall, I can change the value in the small box shown in Figure 2.24. Right now, it’s set to download the Eiffel Tower so that 1mm = 1 block. If I change the 1 to a 5 (that is, 5mm = 1 block), I divide the height of my 3D model by 5 and get 24 so that the Eiffel Tower will import into Minecraft with a height of 24 blocks.

In this case, I want to create a slightly shorter-than-original version of the Eiffel Tower by setting the value to 2. This will give me a Minecraft version of the Eiffel Tower with a height of 60 blocks (every 2mm = 1 block, so 120mm = 60 blocks).

Once you’ve decided on a value for your object, click on the Export button. The file that downloads is no longer an .stl file. Now it is a .schematic file, as you can see in Figure 2.25. (Notice that I renamed the file from the silly name Sizzling Bruticus-Jarv that Tinkercad gave it to EiffelTower.schematic.)

Image

FIGURE 2.25 My 3D model is downloaded and ready for MCEdit.


Tip

Rename your model

You can rename your 3D model inside Tinkercad by clicking on the Design menu (shown in Figure 2.24), selecting the Properties option, and changing the name in the window that appears.


With your new .schematic file, you are now ready to bring the 3D model you selected earlier in this chapter into your Minecraft world.

Using MCEdit with Your 3D Model

Are you excited? You’re about to add to your Minecraft world a 3D object that may very well have taken you hours, days, or even weeks to create block-by-block. Once you get the hang of downloading objects from Thingiverse and pulling them into Tinkercad (so you can use the Download to Minecraft option to create a .schematic file), you’ll be quickly adding all sorts of craziness to your Minecraft worlds.

If you haven’t already downloaded and installed MCEdit to your computer, do that now. (Refer to the beginning of the chapter for instructions.) Also, make certain that Minecraft is closed on your computer; if it’s open, you’ll at least want to make certain that whatever world you have open in Minecraft isn’t the world you’ll be opening with MCEdit. (I sternly warned you about this in Chapter 1.)

Double-click the MCEdit icon, and the tool opens as shown in Figure 2.26

Image

FIGURE 2.26 The MCEdit start screen.

The MCEdit start screen may not look fancy, but this is one powerful tool. I’ll show you some of its features shortly, but I think you’ve waited long enough to import your 3D model, so I’ll let you do that right now.

On the MCEdit start screen, click on the Open button. MCEdit automatically checks the default folder where Minecraft stores its game files, including those that are related to your worlds. Figure 2.27 shows the window that MCEdit opens, where you should see a list of folders that have the names you’ve given your Minecraft worlds. (The list will be empty, of course, if you haven’t yet created a world.)

Image

FIGURE 2.27 Find one of your worlds to open.

I have three Minecraft worlds here. EngineerLand is the world I’m using for many of the projects in this book, DadWorld is the world I play in with my sons, and MyTestWorld is what I use when I want to test a new tool (such as Tinkercad) to make certain it works before I use it with one of my other worlds.

Click on a folder, and it will open and display a bunch of files, as shown in Figure 2.28.

Image

FIGURE 2.28 You can open a world folder to explore its contents.


Caution

Do not delete files

Be very careful here not to delete any files or move them to other locations, or you might find that a world no longer works.


The file you need to find is called level.dat. Click on this file one time to select it and then click the Open button. MCEdit then opens the world. Be patient, as it can sometimes take a minute or longer for it to open. Once the world is open, you see a screen like the one in Figure 2.29.

Image

FIGURE 2.29 Your Minecraft world, open in MCEdit.


Note

It doesn’t matter if your world is pristine or filled with structures

As you can see in Figure 2.30, I’ve already pulled a couple of castles into EngineerLand. You may have a pristine landscape with no structures, or you may see other elements that you’ve built in your world.


Movement controls in MCEdit may be somewhat familiar to you. You use the WASD keys for left, right, forward, and backward movement. Note that if you’re not careful moving forward or backward, you could find yourself sinking quickly below the surface, as shown in Figure 2.30.

Image

FIGURE 2.30 With MCEdit, moving around can be surprising.

While using MCEdit, think of yourself as a ghost. You can pass through solid objects easily, including the ground. Instead of tunneling down into the ground or having to locate the front door into a castle, MCEdit lets you just zoom around and through objects that would normally be treated as solid and require you to dig or mine through.

The other set of controls you’ll need to practice with right now is the IJKL keys on your keyboard. Pressing J keeps you in place but turning to the left. (In contrast, pressing the A key moves “you” to the left while continuing to look forward.) The L key rotates you so you can look to the right. Press I, and it’s like you’re turning your head to look up. And the K key turns your digital head so you’re looking down. Keep in mind that you can customize your key selections in MCEdit if you don’t like using WASD or IJKL keys, but if you’ve not done this, these are the default settings.

It takes some practice to get used to these controls, but you’ll be a pro at it with just a few minutes of playing around with them. Try using the IJKL keys with your right hand as you use the WASD keys with your left hand and practice flying around your world a bit.

Once you’ve got the WASD and IJKL keys figured out, go search for a suitable place to put your 3D model. I’ve found a spot to the left of the large castle shown in Figure 2.31.

Image

FIGURE 2.31 Find a suitable location for your imported model.

Next, click the Import button, and a window like the one in Figure 2.32 appears. Browse to the .schematic file you downloaded from Tinkercad, click on it once, and click the Open button.

Image

FIGURE 2.32 Find the .schematic file you downloaded from Tinkercad.

Use the WASD and IJKL keys to move the view if needed. Then use your mouse or touchpad to move the green box that appears onscreen and contains the size and shape of your 3D model (see Figure 2.33). The green box could be small, large, or gigantic. You may need to zoom out (using the WASD and IJKL keys) in order to see the entire box.

Image

FIGURE 2.33 Move the green box to a suitable location.

When you’re happy with the location of the green box, left-click to lock the green box in place. Once the box is locked, you can use some of the tools that appear on the left side of the screen in Figure 2.34, including the Import button.

Image

FIGURE 2.34 Lock in the location of your 3D model with a single click.

Now you can click on the Import button to start the process, which doesn’t take long. When the import is done, your 3D model will be sitting pretty in the location you selected, as shown in Figure 2.35.

Image

FIGURE 2.35 Your 3D model is now a real object in your Minecraft world.

You may have noticed that the imported Eiffel Tower doesn’t look like the nice smooth version I downloaded from Thingiverse. Remember that this is Minecraft! Everything in Minecraft is made of blocks, so smooth surfaces aren’t normal. Still, it does really look like a Minecraft version of the Eiffel Tower, right?

I can use the WASD and IJKL keys to zoom in and inspect the object. Figure 2.36 shows that I’ve zoomed in to check out my new tower.

Image

FIGURE 2.36 A close-up with my new Minecraft Eiffel Tower.

In later projects, I’ll introduce you to other useful features that MCEdit offers. Before you finish this chapter, however, I’d like to show you how to use MEdit to quickly change a block (or collection of blocks) of one type to a completely different block type. For example, if you have a large lake of water blocks, you can easily change all the water blocks to iron blocks, or even lava. This technique is even useful for changing buildings from one material to another. For example, I like that my Eiffel Tower is made of stone blocks, but you might want to change it to all brick blocks.

To do this, use the WASD and IJKL keys to zoom out a bit and then use your mouse pointer to select the object you want to change. To do this, move your mouse pointer to a piece of ground that’s near a corner of your object. In Figure 2.37, you can see that a small white box appears near the lower-left corner of the Eiffel Tower.

Image

FIGURE 2.37 Select a point near a corner of your object.

Next, click and hold the left mouse button (or press and hold a single finger on a touchpad) and drag that small white box to the left (or right) of the object and then drag to the rear of the object. This will create a white square that surrounds the base of your 3D model, as shown in Figure 2.38.

Image

FIGURE 2.38 Surround your object with a white selection square.

Now click and hold on top of the white box and drag up. This way, you create a 3D box that will completely surround your 3D model, as shown in Figure 2.39.

Image

FIGURE 2.39 Surround your object with a white box.

Now that the object is selected, you need to know what material it is made of at the moment. Sometimes you can guess, but it’s really better to know for sure. To figure it out, after selecting your object, click on the Analyze button on the left side of the screen. A new window like the one in Figure 2.40 appears.

Image

FIGURE 2.40 Analyze a selection to discover its material.

In Figure 2.40, you can see that inside my selection box are a mix of materials: air, sand, and even a cactus. Air has the most blocks (77091 blocks), and there are quite a few sand blocks (1257 blocks), but it’s the block of quartz that is the material making up the Eiffel Tower, with 2136 blocks in all. Make note of the material of your object (write it down as it is written on the screen) because you’ll need it for the next step. Click the OK button to make the Analyze screen disappear.

Your object should still be surrounded by the selection box. Click on the Fill and Replace button on the toolbar that runs along the bottom of the screen. (This button is fourth from the left. Remember that you can hover your mouse pointer over a button briefly, and the name of the tool will appear.)

Two new windows appear, as shown in Figure 2.41.

Image

FIGURE 2.41 Click on the Fill and Replace button.

On the smaller window, click the Replace button, and the smaller window changes again and look like the one in Figure 2.42.

Image

FIGURE 2.42 The Find and Replace With window.

Click on whatever material is visible in the top part of this small window. (In Figure 2.42, it’s Hopper (Disabled North), but that’s not important.) When you click this, a scrolling list of materials appears to the right, as shown in Figure 2.43.

Image

FIGURE 2.43 Scroll through the list and find your model’s material.

You can scroll through this list to find the material that currently makes up your object. If you know the exact wording, you can instead just type it into the top Search bar, as shown in Figure 2.44.

Image

FIGURE 2.44 Use the search bar to specify a particular material.

Once you’ve found the material by using the exact name you discovered with the Analyze tool, click the OK button.

Next, click on the material beneath the Replace With section in the smaller window and once again scroll through the list to find the material you wish to use as a replacement. If you know the exact name or a part of it, type it into the Search box at the top, as I’ve done with Brick in Figure 2.45.

Image

FIGURE 2.45 A window with a list of every brick block type in Minecraft.

Click the OK button, and you should now see that the smaller window contains two materials: On top is the current material of your object, and beneath it is the material to use as a replacement (see Figure 2.46).

Image

FIGURE 2.46 The materials to find and replace are selected.

Click the Replace button, wait 10 to 30 seconds, and the replacement should be done, as shown in Figure 2.47. (Click the Deselect button on the right toolbar to turn off the selection box or just click anywhere else on the screen.)

Image

FIGURE 2.47 My new brick-blocked Eiffel Tower.

Slick, huh? I could easily go and select one of my castles and turn its walls into the super-tough obsidian or maybe just dirt. It’s my world, and I can do as I please…just like you can with your worlds!

MCEdit is a Minecraft engineer’s dream. There are so many fun things you can do with this app, and you’ll be learning a few more throughout the remaining chapters. But for now enjoy your new model. You didn’t have to build it block-by-block, which could have taken hours, days, or even weeks.

Feel free to go back to Thingiverse and find a few other fun objects. Practice what you’ve learned in this chapter: downloading an .stl file, importing the .stl file into Tinkercad, saving the 3D model in Tinkercad to a Minecraft-compatible file, and then using MCEdit to send that .schematic file into one of your worlds. After doing this a few times, you’ll have the process memorized and will be able to start really building your worlds with dozens or hundreds of amazing objects.


Tip

Save your work!

Be sure to click the MCEdit button in the upper-left corner of the screen and click the Save button to save your world followed by the Quit button. Then you can open up Minecraft, open up the world you just modified with MCEdit, and check out your work as a player in the game. Invite your friends!


Up Next…

Tinkercad is sort of the middle step to getting a lot of things done, and in the next couple chapters, you’re going to see me use some more of Tinkercad’s tools and get some hands-on time for yourself.

Now that you know about Thingiverse, you know where to find ready-made objects that can be imported into Minecraft. But what if you’d like to create something that’s not available on Thingiverse? Up next, in Chapter 3, I’m going to show you a tool (that’s free to use) that allows you to do some more amazing things and create even crazier constructions for your Minecraft worlds.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset