Saturday, 6 July 2013

Bits of Minecraft

Minecraft has sunk a lot of my time over the few years it's been around. Here are some of the things I've done in it (in order of construction):

A rainbow made of wool is visible to the left, and a large woolen cake lurks in the fog to the right.
Rainbow! ... and cake

A triple helix with hanging vines made of dirt rises into the sky in front of a seemingly floating land.
Triple helix near an overworld plate

From my overworld you can see my home base tower on the left, satellite dish in the centre and the word "Craft" made of wool on the right.
Home, satellite dish and "Craft"
The rainbow, triple helix and satellite dish were all planned using Lisp. Here's some Lisp code you can use to plan rainbows:

(loop with freq = (list)
       and reach = (1+ 20)
       and width = 8
      for j from reach downto 0
    do (loop for i from (- reach) to reach
             for r = (round (sqrt (+ (square i) (square j))))
             for c = (cond ((= i j 0) #\+)
                           ((< r (- reach width)) #\-)
                           ((<= r (1- reach)) (- r (- reach width)))
                           (t #\Space))

        when (not (eql #\Space c))
        do (aif (cdr (assoc c freq))
            (incf (car it))
            (push (list c 1) freq))
        when (or (minusp i) (not (eql #\Space c))) do (princ c))

    do (terpri)
    finally (return freq))

It produces output like this (this one's a small version to fit in the width of the blog):

                 777777777
              777666666666777
            7766655555555566677
          77665554444444445556677
         7665544433333333344455667
        766544433322222223334445667
       76554433222111111122233445567
      7655433221110000000111223345567
     7655433211000-------0001123345567
    766543321100-----------001123345667
    7654332100---------------0012334567
   7654432100-----------------0012344567
   765432110-------------------011234567
  765443210---------------------012344567
  765432100---------------------001234567
  76543210-----------------------01234567
 765433210-----------------------012334567
 76543210-------------------------01234567
 76543210-------------------------01234567
 76543210-------------------------01234567
 76543210------------+------------01234567
((#\+ 1) (#\- 256) (0 45) (1 45) (2 43) (3 57) (4 57) (5 57) (6 59) (7 57))


The last bit is a count of each block type so you know how much to gather of each type. Three dimensional objects like the dish and triple helix use more code which I can post if people are interested.

P.S. Don't spend too much time playing computer games.

17 comments:

  1. If you are encountering the Minecraft Has Run Out of Memory error then you should consider installing 64-bit Java for your OS. Minecraft Server List

    ReplyDelete
    Replies
    1. And on all of servers yuo can use minecraft skins from skins4minecraft.com

      Delete
  2. minecraft 16 bit free download - Minecraft Crafting Guide 2.0: Your indispensible guide to crafting in Minecraft, and much more programs. Free Minecraft Gift Code

    ReplyDelete
  3. That triple helix is amazing! I'd never have the patience to build something like that.

    - FZ @ minecraftservershub.com

    ReplyDelete
  4. Keep posting the good work. Some really helpful information in there. Bookmarked. Nice to see your site. Thanks! minecraft server hosting

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. I went over this website and I believe you have a lot of wonderful information, saved to my bookmarks Minecraft Server List

    ReplyDelete
  7. Sites have heaps of tips that people will have the capacity to grasp when players end up stuck. About all challenges ought to be replied by burrowing around on destinations. Fan locales are incredible and you should get included.minecraft server list

    ReplyDelete
  8. I admit, I have not been on this web page in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. I thank you to help making people more aware of possible issues. g2a cashback code

    ReplyDelete
  9. I love the way you write and share your niche! Very interesting and different! Keep it coming! fnaf world update 3

    ReplyDelete
  10. We most likely all have a really decent instinctive idea of what an amusement is.Unblocked Games

    ReplyDelete
  11. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. minecraft like games

    ReplyDelete
  12. Along these lines,https://unblockedgamesboo.weebly.com I feel simple and genuine nearness in the earth. Aside from this these headset give me the genuine developments like virtual world since it has the 3D sound with course sound. It can without much of a stretch controllable at 360 degrees.

    ReplyDelete
  13. Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging,
    Mobdro APK PC Download

    ReplyDelete
  14. Hi! This is my first visit to your blog! We are a team of volunteers and new initiatives in the same niche. Blog gave us useful information to work. You have done an amazing job!
    Azar VIP APK

    ReplyDelete
  15. This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article.
    ludo star apk download

    ReplyDelete
  16. I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles.
    Gta 5 apk data files download

    ReplyDelete