Placemod

Placemod (Fast Schematic Spawning System)

Spawns Structures In Your Minecraft Worlds Upon Generation

 

New mod version: StructPro mod

Author: Ternsip

Artwork: Anyta14

Minecraft: [1.7.*], [1.8.*], [1.9.*][1.10.*]

Mod version: 3.8

Origin thread: thread

 

Description
Placemod adds new extraordinary very optimized and fast structure generator in the world. It spawns different structures based on schematics in the world on the server side. During the world exploration you can find various discoveries neatly generated from schematics. Produced structures can reach gigantic proportions, since schematics is not limited by size.
Any user can add arbitrary schematic to make it possible automatically appear in the world. Mod config provides the ability to adjust spawn rate. It is possible to generate villages constructed from schematic sets. I have collected more than 800+ great schematics and include them to standard mod releases.


Details
When Minecraft first time starts with this mod it may take a time is about 1 min, first reading any schematic entails appropriate calculating flags: permissible biomes, schematic air-skin to speed up and decorate spawn routine.

Even if your schematic have ground level (with grass, gravel, stone, dirt etc.) it will dig down as it is necessary.
if your scheme is made roughly mod will automatically detect air outside of your structure and place it goodly.
Villagers automatically spawns around towns and villages.
Every chest will have random loot according to its spawn method.

 

Schematics
You can find all *.schematics inside Placemod/Schematics/.
By default it has next subdirectories: Common, Floating, Underground, Underwater, Water, Village.
You can put your own folders and schematics inside without any problems.
* Common - conventional buildings
* Floating - hovering in the sky, like floating islands
* Underground - fully dug into the ground
* Underwater - appears under water
* Water - spawns exactly on water
* Village - same folder schematics tries to appear all at once

 

Mod Configuration
Spawn rate adjusting Config file located in config/placemod.cfg
[DENSITY = 0.01] Density is average amount of structures that can be spawned in one chunk
[RATIO_A = 1.0] Smoothing of saturation function
[RATIO_B = 0.5] Degree of saturation function
Saturation function f(x) = 2/(1+e^(-A*x^B))-1, where x - structure size deviation from average size. This function affects structure relative spawn chance.

Notice: Config file is very sensitive. There is no bad-numbers-protection, so put only reasonable values.

[STRICT_MODE = false] Flag 'false' allows to spawn floating structures additionally in common biome. May be only true or false.
[BALANCE_MODE=true] Replace rich blocks to poor
[FORCE_LIFT=0] Pull out structure from the ground and lift up (recommended 0)
[ROUGHNESS_FACTOR = 1.0] Multiplier of minimal acceptable roughness
[CHEST_LOOT_CHANCE=0.25] Chest loot chance [0..1]
[PREVENT_COMMAND_BLOCK=false] Prevent command block for spawning
[PREVENT_MOB_SPAWNERS=false] Prevent mob spawners to appear in the world

[ALLOW_ONLY_VANILLA_BLOCKS=true] Allows to paste only vanilla blocks

[MIN_CHEST_ITEMS= 2] Min number of stack per chest inclusive
[MAX_CHEST_ITEMS= 7] Max number of stacks per chest exclusive
[MAX_CHEST_STACK_SIZE= 3] Max item stack size for chest loot

[LOAD_OUTPUT=true] Outputs schematic-load messages to console

[ALLOWED_DIMENSIONS = -1, 0, 1] Structures is able to spawn only in those dimensions

 

Permissible biomes
Mod automatically classifies biome type as one of the: mesa, sand, snow, mushroom, water, nether, all others. Mod function checks biome pertinence to it class each time before structure spawning. It is fully compatible with Biomes O'Plenty, classical biomes and others gen-based mods.

 

Notice: When you add new schematics to the mod or create schematic-pack try to keep each schematic name with their author or publisher name in brackets (for example [Rock477]FloatingIsland, [Hiro24]Atlantis), and delete all special and whitespace symbols from name for convenience.

 

