Empire Blog | A Minecraft Blog

A Minecraft Blog about the Empire and Minecraft


MathCraft – linear equations

June 16, 2014 by jkrmnj

Minecraft may seem like your standard game, but it is much deeper than it appears. This iteration of MathCraft Is all about linear equations and their uses in Minecraft. Many of you may already know about these, or maybe you don’t quite know what they are. Either way, you will hopefully learn how to make your next build even better.

First, let’s look at the linear equations formula.

y=ax+b

“Y” is equal to the height of the block. “A” is equal to the slope of our line. “X” is the distance horizontally from the start of a line to the block you are placing. “B” is the starting height.

This equation can be used to do all sorts of things that involve lines. Imagine you want to make a slanted wall or roof. You know how far it needs to go, and you also know the top and bottom. Using that information, you can create an equation to make your life easier, and remove any guessing. For this example we want a roof that starts 40 blocks high, goes for 30 blocks, and ends 20 blocks high. Using this information, you can create an equation. Now we need to make a data table to organize what we have.

start end
horizontal 0 30
vertical 40 20

 

Time to put this data into the equation from above.

1. Subtract the ending height (20 in this example) by the starting height (40 in this example). You should get -20 for this part.

2. Divide that number (-20 in this example) by the total distance (30 in this example). You will get -.66 repeating. Let’s make that a fraction and say -2/3. This is your slope or “A” value from the equation above.

3. Take your starting value (40 in this example) and make that the starting height or “B” value from the equation above.

Now, there is an equation to map the placement of blocks.

Y=-2/3 * x + 40

Finally, we use this equation to map out where blocks go. To do this, replace the “X” with whole numbers up to the length (30). You will get decimals so just round to the nearest who number. Whatever you get for “Y” is the height of the block to place. If you have been following this example, you should get something like this:

Linear equations finished product

This is what you should get if you have been following the linear equations tutorial. A sign is placed every 5 blocks.

 

 

Do you have any suggestions for the next MathCraft post? PM me on forums

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • More
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print

Like this:

Like Loading...

Related

Filed Under: Design Tips & Tricks, Minecraft Guides


Join the Empire

Current Members:

Active Last Month:

Players Online Now:

Recent Posts

  • Discord Account Security: Tips to Stay Safe
  • Minecraft for Hoarders: Optimizing Minecraft chest sorting
  • A Conduit Guide: Making Your Underwater Bases a Reality
  • Minecraft Fishing: Everything You Need to Know
  • Empire Tips and Tricks: How to Run a Successful Shop

Categories

  • Design Tips & Tricks (13)
  • Empire Creations (7)
  • Empire Minecraft Update Reviews (1)
  • Empire News (20)
  • Empire Tips & Tricks (12)
  • Minecraft Events (3)
  • Minecraft Feature Reviews (4)
  • Minecraft Guides (29)
  • Minecraft Mod Reviews (3)
  • Minecraft Resources (8)
  • Minecraft Snapshot Reviews (3)
  • Minecraft Stories (2)
  • Minecraft Tips & Tricks (29)
  • Minecraft Update Reviews (5)
  • Minecraft Videos (3)
  • Mojang News (4)
  • Redstone Tips & Tricks (2)
  • Resource Pack Reviews (2)
  • Reviews (7)
  • Technical Tips & Tricks (12)
  • Tips & Tricks (31)

Search the Blog

Copyright © 2013-2025 · Starlis LLC · Minecraft ®/TM & © 2009-2015 Mojang / Microsoft

%d