You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Feature] Add ITrackV2 for complex logic (and bump to 1.3) (#15)
* ref: modernize buildscript and mapping
* feat: add PathingContext for packed data
* ref: add more predefined gauges
* feat: add ITrackV2 for complex pathing logics
* bump version to 1.3
* ref: refactor PathingContext
* ref: add Vec3 getter
* rename WheelData to PathingData
* ref: add comment on roll
* ref: remove Vec3 as it may introduce more unnecessary calculation
* remove final on PathingData
* change visibility of PathingData.position & roll
* Revert "ref: remove Vec3 as it may introduce more unnecessary calculation"
* ref: reconstruct PathingData
* ref: cleanup calculation
* ref: rename
* ref: add back ITrackBlock compat
* ref: rename vanillaPos back to pos
* ref: change return of ITrackV2.getNextPosition to void
* fix prev commit
* docs
Copy file name to clipboardExpand all lines: src/main/java/trackapi/lib/ITrackBlock.java
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -5,27 +5,27 @@
5
5
importnet.minecraft.world.World;
6
6
7
7
/**
8
-
* Compatibility layer for block only tracks
9
-
*
8
+
* Compatibility layer between <code>ITrack</code> and blocks which only contain tracks
9
+
* @deprecated Use <code>ITrackV2</code> instead for forward compatibility, instances of this class will only be returned when querying <code>ITrack</code>
10
10
*/
11
+
@Deprecated
11
12
publicinterfaceITrackBlock {
12
13
13
14
/**
14
15
* The distance between the rails measured in meters
0 commit comments