Skip to content
Success

Changes

Summary

  1. Allow location.add to have dLocation input (commit: 3d6d034) (details)
  2. add location.sub,.mul,.div, fix .direction.vector (commit: 2a10d6b) (details)
  3. Cleanup, fix buggy aH.Argument.startsWith(String, Int). (commit: 390c2ea) (details)
  4. Allow max 50 tags per argument, allow <>'s to be escaped by using \. (commit: 473bf93) (details)
  5. Add Operator language. (commit: 5910faa) (details)
  6. Add <[email protected][<operator>].to[<element>]> and (commit: 379ead5) (details)
Commit 3d6d0347418d42ee260cc230986ecf58d081b1be by mcmonkey4eva
Allow location.add to have dLocation input

Example of usage:
- DoSomethingAt
<player.location.add[<player.location.direction.vector>]>

also, fix some tag meta.
(commit: 3d6d034)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dLocation.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dEntity.java (diff)
Commit 2a10d6bc8266587c933b1b97582384649b66fb5e by mcmonkey4eva
add location.sub,.mul,.div, fix .direction.vector

This adds <location.div> (Divide the location) <location.mul> (Multiply
the location) and <location.sub> (Subtract from the location) to go
along with the existing <location.add>
It also fixes the math in <location.direction.vector>
Example usage:
- explode
<player.location.add[0,1.5,0].add[<player.location.direction.vector.mul[6]>]>
The above will create an explosion 6 blocks directly in front of where
the player is pointing.
(commit: 2a10d6b)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dLocation.java (diff)
Commit 390c2eae7afd07ddb4baa495f22fb1f6c789dec8 by jeremy
Cleanup, fix buggy aH.Argument.startsWith(String, Int).
(commit: 390c2ea)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/queues/ScriptEngine.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/Attribute.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/ScriptEntry.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/player/ChatCommand.java (diff)
Commit 473bf930a067f6af668e010fd290b61624903eb2 by jeremy
Allow max 50 tags per argument, allow <>'s to be escaped by using \. Example: - narrate "\<<player.name>\> -\> \<<npc.name>\> 'I have escaped!'" Note: <> character escaping may cause some unforseen problems, please report any odd findings to our GitHub issues page.
(commit: 473bf93)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/TagManager.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/Comparable.java (diff)
Commit 379ead54da282c941425d36b46c0225d7f3d9f93 by jeremy
Add <[email protected][<operator>].to[<element>]> and <[email protected][<operator>].than[<element>]> to allow all the power of an IF in the form of a tag. See notes about escaped <>'s in !lang operator.
(commit: 379ead5)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Element.java (diff)