Skip to content

synopia/mc_architect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Minecraft Architect

Minecraft Architect helps you building complex structures in minecraft.
As everyone familiar to the game knows, building interesting constructions like spheres, ellipses or arcs is a very
challenging task.

This tool will simplify the process by taking away the annoying counting blocks action. Instead, you will see your actual
construction sliced by levels and your current position in a running minecraft client.

Download and Installation

To start Minecraft Architect, copy mc_architect.jar and the jruby.jar into any directory:

  > java -jar mc_architect.jar
In the upper textbox type the name of the multiplayer server. Then start Minecraft and connect to a multiplayer game using
localhost:12345
.

Scripting


    # you have access to the following objects:
    #
    #  * @model
    #       full access to the world model (be careful...)
    #  * @world
    #       a "graphics" object, with some neat stuff like set_origin or ellipse
    #  * @slice_x, @slice_y, @slice_z
    #       works the same like @world, but with switched coordinate systems
    #       when you set a pixel using @slice_y.set_pixel(x,y,z,1), it will be placed at x,z,y in world coordinates
    #       y in world coordinate means up
    #  * @binvox
    #       experimental binvox loader
    #
    java_import "de.funky_clan.mc.config.DataValues"

    @mid_x = 1217
    @mid_y = 64
    @mid_z = -50

    # this method gets called to gather some info about this script
    def info
      {
        :name   => "Glaskugel",
        :author => "synopia",
        :mid    => [@mid_x, @mid_y, @mid_z]
      }
    end

    # this is called when "running" the script
    def run
      @world.set_origin @mid_x, @mid_y, @mid_z
      sphere @world, 63, DataValues::GLASS.id
    end

    # a simple sphere
    def sphere g, r, type
      (-r..+r).each do |x|
        (-r..+r).each do |y|
          (-r..+r).each do |z|
            dist = Math.sqrt( x**2 + y**2 + z**2 )
            if (r-dist).abs<0.5
              g.set_pixel x,y,z, type
            end
          end
        end
      end
    end

Development environment


  mc_architect> mvn install

History

0.3.12

  • nicer ores view
  • mobs and other players are shown
  • loading schematic files directly
  • custom blueprint colors

0.3.11

  • Fixed bow

0.3.10

  • Updated to Release 1.0

0.3.8

  • Schematic loader

0.3.7

  • included spider
  • disabled ingame blueprint

0.3.6

  • Updated to 1.6.4

0.3.5

  • new script: station select schematic and nagoya

0.3.4

  • fixed bug with selection box
  • fixed bug with image icons
  • fixed crash when starting without jruby dependency
  • updated network protocol to mc 1.4
  • autohiding block currently aiming to (experimental!)

0.3.3

  • rounding bug fixed
  • several code quality fixups

0.3.2

  • improved script running
  • improved script api

0.3.1

  • HUGE performance improvment using backbuffers
  • fixed color picker

0.3

  • new eventbus (every network packet goes through eventbus)
  • you can see your blueprint INGAME
  • new docking framework
  • lot of gui tweaks

0.2.4

  • included new project ‘glaskugel’ ;-)
  • fixed rounding bug

0.2.3

  • loading of binvox files
  • nuclear plant included

0.2.2

  • ore filter

0.2.1

  • player is 1×2×1 blocks

0.2

  • numerous fixes and features ;-)

About

Minecraft Architect

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published