Plans API / Library is currently at version 4.0, for Minecraft 1.8.x. It provides modders a very flexible API to include in their own mods that allows them to customize the generation of instant structures. Plans uses a rules-based engine to generate Minecraft structures. A JSON file (*.plan.json), called a Plan contains all the properties and rules used to construct a particular structure. The Plan file can be very simple and straight-forward to a very complex set of Plans that substitutes blocks, adds support rules, connectors, conditions, spawners and chests.
Features
Rules-based generation
Easy to read and modify JSON files
Caching System for quicker access and rendering
In-memory Database for Plan grouping and categorizations. No more need for complex directories to organize files.
Build Sets! Group Plans together to form larger structures. Swap components or use the same component multiple times.
Structural Support Rules. Blocks can be set to either provide support or require support or both. If the block doesn't receive enough support, it is not built. Great for creating ruins and/or dungeons.
Conditional Rules. Block construction if based on conditions of existing world blocks. Ex. If world block is water, build stone brick, else don't build block at all.
Examples
Shown below are just a few examples of the different things that you can do with Plans. In these examples, I'm using PlansCreator (alpha version) to record and build my plans. It is only in alpha stage, so it currently only has a couple of functions, but enough to get you started using Plans.
For a more detailed explanation on Plans and how to use Plans, visit the Plans Wiki.
Typing the command pcbuild /mods/plans_creator/basic-tower.plan.json 0 63 0 will generate the simple tower structure at the location (0, 63, 0).
Example 2: '3Pigs' Group / Set
You can create a group of Plans that are divided into sets in order to share some common Plans. The '3Pigs' is a simple group of 4 Plans - a tower base, and 3
different Plans for the top turret portion. These 4 plans are divided into 3 sets - "straw" (base, straw turret), "wood" (base, wood turret), and "brick" (base, brick turret).
As you can see the tower base is re-used in all three sets.
Building a set uses the command pcbuildset
Now, using a Set for these simple structures may be overkill, but you can images if you have a large 25x25 castle that had 10 different connections points of which you wanted to randomize between 20 different turrets, then it could really come in handy.
Ah! I totally forgot about PlansCreator. I actually didn't think anyone was really using it - I'm glad someone is I'll have to look into that.
Note: you could always use PlansCreator in 1.8 to create your rooms. It doesn't affect the resulting JSON file that is generated. That's what I did with Dungeons. I didn't have to recreate them or anything.
Updated the fix to ModUtilsLib, which in turn requried an updated to Plans!. The update message now shows the correct mod. (for v1.8, update for 1.8.9 coming soon)
So will you ever update this? I would love to be able to use it in my modpack for 1.10 without setting it up for 1.8 then moving it up to 1.10 because I want to use some special blocks from mods. I love the mod concepts you have and am yet to get them used but I will be on to do that very soon!
Downloads
MC1.10.2
API - PlansAPI v4.0.8-mc1.10.2 [AdFly] (forge-1.10.2-12.18.1.2011)
MC1.10.0
API - PlansAPI v4.0.8-mc1.10.0 [AdFly] (forge-1.10-12.18.0.2000)
MC1.9.4
API - PlansAPI v4.0.8-mc1.9.4 [AdFly] (forge-1.9.4-12.17.0.1976)
MC1.9
API - PlansAPI v4.0.8-mc1.9 [AdFly] (forge-1.9-12.16.1.1887)
MC1.8.9
API - PlansAPI v4.0.8-mc1.8.9 [AdFly] (forge-1.8.9-11.15.1.1722)
API - PlansAPI v4.0.7-mc1.8.9 [AdFly] (forge-1.8.9-11.15.1.1722)
API - PlansAPI v4.0.6-mc1.8.9 [AdFocus] [AdFly] (forge-1.8.9-11.15.1.1722)
MC1.8
API - PlansAPI v4.0.8-mc1.8 [AdFly] (forge-1.8-11.14.4.1563)
API - PlansAPI v4.0.7-mc1.8 [AdFly] (forge-1.8-11.14.4.1563)
API - PlansAPI v4.0.6-mc1.8 [AdFly] (forge-1.8-11.14.4.1563)
API - PlansAPI v4.0.5-mc1.8 [AdFocus] [AdFly] (forge-1.8-11.14.3.1487)
API - PlansAPI v4.0.4-mc1.8 [AdFocus] [AdFly]
PlansCreator Mod - PlansCreator v0.1-mc1.8-alpha [AdFly]
Requirements
ModUtilsLib
About
Plans API / Library is currently at version 4.0, for Minecraft 1.8.x. It provides modders a very flexible API to include in their own mods that allows them to customize the generation of instant structures. Plans uses a rules-based engine to generate Minecraft structures. A JSON file (*.plan.json), called a Plan contains all the properties and rules used to construct a particular structure. The Plan file can be very simple and straight-forward to a very complex set of Plans that substitutes blocks, adds support rules, connectors, conditions, spawners and chests.
Features
Examples
Shown below are just a few examples of the different things that you can do with Plans. In these examples, I'm using PlansCreator (alpha version) to record and build my plans. It is only in alpha stage, so it currently only has a couple of functions, but enough to get you started using Plans.
For a more detailed explanation on Plans and how to use Plans, visit the Plans Wiki.
If you are so inclined, you can follow my Plans development notes on Evernote
Example 1: Basic Tower Plan
basic-tower.plan.json Plan file:
Typing the command pcbuild /mods/plans_creator/basic-tower.plan.json 0 63 0 will generate the simple tower structure at the location (0, 63, 0).
Example 2: '3Pigs' Group / Set
You can create a group of Plans that are divided into sets in order to share some common Plans. The '3Pigs' is a simple group of 4 Plans - a tower base, and 3
different Plans for the top turret portion. These 4 plans are divided into 3 sets - "straw" (base, straw turret), "wood" (base, wood turret), and "brick" (base, brick turret).
As you can see the tower base is re-used in all three sets.
Building a set uses the command pcbuildset
Example 3: '3Pigs' Group, 'Straw' Set, 'Wood' Set, and 'Brick' Set
Command: pcbuildset 3pigs straw 0 63 0
Command: pcbuildset 3pigs wood 7 63 0
Command: pcbuildset 3pigs brick 14 63 0
Now, using a Set for these simple structures may be overkill, but you can images if you have a large 25x25 castle that had 10 different connections points of which you wanted to randomize between 20 different turrets, then it could really come in handy.
Updated to 4.0.5 - uses next external library ModUtilLibs to prevent class conflicts.
Liking the Dungeons! mod, it replaced "Ruins" for me because it is not the same dungeon every time.
The only problem is that I cant add rooms now that it is on 1.8.9, because PlansCreator is not updated, do you think you will be updating it?
Ah! I totally forgot about PlansCreator. I actually didn't think anyone was really using it - I'm glad someone is I'll have to look into that.
Note: you could always use PlansCreator in 1.8 to create your rooms. It doesn't affect the resulting JSON file that is generated. That's what I did with Dungeons. I didn't have to recreate them or anything.
Updated the fix to ModUtilsLib, which in turn requried an updated to Plans!. The update message now shows the correct mod. (for v1.8, update for 1.8.9 coming soon)
i i was wondering what is the license for this mod and dungeons mod
Copyright Statement
This mod (Plans!) is Copyright © and is the intellectual property of the author. It may be not be reproduced under any circumstances except for personal, private use as long as it remains in its unaltered, unedited form. It may not be placed on any web site or otherwise distributed publicly without advance written permission. Use of this mod on any other website or as a part of any public display is strictly prohibited, and a violation of copyright.
You are allowed to make videos using this mod. Using it in your mod packs is ALLOWED as long as you provide a link this Minecraft Forum mod page and you do not profit from it.
Basically you're free to use it (and Dungeons) in any mod pack. You can use it to create your own mods (as it is an API).
thank you
So will you ever update this? I would love to be able to use it in my modpack for 1.10 without setting it up for 1.8 then moving it up to 1.10 because I want to use some special blocks from mods. I love the mod concepts you have and am yet to get them used but I will be on to do that very soon!
Sorry, I currently have no plans to update this for later versions.