57 Commits

Author SHA1 Message Date
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
Ruakij
8889a16bdc Fixed regex-generation 2021-05-10 00:09:12 +02:00
Ruakij
f8c7672cfa Fixed not using ItemMeta 2021-05-10 00:08:45 +02:00
Ruakij
cb4adc3bc1 Fixed missing ItemMeta assignment 2021-05-10 00:08:25 +02:00
Ruakij
6a4369c527 Fixed Wrong Method-Arguments 2021-05-10 00:07:52 +02:00
Ruakij
a7a8a4b037 Implemented linking of beacons in crafting 2021-05-09 23:24:04 +02:00
Ruakij
b1169f48db Ability to create new LinkedBeaconTeleporterItem 2021-05-09 23:15:25 +02:00
Ruakij
efb18aa711 Fixed spelling :/ 2021-05-09 23:06:01 +02:00
Ruakij
0b538db2a4 Implemented check to detect attempt to place LinkedBeaconTeleporterItem 2021-05-09 23:01:27 +02:00
Ruakij
90443d51f7 Fixed Item returning wrong class 2021-05-09 22:59:46 +02:00
Ruakij
69fcab7bbc Implemented check to detect attempt to break LinkedBeaconTeleporterBlock 2021-05-09 22:55:40 +02:00
Ruakij
376695b466 Implemented check to detect attempt to link 2 beacons 2021-05-09 22:50:54 +02:00
Ruakij
da05087876 Implemented Block-Location de/serialisation 2021-05-09 22:47:10 +02:00
Ruakij
2f621d7a9b Implemented getter for LinkedBeaconTeleporterBlock from Location and teleportId 2021-05-09 22:46:18 +02:00