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