JAS v0.7.0 - Tag-able Categories

 Compliant with Minecraft 1.4.7 and 1.5+

Major Changes

  • Categories now allow tags to cutomize output, default tags are auto-generated to provide identical functionality. Entering an empty string (or unreadable) instead of tags will result in pre-0.7.0 behaviour to be used.
  • Custom Entity Categories can be added by entering their names in the extra categories section of CreatureType.cfg

Tags

  • Change Sky tag to strict can see sky check (calls to heightmap). 
  • Ground tag ("ground"): Gets top block and iterates downward, ignoring leaves, wood, foliage, and blocks the player can move through.
  • Torch Light tag ("torchLight"): Identical to light tag but ignores time of day.
  • Difficulty tag ("difficulty"): 0-3 to
  • Added tags represented block functions: Liquid, Normal, Opaque, and solidSide.
  • Top Biome Block Tag ("top"): Check if entity is on the "top block" of the biome it is standing in.
  • Filler Biome Block Tag ("fill"): Check if entity is on the "filler block" of the biome it is standing in.

Misc. Changes

  • Allow toggling Spawn logging independent of debug logging. Debug logging still functions as master switch.
Read more ...

Just Another Spawner v0.6.0 (1.4.7/1.5+)

Changelog:
  • Can see sky check was tweaked to check if higher than highest non-opaque block.
  • Two new tags: minSpawnHeight, and maxSpawnHeight. Function as their names imply, identical to the light tag with the exception that min and max are their own tags.
  • Chainable Tags. These are tags that are parsed with either an AND or OR status. Chainable tags are block, light, sky, minSpawnHeight, and maxSpawnHeight. Tags are formatted identically as before, except they can be prefixed by | or & to set their behaviour. Previous versions parsed all tags as OR and this is still the default behaviour.


Chainable Tags

This is the most exciting feature of the update. The feature is best illustrated with examples.

OR

Tag: {!spawn:sky:block,12}
What this means: Don't Spawn this entity unless it can see sky OR it is on a sand block. So this will spawn on the surface anywhere (such as plains), and anywhere there is sand (such as deserts, possibly underground if sand is there).

As mentioned previously, the default behaviour for chainable tags is to OR them. The above is equivalent to {!spawn:sky:|block,12}. Note how the ':' is still required even if '|' or '&' are present. If we change the tag to an '&' the restrictions are only activated if both restrictions are valid.

AND

Tag: {!spawn:sky:&block,12}
What this means: Don't Spawn this entity unless it can see sky AND it is on a sand block. So this entity will only spawn on the surface with sand. (Such as surface of deserts).

ORDER

Chainable tags are parsed left to right and can be interrupted with non-chainable tags at will.
Tag: {!spawn:sky:cap,10:&block,12}
What this means: Nothing has changed, sky and &block are parsed as above. Except the entity also has an entity cap of 10.

MULTPLE

Chainable tags may also be inserted multiple times for complex effects.
Tag: {!spawn:sky:&block,2:block,87}
What this means: The above entity has two valid cases it will spawn. First, if it is on sand and can see sky. The Second is if it on netherack.
Read more ...