72 Commits

Author SHA1 Message Date
Ruakij
c1dbe281a6 Preserve pitch and yaw from player 1.0 2021-05-11 12:55:01 +02:00
Ruakij
8485e34756 Added config-option beacon 2021-05-11 12:50:16 +02:00
Ruakij
7e6601d56d Implemented config-option id 2021-05-11 12:46:03 +02:00
Ruakij
982190b730 Implemented config-option locationCheck 2021-05-11 12:42:42 +02:00
Ruakij
4626646292 Implemented config-option autosave 2021-05-11 12:41:09 +02:00
Ruakij
e82de277ef Added config-options 2021-05-11 12:39:34 +02:00
Ruakij
28658329a8 Save on shutdown added 2021-05-11 12:08:00 +02:00
Ruakij
ac810349ac Fixed saving not working 2021-05-11 11:48:39 +02:00
Ruakij
2a713d269e Delete list when empty 2021-05-11 11:45:06 +02:00
Ruakij
b20e0a03fd Added Autosave 2021-05-11 11:42:46 +02:00
Ruakij
5a1c809d89 Changed save-system 2021-05-11 11:42:05 +02:00
Ruakij
ef9643c2ae Fixed loading not writing blocks to list 2021-05-11 11:30:01 +02:00
Ruakij
c732aa31b1 Set player to ignore-list if teleport didnt succeed 2021-05-11 11:10:24 +02:00
Ruakij
51c9ee0716 Fix first placed block having a different list leading to new linked-blocks being out-of-sync
(teleport not working and breaking leading to unexpected and undesired states)
2021-05-11 11:03:44 +02:00
Ruakij
e10eaf9b66 Fix system trying to gather non-existent data to display message 2021-05-11 11:02:30 +02:00
Ruakij
686ad312c5 Removed upcasting, check is done on reference-layer anyways 2021-05-11 09:53:57 +02:00
Ruakij
973897cc3e Notify player when teleport could not succeed 2021-05-11 09:53:30 +02:00
Ruakij
1eb472b576 Added check when no safe-location could be found 2021-05-11 09:52:22 +02:00
Ruakij
c41ab95baf Added comments 2021-05-11 09:45:50 +02:00
Ruakij
5e22456f61 Fixed empty-space search not working, because of missing ignore 2021-05-11 09:45:25 +02:00
Ruakij
2bda948c8f Fixed CustomMoveEvent firing all the time instead of only on Block-change 2021-05-11 09:37:10 +02:00
Ruakij
6c2e06afaf Changed data.yml format and added save-method 2021-05-10 16:15:56 +02:00
Ruakij
b54af93d4b Made Manager static 2021-05-10 16:15:07 +02:00
Ruakij
1168b8859a Changed data-yml format 2021-05-10 15:45:48 +02:00
Ruakij
b8ed619b1c Implemented search for safe-location on target-beacon 2021-05-10 15:42:44 +02:00
Ruakij
1ab17c1ab6 Added overloaded-alternative-method searchForMaterial 2021-05-10 15:42:22 +02:00
Ruakij
fdc17aad0f Fixed logic 2021-05-10 15:29:37 +02:00
Ruakij
bf18c82d6d Fixed broken if-statements 2021-05-10 15:27:29 +02:00
Ruakij
2f64eb5ed0 Added player-messages 2021-05-10 15:23:29 +02:00
Ruakij
cf061f9d75 Migrated logic to objects 2021-05-10 15:15:25 +02:00
Ruakij
b593a22568 Moved code to objects 2021-05-10 14:51:14 +02:00
Ruakij
884184006c Added player to ignoreList even on unsuccessful teleport 2021-05-10 14:30:49 +02:00
Ruakij
41a15103b3 Fixed List having wrong Type 2021-05-10 14:24:29 +02:00
Ruakij
b010280111 Fixed player being removed from ignoreList directly after teleport. 2021-05-10 14:23:53 +02:00
Ruakij
63bab8ae2e Fixed misplaced FIXME comment 2021-05-10 14:19:27 +02:00
Ruakij
3d602c526d Implemented partner-list saved on LinkedBeaconTeleporter 2021-05-10 14:18:11 +02:00
Ruakij
f03a80cf99 Implemented teleporting 2021-05-10 14:02:20 +02:00
Ruakij
51e22f2f9e Moved code to normal listeners 2021-05-10 14:01:38 +02:00
Ruakij
3695315d42 Added searchForMaterial Function and List of transparentMaterials 2021-05-10 14:00:55 +02:00
Ruakij
b819fcb9f5 Added proper api-version-tag 2021-05-10 14:00:16 +02:00
Ruakij
ddb6525c40 Implemented CustomPlayerMoveEvent that only fires on certain conditions and only checks every 10ticks 2021-05-10 13:36:52 +02:00
Ruakij
c0917a1ab6 Switched to proper Crafting-mechanics 2021-05-10 11:58:37 +02:00
Ruakij
3d757a6ccf LinkedBeaconTeleporterItem generates own ItemStack 2021-05-10 10:36:26 +02:00
Ruakij
a296a190c6 Added Gamemode-check 2021-05-10 10:21:16 +02:00
Ruakij
800032f530 Fixed list not getting written to HashMap 2021-05-10 10:21:06 +02:00
Ruakij
3df5c9d4ac Implemented placing of LinkedBeaconTeleporterItem 2021-05-10 09:58:56 +02:00
Ruakij
d9c95a5e53 Implemented breaking of LinkedBeaconTeleporterBlock and dropping LinkedBeaconTeleporterItem 2021-05-10 09:58:24 +02:00
Ruakij
3f73d15a5a Commended search for existing LinkedBeaconTeleporterItem
(this will lead to more than only 2 linked items)
2021-05-10 00:10:47 +02:00
Ruakij
de1c2816a2 Added missing import 2021-05-10 00:10:01 +02:00
Ruakij
4efa26fe0e Added null-check for lore 2021-05-10 00:09:28 +02:00