Jump to content

[1.7.10][1.8] Builders Helper mod: copy/paste/save structures in-game v2.7


Recommended Posts

Posted

Cheshire Cat Builder's Helper Mod :  v2.7

 

Project moved to CurseForge http://minecraft.curseforge.com/projects/builders-helper

See this link for all future updates.

 

Download v2.7 from: http://www.steveshipway.org/mc/builders-helper-2.7.zip ( 1.7.10, 1.8 ) (includes src)

 

Download v2.5 from: http://www.steveshipway.org/mc/builders-helper-2.5.zip ( 1.7.10, 1.8 ) (includes src)

Download v2.4from: http://www.steveshipway.org/mc/builders-helper-2.4.zip ( 1.7.10, 1.8 ) (includes src)

Download v2.3.2 from: http://www.steveshipway.org/mc/builders-helper-2.3.2.zip ( 1.7.10, 1.8 ) (includes src)

Download v2.3.1 from: http://www.steveshipway.org/mc/builders-helper-2.3.1.zip ( 1.7.10, 1.8 ) (includes src)

Download v2.2 from: http://www.steveshipway.org/mc/builders-helper-2.2.zip ( 1.7.10, 1.8 ) (includes src)

Download v1.0 from: http://www.steveshipway.org/mc/builders-helper-1.0.zip ( 1.7.10, 1.8 ) (includes src)

Download v2.1-beta1 from: http://www.steveshipway.org/mc/builders-helper-2.1-beta1.zip ( 1.7.10, 1.8 ) (includes src)

Download v2.0-beta1 from: http://www.steveshipway.org/mc/builders-helper-2.0-beta1.zip ( 1.8 ) (includes src)

Download v0.3 from: http://www.steveshipway.org/mc/builders-helper-0.3.zip ( 1.7.10, 1.8 ) (includes src)

Download v0.2 from: http://www.steveshipway.org/mc/builders-helper-0.2.zip ( 1.7.10 only )

 

Screenshots:

 

width=800 height=449http://www.steveshipway.org/mc/2015-01-06_21.40.15.png[/img]

Some of the example structures created with the supplied blueprints.

width=800 height=449http://www.steveshipway.org/mc/2015-01-06_21.41.33.png[/img]

The same plan can be built multiple times, at different locations and rotations, with a click of the mouse.

width=800 height=449http://www.steveshipway.org/mc/2015-01-06_21.42.06.png[/img]

The random tower has varying height, room contents, balconies, windowboxes...

 

 

 

This is a mod aimed at:

  • People who spend all their time in Creative mode
  • People who like the copy/paste features in external editors, but want to create in-game
  • People who don't want to spend another ten minutes creating yet another generic house as they build their city
  • People who want to share their structure with others without having to save and load an entire world
  • People who want an easy way to add auto-spawning structures in-game

The mod adds a new item -- a Wand -- and a few commands ( /wand, /blueprint ).  It allows the person holding the wand to create any of a number of predefined  structures (plans) at the click of a right-button; it also allows them to save an existing structure as a file (blueprint) that can be loaded back in as a plan and used again multiple times.  The resulting map does not need the mod to be loaded for it to work.

 

Plans may use 'soft' blocks, which only place in air or water, and can also include reference to other place, at translation or rotation.  There is also the option to use an element of randomness, so that it can generate varying structures from the same blueprint.  It also preserves Block Entity data and can handle blocks added by other mods.

 

Plans can specify Chests and Spawners using special random syntax, to include randomised loot and spawn potentials.  This may be configured using in-line NBT, external NBT files, or symbolically in the code.  You can also specify mobile entities, such as carts, armour stands, and mobs.

 

There are also 'Metablock' symbols, such as 'OLD_STONE' which will resolve to a different block based on current biome and/or random states.  So, a cottage will generate using different stone and wood if built in a desert as opposed to being built on a plain.

 

Blueprints can also copy and paste mobile entities, such as minecrafts, mobs, and armour stands.

 

Blueprints can contain IFBLOCK and IFBIOME tests to branch on various conditions.

 

Blueprints can use MOB to create entities, and you can copy entities.

 

The PICTURE directive can be used to create a custom map in a frame displaying the contents of an external image file.

 

Plans may be flagged as 'autogenerate' with a probability and a list of biomes, and they will be auto-generated as new chunks are generated.

 

There is support for MCEdit Schematics, and Ruins Templates.

 

Example blueprint:

