Changeset 37b9d98 in Primary

Timestamp:
May 16, 2020 7:49:07 PM (4 years ago)
Author:
Jonathan Neufeld <support@…>
Branches:
bugfix/twilight-forest-freezes, feature/aac-radio-playback, feature/entity-update-scheduling, master
Children:
0e20b38
Parents:
1fd8216
Message:

Address #43 again (mobs break-dancing indefinitely on half-blocks like beds), I've simplified the API by now removing both the "boundsMin" and "pathPointCoordinates" interface methods and delegating this control to the implementation itself. The coordinates method must now return a set of coordinates whose x/z can point to a location anywhere within the bounds of the pathing entity along the x/z plane. The y-component must point to the feet of the pathing entity (i.e. bounding-box minimum).

One important consideration: the source path point was calculated from the minimum x/z bounds, it has been simplified to point to the aforementioned x/z position of the entity, which should not impact most entities that are no more than one block wide, but it could potentially impact larger entities.

Upon cursory testing of these changes I note an overall improvement in behavior and notice no problems with larger entities in-particular as well as a resolution to #43

(No files)

Note: See TracChangeset for help on using the changeset viewer.