Skip to content

Commit

Permalink
Merge pull request #22 from misode/patch-1
Browse files Browse the repository at this point in the history
Update Minecraft Wiki links to new domain after fork
  • Loading branch information
quat1024 authored Aug 4, 2024
2 parents 8d996d8 + 7c99f8e commit e322871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/2.x/JSON.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ This predicate does the following:
* `attacker_spawn_location`: the first location where the attacking mob was noticed
* returns `true` if the location is loaded and passes the `LocationPredicate`.

LocationPredicates can test x/y/z ranges, biomes, dimensions, features, light levels, and a couple other oddities (like whether an entity is in campfire smoke). Please check [the minecraft wiki](https://minecraft.fandom.com/wiki/Predicate), Ctrl-F the page for "location_check", and open the box labeled "Tags common to all locations". The `offsetX`/`offsetY`/`offsetZ` keys are also supported.
LocationPredicates can test x/y/z ranges, biomes, dimensions, features, light levels, and a couple other oddities (like whether an entity is in campfire smoke). Please check [the minecraft wiki](https://minecraft.wiki/w/Predicate), Ctrl-F the page for "location_check", and open the box labeled "Tags common to all locations". The `offsetX`/`offsetY`/`offsetZ` keys are also supported.

`uniqueId` is required because the result of `"who": "attacker_spawn_location"` predicates is tested only one time and cached on the entity. This helps on performance, and fixes issues relating to the attacker's spawn location being unloaded.

Expand Down Expand Up @@ -677,4 +677,4 @@ Rules and predicates happen to be both specified in fields named "`type`", but t
|Dump directory|`config/apathy/dumps/`|`apathy-dumps/`|
|Rule and predicate IDs|**Must be prefixed with `apathy:`**|The `apathy:` prefix is not required|
|Dumps look weird and confusing?|Yes, DataFixerUpper quirk|No, I rewrote all the json code|
|`advancements`, `location`, and `score` rules|Not available|Available|
|`advancements`, `location`, and `score` rules|Not available|Available|

0 comments on commit e322871

Please sign in to comment.