Notice: Do not create subfolders deeper inside Placemod/Schematics/ with names "Common", "Floating", "Underground", "Underwater", "Village", "Water", because it indicates spawn method and may to confuse you. That Folders already been created.

 

Screenshots

 

 

Changelog
World structure generator highly optimized since 1.4 version.
Added precalulating structure flags and skin.
Spawn system nicely simplified.
Fixed Block ID bug (gave ArrayIndexOutOfBounds Exception when you tried to run with other mods.)
Fixed mod version
Fixed random world seed dependence (Now world generation is more random and depends on world seed)
Relocated configuration file, now config locates in config/placemod.cfg
Fixed null pointer exception rises when world won't generate chunk
Changed spawn rarity to 0.005

Improved structure skinning. 

Version 2.1 Major Update:
Assigned individual cluster/structure rarity for each biome type.
Add saturation function ratios to config.
Fixed bug that makes block not rendered when large structures spawns.
Fixed nether spawn height (Before nether was not able to spawn structures properly - only on top of hell).
Fixed underwater structures lifting.

Version 2.2:

Fixed setting incorrect villager profession

Version 2.4:

Improved cluster-village spawning methods.
Add Console-Reports.
Fixed Villagers spawned outside.

Improved solution of rectangle-pack problem for villages that makes it tightly.
Now villages assigns to rational biome-types.
Fixed bug when underwaters swept away to the shore.
Now console logs all spawn-transactions.
Commented and beautified code.

Version 2.5:

Improved height calibration when spawning, so now structures not so buried in ground.
Changed license from GPL to MIT

Version 3.1 balance, diversity update:
Add a few options to config:
balanceMode - Replace rich blocks to poor
preventCommandBlock - Prevent command block for spawning
roughnessFactor - Multiplier of minimal acceptable roughness
lootChance - Chest loot chance [0..1]
forceLift - Pull out structure from the ground and lift up (recommended 0)
Version 3.2:
Now mob spawners appears with random mob inside cage (not only pigs).
Add function to disable mob spawners.
Fixed mushroom rotation bug. Now mushroom cap blocks puts correctly.
Fixed rails and portals metadata rotation bugs.
Added block-id disentanglement vanilla blocks to reveal appropriate schematic block.

Version 3.3
Underground becomes fully underground
Add vanilla only blocks options
Villa and Town now spawns villagers
Fixed illegal argument block state exception

Version 3.4
Fixed underwater floodfill
Fixed structures dirt/stone floodfill
Add new chest loot control for 1.7.x 1.8.x

Add support of 1.9.4

Version 3.5

Fix item-crash bug in 1.7.10

Version 3.6

Add config function LOAD_OUTPUT to disable console load output
Small fix for 1.7.10 with icons
Add support for 1.10.2

Version 3.7

Add config function to control allowed dimensions
Add support for 1.10

Version 3.8
Fixed dimension protect ignore bug


Installation
0. Delete previous versions (inclusive Placemod/Structures folder) of this mod and make world backup.
1. Download and unzip the archive (Older versions).

1. Download Both jar-file and schematics pack separately.
2. Put jar from the mods folder to your minecraft mods folder.
3. Put Placemod folder to your minecraft (win+r %appdata%/.minecraft/) folder.

License: You can freely distribute this mod.

Requires: Forge

 

FAQ:

- Are you using any dependencies like schematica to spawn structures in the world?

- Placemod are fully independent. It can be easily added or removed.

 

- Where does the schematic folder go?

- %appdata%/.minecraft/Placemod/Schematics/Spawn style/Your folder/Your schematics

 

- For using own Schematics, do we also need the .flags and .structure files, or those are generated by the mod itself.

- You need only schematics. Nothing more. You don't need to touch *.flag and *.structure files, they will be generated automatically.

 

- How to make structures way more rare.

- Go to config and open placemod.cfg file then put density, for instance 10 times less than before (0.005 to 0.0005)


I hope you enjoy!


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    234990
  • Created
    Aug 15, 2015
  • Last Released File
    Jul 14, 2016
  • Total Downloads
    29,622
  • License

Categories

Members