3ac6270897
Merge branch 'master' into vehicles
2021-09-09 15:26:25 +02:00
daa3c6f868
Cleans up a bit and changes to compile for java 16 and spigot 1.17
2021-09-09 15:25:08 +02:00
0fe2a5b380
Adds some more fixes and improvements for vehicle teleportation
2021-06-11 20:46:14 +02:00
44dfa2a10d
Greatly refactors gate loading
2021-02-28 21:53:27 +01:00
504ef1b52f
Adds remaining missing comments to Portal
2021-02-27 22:50:44 +01:00
da32cf11d1
Fixes some things regarding vehicle teleportation
...
Adds extra space between the portal and the vehicle if the destination portal is always on
Fixes a bug causing vehicles not being detected soon enough
Fixes boats facing into the portal rather than out from the portal
Fixes boats spawning inside water rather than on top of it if water is in front of a portal
2021-02-27 22:34:10 +01:00
ba64572254
Adds more comments, simplifies some code and improves positioning of teleported large entities, like horses
2021-02-27 21:17:36 +01:00
496b5d9779
Moves sign drawing to a helper class to reduce the complexity of the portal class
2021-02-24 18:12:26 +01:00
378a59586d
Heavily simplifies sign drawing and cleans up vehicle teleportation code
2021-02-24 17:48:01 +01:00
4acea17ba3
Fixes boats sometimes not detecting the portal before the player detects the portal
2021-02-23 19:43:49 +01:00
5f685b2460
Fixes some oddities regarding vehicle teleportation
...
Accounts for size when blocking an entity near a portal from teleporting to the nether
Ignores boats and minecarts when teleporting a vehicle after the player
Makes it easy to get a portal by adjacent entrance for any given range
2021-02-23 19:17:05 +01:00
681014a431
Improves some code formatting in the portal open method
2021-02-23 00:35:48 +01:00
e5fef0b16a
Moves the EconomyHandler to utility and adds some encapsulation for three of its variables
2021-02-22 20:26:10 +01:00
e665a49f03
Adds missing comments to Gate and changes the matches function from n^2 to n execution time
2021-02-22 20:25:07 +01:00
d26196b8aa
Adds some extra explanations to gate layout's description
2021-02-22 18:34:23 +01:00
fb70b8bc75
Splits Gate into Gate, GateLayout and GateHandler, and creates a new portal package with portal related classes
2021-02-22 17:01:47 +01:00