# Blueprint for small cottage
private  PLAN _cottage
  AREA minecraft:air 0,1,0 7,5,4
  AREA minecraft:cobblestone 0,0,0 0,2,4
  BLOCK minecraft:spruce_stairs(2) 0,3,0
  BLOCK minecraft:cobblestone 0,3,1
  BLOCK minecraft:cobblestone 0,3,2
  BLOCK minecraft:cobblestone 0,3,3
  BLOCK minecraft:spruce_stairs(3) 0,3,4
  BLOCK minecraft:spruce_stairs(2) 0,4,1
  BLOCK minecraft:cobblestone 0,4,2
  BLOCK minecraft:spruce_stairs(3) 0,4,3
  BLOCK minecraft:wooden_slab(1) 0,5,2
  AREA minecraft:cobblestone 1,0,0 1,0,4
  BLOCK minecraft:cobblestone 1,1,0
  BLOCK minecraft:crafting_table 1,1,1
  BLOCK minecraft:bed(9) 1,1,3
  BLOCK minecraft:cobblestone 1,1,4
  BLOCK minecraft:cobblestone 1,2,0
  BLOCK minecraft:cobblestone 1,2,4
  BLOCK minecraft:spruce_stairs(2) 1,3,0
  BLOCK minecraft:torch(1) 1,3,2
  BLOCK minecraft:spruce_stairs(3) 1,3,4
  BLOCK minecraft:spruce_stairs(2) 1,4,1
  BLOCK minecraft:spruce_stairs(3) 1,4,3
  BLOCK minecraft:wooden_slab(1) 1,5,2
  AREA minecraft:cobblestone 2,0,0 2,0,4
  BLOCK minecraft:wooden_door(5) 2,1,0
  BLOCK minecraft:bed(1) 2,1,3
  BLOCK minecraft:cobblestone 2,1,4
  BLOCK minecraft:wooden_door( 2,2,0
  BLOCK minecraft:cobblestone 2,2,4
  BLOCK minecraft:spruce_stairs(2) 2,3,0
  BLOCK minecraft:spruce_stairs(3) 2,3,4
  BLOCK minecraft:spruce_stairs(2) 2,4,1
  BLOCK minecraft:spruce_stairs(3) 2,4,3
  BLOCK minecraft:wooden_slab(1) 2,5,2
  BLOCK minecraft:cobblestone 3,0,0
  BLOCK minecraft:cobblestone 3,0,1
  BLOCK minecraft:cobblestone 3,0,2
  BLOCK minecraft:cobblestone 3,0,3
  BLOCK minecraft:cobblestone 3,0,4
  BLOCK minecraft:cobblestone 3,1,0
  BLOCK minecraft:cobblestone 3,1,4
  BLOCK minecraft:cobblestone 3,2,0
  BLOCK minecraft:glass_pane 3,2,4
  BLOCK minecraft:spruce_stairs(2) 3,3,0
  BLOCK minecraft:spruce_stairs(3) 3,3,4
  BLOCK minecraft:spruce_stairs(2) 3,4,1
  BLOCK minecraft:spruce_stairs(3) 3,4,3
  BLOCK minecraft:wooden_slab(1) 3,5,2
  BLOCK minecraft:cobblestone 4,0,0
  BLOCK minecraft:cobblestone 4,0,1
  BLOCK minecraft:cobblestone 4,0,2
  BLOCK minecraft:cobblestone 4,0,3
  BLOCK minecraft:cobblestone 4,0,4
  BLOCK minecraft:cobblestone 4,1,0
  BLOCK minecraft:fence 4,1,2
  BLOCK minecraft:cobblestone 4,1,4
  BLOCK minecraft:glass_pane 4,2,0
  BLOCK minecraft:wooden_pressure_plate 4,2,2
  BLOCK minecraft:cobblestone 4,2,4
  BLOCK minecraft:spruce_stairs(2) 4,3,0
  BLOCK minecraft:spruce_stairs(3) 4,3,4
  BLOCK minecraft:spruce_stairs(2) 4,4,1
  BLOCK minecraft:spruce_stairs(3) 4,4,3
  BLOCK minecraft:wooden_slab(1) 4,5,2
  AREA minecraft:cobblestone 5,0,0 5,0,4
  BLOCK minecraft:cobblestone 5,1,0
  BLOCK minecraft:cobblestone 5,1,4
  BLOCK minecraft:cobblestone 5,2,0
  BLOCK minecraft:cobblestone 5,2,4
  BLOCK minecraft:spruce_stairs(2) 5,3,0
  BLOCK minecraft:torch(2) 5,3,2
  BLOCK minecraft:spruce_stairs(3) 5,3,4
  BLOCK minecraft:spruce_stairs(2) 5,4,1
  BLOCK minecraft:spruce_stairs(3) 5,4,3
  BLOCK minecraft:wooden_slab(1) 5,5,2
  AREA minecraft:cobblestone 6,0,0 6,2,4
  BLOCK minecraft:air 6,1,2
  BLOCK minecraft:spruce_stairs(2) 6,3,0
  BLOCK minecraft:cobblestone 6,3,1
  BLOCK minecraft:cobblestone 6,3,2
  BLOCK minecraft:cobblestone 6,3,3
  BLOCK minecraft:spruce_stairs(3) 6,3,4
  BLOCK minecraft:spruce_stairs(2) 6,4,1
  BLOCK minecraft:cobblestone 6,4,2
  BLOCK minecraft:spruce_stairs(3) 6,4,3
  BLOCK minecraft:cobblestone 6,5,2
  BLOCK minecraft:cobblestone 6,6,2
  BLOCK minecraft:cobblestone 7,0,2
  BLOCK minecraft:cobblestone 7,1,2
  BLOCK minecraft:stone_stairs(1) 7,2,2
END

PUBLIC PLAN cottage A simple small one room cottage
  # shift to make the door in front of us when created
  CALL _cottage -2 -1 1 0
END

 

Another example:

PUBLIC PLAN flower A tulip in a flowerpot
  BLOCK minecraft:flower_pot(4) 0,0,0 {Item:38,Data:4,id:"FlowerPot"}
END

 

 

The main thing to note is that, once the structures have been built, the mod is not required for the world to work (provided you have removed the Wand from the player inventory of course).

 

The mod comes with a number of example blueprints, demonstrating the various capabilities.  For example:

  • Glass dome -- works on land or underwater
  • Random tower -- random room contents and height
  • Cottage -- simple cottage
  • Well -- example of underground structure
  • Water -- uses 'soft' blocks to fill holes with water without affecting other blocks
  • Jeb Door -- standard Jeb door, with redstone etc
  • Lava trap -- example of trapped chest with opening floor
  • Bridge -- a simple 4-block wide bridge with a 30-block span
  • Tree -- a simple Oak tree
  • Water and Dry -- fill a hole with water, or dry up existing water
  • Topsoil -- add a layer of dirt and grass to any exposed rock
  • Tunnel -- drill a tunnell, with a rail track and torches, until the far side of the hill
  • Dungeon -- generate a random dungeon, with random rooms, monsters and treasure

More details and documentation are included with the mod in the download file.

 

Suggested uses:

  • Removing repetitive duplication work when building cities, forests and so on
  • Tutorials (eg, redstone) can provide a blueprint containing the example structures
  • Builders can share their work as individual re-useable structures
  • Use of random features giving small variations in a plan, to make more realistic worlds
  • Procedurally generate simple towers and castles

Note:

This is my first Minecraft Forge mod, and is being released to solicit feedback.  There are a number of rough edges and a couple of small bugs still to be addressed.  All constructive criticism and suggestions welcomed.

 

Posted

Here's the blueprint code for the random tower.  This is a good example of a recursive plan, with random elements.

 

I'm working on compiling a version of this mod to work with Minecraft 1.8 and the current Forge beta.

 

 

#
# Build a castle (actually, a tower)
# This has a standard base, then random rooms for a random height,
# then a standard roof.
#

private plan _tower_floor
    AREA minecraft:stone_slab(11)   2 -1 1  6 -1 6
    BLOCK minecraft:stone_slab(11)  1 -1 1
    BLOCK minecraft:stone_slab(11)  1 -1 2
    BLOCK minecraft:stone_slab(3)   1 -1 6
    BLOCK minecraft:stone_stairs(2) 1 -2 5
    BLOCK minecraft:stone_stairs(2) 1 -3 4
    BLOCK minecraft:stone_stairs(2) 1 -4 3
END

private plan _tower_walls
    AREA minecraft:cobblestone 0 -1 0   7 2 0
    AREA minecraft:cobblestone 0 -1 7   7 2 7
    AREA minecraft:cobblestone 0 -1 1   0 2 6
    AREA minecraft:cobblestone 7 -1 1   7 2 6
END

# Ground floor of the tower
private plan _tower_ground
    AREA minecraft:cobblestone 1 -1 1  6 -1 6
    CALL _tower_walls 0 0 0 0
    AREA minecraft:air 1 0 1  6 2 6
    BLOCK minecraft:wooden_door(3) 3 0 0
    BLOCK minecraft:wooden_door( 3 1 0
    BLOCK minecraft:wooden_door(3) 4 0 0
    BLOCK minecraft:wooden_door(9) 4 1 0
  BLOCK minecraft:torch(3) 4,2,1
  BLOCK minecraft:torch(4) 4,2,6
  BLOCK minecraft:torch(2) 6,2,4
  # torches over door
  BLOCK minecraft:torch(4) 3,2,-1
  BLOCK minecraft:torch(4) 4,2,-1
END

private plan _tower_roof
    # CALL _tower_floor 0 0 0 0
    AREA minecraft:stone_slab(11)   1 -1 1  6 -1 6
    BLOCK minecraft:trapdoor(     1 -1 2
    BLOCK minecraft:ladder(5)       1 -2 2
    BLOCK minecraft:cobblestone     0 -3 2
    BLOCK minecraft:ladder(5)       1 -3 2
    BLOCK minecraft:ladder(5)       1 -4 2
    BLOCK minecraft:stone_slab(3)   1 -4 3

    # Low walls and crenelations
    AREA minecraft:cobblestone 0 -1 0   7 1 0
    AREA minecraft:cobblestone 0 -1 7   7 1 7
    AREA minecraft:cobblestone 0 -1 1   0 1 6
    AREA minecraft:cobblestone 7 -1 1   7 1 6
    BLOCK minecraft:air        0  1 1
    BLOCK minecraft:air        0  1 3
    BLOCK minecraft:air        0  1 5
    BLOCK minecraft:air        7  1 2
    BLOCK minecraft:air        7  1 4
    BLOCK minecraft:air        7  1 6
    BLOCK minecraft:air        2  1 0
    BLOCK minecraft:air        4  1 0
    BLOCK minecraft:air        6  1 0
    BLOCK minecraft:air        1  1 7
    BLOCK minecraft:air        3  1 7
    BLOCK minecraft:air        5  1 7
    # Flagpole
    BLOCK minecraft:fence      5  0 5
    BLOCK minecraft:fence      5  1 5
    BLOCK minecraft:fence      5  2 5
    BLOCK minecraft:fence      5  3 5
# torches
    BLOCK minecraft:torch(0)   0  2 0
    BLOCK minecraft:torch(0)   0  2 7
    BLOCK minecraft:torch(0)   7  2 0
    BLOCK minecraft:torch(0)   7  2 7
END

private plan _tower_balcony
  # Balcony for window
  BLOCK minecraft:air 1 0 0
  BLOCK minecraft:air 1 1 0
  AREA  minecraft:stone_slab(11)   0 -1 2  2 -1 2
  AREA  minecraft:stone_stairs(7)  0 -1 1  2 -1 1
  AREA  minecraft:fence            0  0 2  2  0 2
  BLOCK minecraft:fence            0  0 1
  BLOCK minecraft:fence            2  0 1
  BLOCK minecraft:torch(3)         1  2 1
END
private plan _tower_windowledge
  BLOCK minecraft:stone_stairs(7) 1 0 1
  BLOCK minecraft:flower_pot(4)   1 1 1 {Item:38,Data:4,id:"FlowerPot"}
END
private plan _tower_window
  RANDOM 3
     CALL _tower_balcony     0 0 0  0
     CALL _tower_windowledge 0 0 0  0
     CALL _tower_windowledge 0 0 0  0
END
private plan _tower_half
  AREA minecraft:air       4 -1 1  6 -1 6
  AREA minecraft:fence     3  0 1  3  0 6
  BLOCK minecraft:torch(3) 3, 2,1
  BLOCK minecraft:torch(4) 3, 2,6
  CHANCE 20
     CALL _tower_window       1 0 7  0
  CHANCE 20
     CALL _tower_window       3 0 0  2
  CHANCE 10
     CALL _tower_windowledge  4 0 7  0
  CHANCE 10
     CALL _tower_windowledge  6 0 0  2
END
private plan _tower_library
  AREA minecraft:bookshelf  6 0 1  6 0 6
  AREA minecraft:bookshelf  6 2 1  6 2 6
  BLOCK minecraft:bookshelf 6 1 1
  BLOCK minecraft:bookshelf 6 1 3
  BLOCK minecraft:bookshelf 6 1 4
  BLOCK minecraft:bookshelf 6 1 6
  BLOCK minecraft:torch(3)  4,2,1
  BLOCK minecraft:torch(4)  4,2,6
  CHANCE 20
     CALL _tower_window  1 0 7  0
  CHANCE 20
     CALL _tower_window  4 0 7  0
  CHANCE 20
     CALL _tower_window  6 0 0  2
  CHANCE 20
     CALL _tower_window  3 0 0  2
END
private plan _tower_jail
# windows
    BLOCK minecraft:iron_bars 5 1 7
    BLOCK minecraft:iron_bars  5 1 0
    BLOCK minecraft:iron_bars  7 1 2
    BLOCK minecraft:iron_bars  7 1 5
# jail
    AREA minecraft:iron_bars        4 0 6    4 2 4 
    AREA minecraft:cobblestone      4 0 3   4 2 1
    BLOCK minecraft:stone_button(2) 3 1 3
    BLOCK minecraft:iron_door(0)    4 0 2
    BLOCK minecraft:iron_door(    4 1 2
  BLOCK minecraft:bed( 6,0,6
  BLOCK minecraft:bed(0) 6,0,5
  BLOCK minecraft:torch(3) 3,2,1
  BLOCK minecraft:torch(4) 3,2,6
END
private plan _tower_bedroom
  BLOCK minecraft:bed(11) 6,0,6
  BLOCK minecraft:bed(3) 5,0,6
  BLOCK minecraft:bookshelf 6 0 5
  BLOCK minecraft:torch(2) 6,2,4
  CHANCE 20
     CALL _tower_window  1 0 7  0
  CHANCE 20
     CALL _tower_window  4 0 7  0
  CHANCE 20
     CALL _tower_window  7 0 6  3
  CHANCE 20
     CALL _tower_window  7 0 3  3
  CHANCE 20
     CALL _tower_window  3 0 0  2
  CHANCE 10
     CALL _tower_windowledge  6 0 0  2
END
private plan _tower_diningrm
  BLOCK minecraft:fence 4,0,4
  BLOCK minecraft:wooden_pressure_plate 4,1,4
  BLOCK minecraft:fence 4,0,3
  BLOCK minecraft:wooden_pressure_plate 4,1,3
  BLOCK minecraft:torch(3) 4,2,1
  BLOCK minecraft:torch(4) 4,2,6
  BLOCK minecraft:torch(2) 6,2,4
  CHANCE 20
     CALL _tower_window  1 0 7  0
  CHANCE 20
     CALL _tower_window  4 0 7  0
  CHANCE 20
     CALL _tower_window  7 0 6  3
  CHANCE 20
     CALL _tower_window  7 0 3  3
  CHANCE 20
     CALL _tower_window  6 0 0  2
  CHANCE 20
     CALL _tower_window  3 0 0  2
END
private plan _tower_empty
  CHANCE 75
BLOCK minecraft:web     1 2 6
  CHANCE 75
BLOCK minecraft:web     6 2 6
  CHANCE 75
BLOCK minecraft:web     6 2 1
  CHANCE 15
     CALL _tower_balcony  1 0 7  0
  CHANCE 15
     CALL _tower_balcony  4 0 7  0
  CHANCE 15
     CALL _tower_balcony  7 0 6  3
  CHANCE 15
     CALL _tower_balcony  7 0 3  3
  CHANCE 15
     CALL _tower_balcony  6 0 0  2
  CHANCE 15
     CALL _tower_balcony  3 0 0  2
END
private plan _tower_open
  AREA minecraft:air 3 -1 3    4 -1 4
  AREA minecraft:fence 2 0 2  5 0 2
  AREA minecraft:fence 2 0 5  5 0 5
  AREA minecraft:fence 2 0 3  2 0 4
  AREA minecraft:fence 5 0 3  5 0 4
  BLOCK minecraft:torch(3) 4,2,1
  BLOCK minecraft:torch(4) 4,2,6
  BLOCK minecraft:torch(2) 6,2,4
  CHANCE 20
     CALL _tower_window  1 0 7  0
  CHANCE 20
     CALL _tower_window  4 0 7  0
  CHANCE 20
     CALL _tower_window  7 0 6  3
  CHANCE 20
     CALL _tower_window  7 0 3  3
  CHANCE 20
     CALL _tower_window  6 0 0  2
  CHANCE 20
     CALL _tower_window  3 0 0  2
END

# randomly select some contents for the room
private plan _tower_room_contents

    RANDOM 8
CALL _tower_diningrm 0 0 0  0
CALL _tower_library  0 0 0  0
CALL _tower_bedroom  0 0 0  0
CALL _tower_diningrm 0 0 0  0
CALL _tower_jail     0 0 0  0
CALL _tower_open     0 0 0  0
CALL _tower_empty    0 0 0  0
CALL _tower_half     0 0 0  0

END

private plan _tower_room
    CALL _tower_floor 0 0 0  0
    CALL _tower_walls 0 0 0  0

    BLOCK minecraft:glass_pane 2 1 7
    BLOCK minecraft:glass_pane 5 1 7
    BLOCK minecraft:glass_pane 2 1 0
    BLOCK minecraft:glass_pane 5 1 0
    BLOCK minecraft:glass_pane 7 1 2
    BLOCK minecraft:glass_pane 7 1 5
    BLOCK minecraft:glass_pane 0 1 2
    BLOCK minecraft:glass_pane 0 1 5

# pick a random contents for this room
    CALL _tower_room_contents 0 0 0  0

# above it can be either another room, or the roof
    RANDOM 3
        CALL _tower_room 0 4 0  0
        CALL _tower_room 0 4 0  0
        CALL _tower_roof 0 4 0  0

END

# Build the tower.  Start with the ground floor, 
# then build a room above and recurse.
# This may take several seconds to complete.
public plan tower  A randomly high tower
   CALL _tower_ground -4 0 1  0
   CALL _tower_room   -4 4 1  0
END

 

Posted

Finally managed to get it to compile, and work, under Minecraft 1.8.  Not as easy as I'd hoped by any means...  the new BlockState way of handling things is awkward, to say the least, not to mention the problematic way of specifying textures.

 

Anyway, will shortly post mod v0.3 with support for both Minecraft 1.7.10 and 1.8.0

 

Have also fixed the problem with torches/trapdoors/signs occasionally falling off the walls.

Posted

It might be possible to hook this into the world generation hooks, so that specified plans are randomly generated during world generation.  A plan could be enabled for autogeneration using an Option flag, with a probability and valid biomes in which it may appear; then, you'd be able to customise the autogenerated structures easily.  I'm not sure how simple this would be to do; it also changes the focus of the mod from being one used by a builder and then removed before playing, to being one intended to be permanently loaded.

 

It would also be necessary to have a module cfg file (separate from the blueprint files) to enable or disable such things are the wand crafting recipie, autogeneration, and so on.

  • 2 weeks later...
Posted

Version 1.0, for both Minecraft 1.7.10 and 1.8, is now released (link in the first posting).  This includes a large blueprint library, as well as the ability to auto-create blueprints in new chunks.

  • 3 weeks later...
Posted

Version 2.0 is now in beta, for Minecraft 1.8 only

 

This includes new directives to allow placing of Chests with randomised contents and Spawners with randomised and customised mobs; you can also specify metadata, chests, items, spawners and mob using NBT files instead of JSON.

 

There are a few more provided blueprints, as well.

 

The Blueprint Java package is now properly packaged up in a separate heirachy from the module so that it is portable and reuseable by other modules.  A number of instances of bad coding have been rewritten, and the module used BlockPos and NBTTagCompound objects internally.

Posted

In Minecraft 1.8, things are a lot easier because you can use the generic blockstate to give you an Enum for direction, which can be used to rotate.  As long as orientable userdefined blocks use the standard EnumDirection or EnumOrientation (which is highly likely) then it is possible to make a generic rotation function... of course, there will always be a few exceptions, which end up not rotating.

 

For 1.7, I handled rotation in the same way as the code example you linked to -- with a special rotate function that takes the DV and returns a rotated on for the specified block type, using many If statements.  Highly non-ideal, but all you can do, I think.  I wish that Mojang has standardised on a sngle way to specify orientation back at the beginning :(

 

Having an option in the module cfg file to customise <blockname>=<bitmask>,<dv>,<dv>,<dv>,<dv> or <blockname>=<statename>,<valuelist> to specify the n/s/e/w DV values might be the way to go for custom blocks with orientation.

Posted

Version 2.1 (beta1) is now available. 

 

This allows chests to be defined using this sort of syntax:

 

  CHEST 1 2 3  2  stick,0,5;50 minecraft:silk,6;90

 

This gives you a 50% chance of 0-5 sticks, and a 90% chance of 6 pieces of string.  You can also use NBT either inline or in external files to specifiy either an item or the entire chest.

 

Similarly, you can define spawners to have multiple weights and source by name or from external files:

 

  SPAWNER 1 2 3  Skeleton;10 Zombie;10 externalfile.nbt;20

 

Some examples are shipped with the module.

Posted

Version 2.2 is now released, with source for both 1.7.10 and 1.8

 

This adds the MOB directive, allowing blueprints to include minecarts, armour stands, zombies and so on; the /bp copy command will copy mobs in the region as well.

 

You can also specify blocks as MetaBlocks, such as OLD_STONE.  This will resolve to a different block depending on biome and randomness to give a more realistic look (thanks to the coders of mcDungeon for this idea!)

 

Pick up from http://www.steveshipway.org/mc/builders-helper-2.2.zip

Posted

Next enhancements --

 

1. an IFBIOME directive, to branch on certain biome matches (so you can have dcompletely different structures in different biomes form the same blueprint)

2. an IFBLOCK <x><y><z> <id> directive, to branch if the block at a certain relative position matches (so you can have a structure that continues until a condition is met, such as a tunnel ending on the other side of a hill, or a bridge pier ending at ground level.

 

eg.

 

PUBLIC PLAN village
CALL meta_cottage 0 0 0 0
IFBIOME Desert
  CALL 10 0 10 0 desert_well
  CALL 10 0 10 0 other_well
END

PUBLIC PLAN tunnel_section
IFBLOCK 10 0 0 minecraft:air
  NOOP
  CALL tunnel_section 10 0 0 0
CALL build_section 0 0 0 0
END

  • 2 weeks later...
Posted

Version 2.3.1 is now available, and implements the IFBIOME and IFBLOCK tests.  This now supports 1.7.10 and 1.8, and fixes the issues with metablocks not always working as well as the issues with log rotation in 1.8.

Posted

To copy a structure in-game:

  1. [*]Hold the Wand, or be in Creative mode

[*]Use the command:

/bp copy myname x1 y1 z1 x2 y2 z2

Replace myname with the name you want to store the new blueprint under. The coordinates are for opposite corners of the box to copy; so "1 2 3 4 5 6" will copy from block 1,2,3 to block 4,5,6 (a 3x3x3 cube). It will not copy Air blocks.

[*]You can now use

 /wand set myname 

to make the wand produce your newly copied blocks when you right-click at a location.

[*]Use

 /bp savemyname

to save your new blueprint to disk as

confg/bp/myname.cfg

. This will make it persist after game restarts.

[*]Note that the 'origin' as defined by a

 /bp copy 

may not be precisely where you want it to be. In this case, you can edit the new blueprint file to wrap the new plan in another plan that simply does an offset and/or rotation. See the cottage.cfg example blueprint for a demonstration of this.

To use the wand:

  1. [*]The wand is initially not set to do anything. You need to "enchant" it (I.E., associate it with an existing Blueprint).

[*]Use

/bp list 

to list the Public blueprints.

[*]Use

/wand set name

to set the wand to produce a specific blueprint. This works with public or private blueprints.

[*]Right-click (use) the wand on a block. You must be targetting a block; just clicking in the air does nothing. This will create the specified structure at this point.

[*]You may need to wait a few seconds for the structure to appear, depending on the complexity of the structure, or the speed of your server. A chat message will tell you when the build is completed (or if it failed for any reason).

Using Blueprints

  1. [*]A
blueprint is a file containing one or more plans, which contain sequences of instructions to create a structure. The directory of blueprints is called the portfolio.

  [*]A particular plan may call one or more other plans multiple times; in fact, this is a recommended way to define structures. The sub-plans can be marked 'private', which means their names do not normally display when listing plans.

[*]A plan may be marked as 'autocreate' with a probability and biome list. This is used by the autogenerator to randomly create this structure in the world as new chunks are defined.

[*]Blueprints can be created by the

/bp save

command, usually after running

/bp copy

to copy something in-world. However, it is usually more efficient to write or edit them by hand.

[*]The Blueprint language is structured similarly to the language Logo. It has basic testing and branching, and can use 'soft' blocks (which only place in Air) or 'meta' blocks (which have an element of randomness or dependence on biome). The language is detailed in the readme.cfg sample blueprint; there are also many other example blueprints provided to help you.

[*]Plans in one blueprint may call plans from another; however this is not generally recommended as you cannot be certain which order they will be evaluated in. It is best to keep all related plans in a single blueprint file. Also, it is Best Practice (though not required) to prefix private plans with an underscore, and have all plans in a blueprint with a common prefix -- for example, "hut", "_hut_roof", "_hut_window".

[*]Be careful with recursion. An infinitely-recurring plan will hang the server thread (this will be hopefully prevented in a future release)

 

I hope this helps! Documentation is slowly being written. I'm hoping that other module writers may pick up on the blueprint language as being a convenient way to define structures, and it could become a common language for exchanging structural definitions.

 

  • 2 weeks later...
Posted

Version 2.3.2 is now available.

 

This fixes some bugs, and adds the MSG and PICTURE directives.  You can now create maps displaying the pictures from external image files!

  • 4 weeks later...
Posted

Version 2.4 is available from http://www.steveshipway.org/mc/builders-helper-2.4.zip

 

Changes:

 

    You can select the area to copy using right-click on the wand, rather than having to type in the coordinates.

    It also adds support for Ruins Templates (from the Ruins mod); these are automatically converted to Blueprint format and made available.

    Additional blueprints added

    Corrections to Float and Soft code

    Support for ChestGenHooks

 

  • 3 weeks later...
  • 1 month later...
Posted

When you use /wand copy, instead of /bp copy, you click on the lower corners of the volume to be copied, and the height is automatically worked out by coming down until it hits a hard block.  The lower Y coordinate is the minimum of the two clicked corners.

 

So, if you click on [10,60,0] and [15,65,5]  then the volume copied will be [10-15,60-H,0-5] where H is the highest block in the [10-15,0-5] column - which may well be 100 if there is something up that high.  It works this way because you cannot click on an air block, and usually the top of your structure volume will have air in the corners.

 

If you want to copy a specific volume, you can use /bp copy to specify the exact corners.  The /wand copy command is intended to make things easier when copying an outside structure with nothing else above it.

 

The problem might occur if you have an overhanging cliff, or a tree, or something floating in the air 69 blocks above you.  Then you'll end up copying higher than you intended - though you could save with /bp save and subsequently edit the saved .bp file in a text editor and remove the offending block(s), before doing a /bp load to reload the blueprints.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • We are your trusted partner in discovering the best coupon codes and offers from top e-commerce platforms across Western countries, including the USA, Canada, and Europe. Our mission is simple: to help you save big while shopping for your favorite products. In this article, we’ll explore “Temu Coupon Code [acs670886]” showcasing unbeatable savings opportunities tailored just for you. Whether you're a savvy shopper looking for exclusive deals or a first-time buyer seeking maximum discounts, we have you covered. Together, we’ll make every shopping spree a budget-friendly adventure! Use the exclusive code “acs670886” to access maximum benefits in the USA, Canada, and European nations. Whether you're shopping for yourself or gifting others, this code guarantees unparalleled savings. Make the most of the Temu coupon $100 off and Temu $100 off coupon code today. It's time to enjoy exceptional deals and turn your shopping spree into a budget-friendly experience. What Is The Coupon Code For Temu $100 Off? Both new and existing customers can reap incredible benefits with our Temu coupon $100 off on the Temu app and website. Use the $100 off Temu coupon and enjoy unparalleled savings. acs670886: Flat $100 off your total purchase. acs670886: Access a $100 coupon pack for multiple uses. acs670886: Enjoy $100 off as a new customer. acs670886: Extra $100 promo code benefits for existing customers. acs670886: Exclusive $100 coupon for users in the USA/Canada. Temu Coupon Code $100 Off For New Users In 2025 New users can get unmatched savings with the Temu coupon $100 off and Temu coupon code $100 off. Use our exclusive code to unlock these amazing benefits: acs670886: Flat $100 discount for first-time shoppers. acs670886: A $100 coupon bundle for new customers. acs670886: Up to $100 off for multiple uses. acs670886: Free shipping to 68 countries worldwide. acs670886: An additional 30% off on your first purchase. acs670886: Also Flat 30% off on selected items. How To Redeem The Temu Coupon $100 Off For New Customers? Follow these steps to use the Temu $100 coupon and Temu 30% off coupon code for new users: Visit the Temu website or download the app. Add items to your cart and proceed to checkout. Enter the coupon code “acs670886” in the promo field. Click “Apply” to see the discount. Complete the payment and enjoy your savings. Temu Coupon $100 Off For Existing Customers Existing users can also benefit from our Temu $100 coupon codes for existing users and Temu coupon $100 off for existing customers free shipping. Use “acs670886” to unlock these perks: acs670886: Extra $100 discount for loyal Temu users. acs670886: A $100 coupon bundle for multiple purchases. acs670886: Free gift with express shipping across the USA/Canada. acs670886: Additional 30% off on top of existing discounts. acs670886: Free shipping to 68 countries. acs670886: Flat 30% off on select purchases. How To Use The Temu Coupon Code $100 Off For Existing Customers? Follow these steps to use the Temu coupon code $100 off and Temu coupon $100 off code: Log in to your Temu account. Select items and add them to your cart. Enter the coupon code “acs670886” at checkout. Apply the code and confirm the discount. Proceed with payment and enjoy exclusive offers. Latest Temu Coupon $100 Off First Order First-time shoppers can enjoy maximum benefits with the Temu coupon code $100 off first order, Temu coupon code first order, and Temu coupon code $100 off first time user. Use the “acs670886” code to unlock these offers: acs670886: Flat $100 off on your first order. acs670886: A $100 Temu coupon pack for first-time buyers. acs670886: Up to $100 off for multiple uses. acs670886: Free shipping to 68 countries. acs670886: Additional 30% discount for first-time purchases. acs670886: Flat 30% off on selected items. How To Find The Temu Coupon Code $100 Off? Discover verified Temu coupon $100 off and Temu coupon $100 off Reddit deals by subscribing to the Temu newsletter. Check Temu’s social media pages for the latest promos or visit trusted coupon websites for regularly updated offers. Is Temu $100 Off Coupon Legit? Yes, the Temu $100 Off Coupon Legit and Temu $100 off coupon legit. Our code “acs670886” is tested, verified, and works globally. Use it confidently for discounts on both first and recurring orders. How Does Temu $100 Off Coupon Work? The Temu coupon code $100 off first-time user and Temu coupon codes $100 off offer instant savings. Enter the code at checkout to reduce your bill by $100 or more, ensuring great value on every purchase. How To Earn Temu $100 Coupons As A New Customer? Unlock the Temu coupon code $100 off and $100 off Temu coupon code by signing up for Temu’s rewards program. Earn additional discounts through referrals and promotional activities. What Are The Advantages Of Using The Temu Coupon $100 Off? Temu coupon code $100 off: Save $100 on your first order. Temu coupon code $100 off: Access a $100 bundle for multiple uses. Temu coupon code $100 off: Flat 30% off for selected items. Up to 30% off on trending items. Additional 30% off for existing customers. Up to 30% off on selected items. Free gift for new users. Free shipping to 68 countries. Temu $100 Discount Code And Free Gift For New And Existing Customers Take advantage of the Temu $100 off coupon code and $100 off Temu coupon code. Use “acs670886” to unlock: acs670886: $100 off on the first order. acs670886: Extra 30% discount on any item. acs670886: Flat 30% off on select purchases. acs670886: Free gift for new users. acs670886: Up to 30% off on select items. acs670886: Free shipping to 68 countries. Pros And Cons Of Using The Temu Coupon Code $100 Off This Month Pros: Flat $100 discount for new and existing users. Additional 30% off on top of discounts. Flat 30% off for specific items. Free shipping to 68 countries. No minimum purchase required. Valid globally. Cons: Limited to specific regions for maximum benefits. Some items may be excluded from the offer. Terms And Conditions Of Using The Temu Coupon $100 Off In 2025 Temu coupon code $100 off free shipping: No minimum purchase required. Latest Temu coupon code $100 off: Valid worldwide. Use “acs670886” anytime, as it has no expiration date. Applicable to both new and existing customers. Free shipping to 68 countries. What Is The Temu Coupon Code 30% Off? Both new and existing customers can get amazing benefits if they use our Temu coupon 30% off on the Temu app and website. With this offer, shoppers can enjoy significant savings and exclusive perks. Here are the details of the benefits you can unlock: acs670886: Flat 30% discount for new users, making your shopping experience more affordable. acs670886: A 30% discount for existing users to save on every purchase. acs670886: Access a $100 coupon pack for multiple uses, ensuring continued savings. acs670886: Enjoy a $100 flat discount for new customers, reducing your first order cost significantly. acs670886: Extra $100 off promo code for existing customers in the USA and Canada, making every purchase worthwhile. Temu Coupon Code 30% Off For New Users New users can get the highest benefits if they use our Temu coupon 30% off on the Temu app. This exclusive code allows first-time shoppers to enjoy unmatched savings. Here’s what you can expect: acs670886: Flat 30% discount for new users to kickstart your shopping journey. acs670886: A $100 coupon bundle for new customers to maximize savings. acs670886: Up to $100 coupon bundle for multiple uses, extending your benefits. acs670886: Free shipping to 68 countries, ensuring a hassle-free shopping experience. acs670886: Extra 30% off on any purchase for first-time users, making your first order even more affordable. How To Redeem The Temu 30% Off Coupon Code For New Customers? Using the Temu 30% off coupon code is simple and straightforward. Follow these steps to redeem your Temu 30% off coupon code as a new customer: Visit the Temu website or download the Temu app. Sign up for a new account. Add your desired items to the shopping cart. Enter the coupon code “acs670886” in the promo code field. Click "Apply" to activate the discount. Complete the checkout process to enjoy your savings. Temu Coupon Code 30% Off For Existing Users Existing users can also get exclusive benefits when they use our Temu 30% off coupon code on the Temu app. Here’s how you can maximize your savings: acs670886: 30% extra discount for loyal Temu users, helping you save on every purchase. acs670886: A $100 coupon bundle for multiple purchases, making your savings stretch further. acs670886: Free gift with express shipping across the USA and Canada, adding more value to your orders. acs670886: Extra 30% off on top of the existing discount, ensuring unmatched savings. acs670886: Free shipping to 68 countries, making your shopping experience seamless. How To Use The Temu Coupon Code 30% Off For Existing Customers? Redeeming your Temu coupon code 30% off as an existing user is easy. Follow these steps to unlock your benefits with the Temu discount code for existing users: Log in to your Temu account. Browse and select your favorite items. Add the items to your cart. Enter the coupon code “acs670886” during checkout. Click "Apply" to activate the discount. Complete your purchase and enjoy the exclusive offers. How To Find The Temu Coupon Code 30% Off? To find the Temu 30% off coupon code first order and latest Temu coupons 30% off, follow these tips: Sign up for the Temu newsletter to receive verified and tested coupons directly in your inbox. Visit Temu’s social media pages regularly for the latest promotions and updates. Check trusted coupon websites to find the most recent and working Temu coupon codes. Use The Latest Temu Coupon Code $100 Off Don’t miss out on incredible savings with the Temu coupon code $100 off. Shop smart and make every dollar count. With the Temu coupon $100 off, you’re guaranteed a rewarding shopping experience. Start saving today!
    • In this article, we’ll dive into the “Temu Coupon Code [acs670886],” highlighting incredible savings opportunities designed just for you. Whether you're a seasoned bargain hunter searching for exclusive deals or a first-time shopper aiming for the best discounts, we’ve got you covered. Let’s transform every shopping experience into a budget-friendly journey! Use the exclusive code “acs670886” to unlock maximum savings in the USA, Canada, and European countries. Whether you're treating yourself or shopping for gifts, this code ensures unbeatable discounts. Don’t miss out on the Temu 70% off coupon and the Temu 70% off coupon code today. It’s time to embrace incredible deals and make your shopping spree both enjoyable and affordable! What Is The Coupon Code For Temu 70% Off? Both new and existing customers can reap incredible benefits with our Temu coupon 70% off on the Temu app and website. Use the 70% off Temu coupon and enjoy unparalleled savings. acs670886: Flat 70% off your total purchase. acs670886: Access a 70% coupon pack for multiple uses. acs670886: Enjoy 70% off as a new customer. acs670886: Extra 70% promo code benefits for existing customers. acs670886: Exclusive 70% coupon for users in the USA/Canada. Temu Coupon Code 70% Off For New Users In 2025 New users can get unmatched savings with the Temu coupon 70% off and Temu coupon code 70% off. Use our exclusive code to unlock these amazing benefits: acs670886: Flat 70% discount for first-time shoppers. acs670886: A 70% coupon bundle for new customers. acs670886: Up to 70% off for multiple uses. acs670886: Free shipping to 68 countries worldwide. acs670886: An additional 70% off on your first purchase. acs670886: Also Flat 70% off on selected items. How To Redeem The Temu Coupon 70% Off For New Customers? Follow these steps to use the Temu 70% coupon and Temu 70% off coupon code for new users: Visit the Temu website or download the app. Add items to your cart and proceed to checkout. Enter the coupon code “acs670886” in the promo field. Click “Apply” to see the discount. Complete the payment and enjoy your savings. Temu Coupon 70% Off For Existing Customers Existing users can also benefit from our Temu 70% coupon codes for existing users and Temu coupon 70% off for existing customers free shipping. Use “acs670886” to unlock these perks: acs670886: Extra 70% discount for loyal Temu users. acs670886: A 70% coupon bundle for multiple purchases. acs670886: Free gift with express shipping across the USA/Canada. acs670886: Additional 70% off on top of existing discounts. acs670886: Free shipping to 68 countries. acs670886: Flat 70% off on select purchases. How To Use The Temu Coupon Code 70% Off For Existing Customers? Follow these steps to use the Temu coupon code 70% off and Temu coupon 70% off code: Log in to your Temu account. Select items and add them to your cart. Enter the coupon code “acs670886” at checkout. Apply the code and confirm the discount. Proceed with payment and enjoy exclusive offers. Latest Temu Coupon 70% Off First Order First-time shoppers can enjoy maximum benefits with the Temu coupon code 70% off first order, Temu coupon code first order, and Temu coupon code 70% off first time user. Use the “acs670886” code to unlock these offers: acs670886: Flat 70% off on your first order. acs670886: A 70% Temu coupon pack for first-time buyers. acs670886: Up to 70% off for multiple uses. acs670886: Free shipping to 68 countries. acs670886: Additional 70% discount for first-time purchases. acs670886: Flat 70% off on selected items. How To Find The Temu Coupon Code 70% Off? Discover verified Temu coupon 70% off and Temu coupon 70% off Reddit deals by subscribing to the Temu newsletter. Check Temu’s social media pages for the latest promos or visit trusted coupon websites for regularly updated offers. Is Temu 70% Off Coupon Legit? Yes, the Temu 70% Off Coupon Legit and Temu 70% off coupon legit. Our code “acs670886” is tested, verified, and works globally. Use it confidently for discounts on both first and recurring orders. How Does Temu 70% Off Coupon Work? The Temu coupon code 70% off first-time user and Temu coupon codes 70% off offer instant savings. Enter the code at checkout to reduce your bill by 70% or more, ensuring great value on every purchase. How To Earn Temu 70% Coupons As A New Customer? Unlock the Temu coupon code 70% off and 70% off Temu coupon code by signing up for Temu’s rewards program. Earn additional discounts through referrals and promotional activities. What Are The Advantages Of Using The Temu Coupon 70% Off? Save 70% on your first order. Access a 70% bundle for multiple uses. Flat 70% off for selected items. Up to 70% off on trending items. Additional 70% off for existing customers. Up to 70% off on selected items. Free gift for new users. Free shipping to 68 countries. Temu 70% Discount Code And Free Gift For New And Existing Customers Take advantage of the Temu 70% off coupon code and 70% off Temu coupon code. Use “acs670886” to unlock: acs670886: 70% off on the first order. acs670886: Extra 70% discount on any item. acs670886: Flat 70% off on select purchases. acs670886: Free gift for new users. acs670886: Up to 70% off on select items. acs670886: Free shipping to 68 countries. Pros And Cons Of Using The Temu Coupon Code 70% Off This Month Pros: Flat 70% discount for new and existing users. Additional 70% off on top of discounts. Flat 70% off for specific items. Free shipping to 68 countries. No minimum purchase required. Valid globally. Cons: Limited to specific regions for maximum benefits. Some items may be excluded from the offer. Terms And Conditions Of Using The Temu Coupon 70% Off In 2025 Temu coupon code 70% off free shipping: No minimum purchase required. Latest Temu coupon code 70% off: Valid worldwide. Use “acs670886” anytime, as it has no expiration date. Applicable to both new and existing customers. Free shipping to 68 countries. Use The Latest Temu Coupon Code 70% Off Don’t miss out on incredible savings with the Temu coupon code 70% off. Shop smart and make every dollar count. With the Temu coupon 70% off, you’re guaranteed a rewarding shopping experience. Start saving today!
    • Hello everyone new here how are you all?
    • I haven't tested it but under https://minecraft.wiki/w/Items_model_definition it says now:   So I guess the resource location must have changed with 1.24.4, which means you need to move your models/item/ to the new source. But as I said I haven't tested this so it also may be that this wont work. Nevertheless give it a try      EDIT (important) So now I tested it and found out how it works   Let the model files (e.g. the .json from blockbench) within "assets/<your_mod_id>/models/item" In addition to that do the following: Every model you added will need a new file under "assets/<your_mod_id>/items" That file is also a JSON and looks like this: { "model": { "type": "minecraft:model", "model": "your_mod_id:item/custom_item" } } - "type" can be minecraft:model, minecraft:composite, minecraft:condition, minecraft:select, minecraft:range_dispatch, minecraft:empty, minecraft:bundle/selected_item or minecraft:special. (In most cases you would need minecraft:model) - "model" is the path to your actual model for this item. For example the value above would point to "assets/your_mod_id/models/item/custom_item"
    • On version 1.20.1 there is a build with the AE2 mod, and when opening the reference book for this mod inside Minecraft, it just freezes and closes
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.