Commit Graph

30 Commits

Author SHA1 Message Date
BONNe
5e94aa71da Add missing mob heads. 2021-09-20 12:16:30 +03:00
BONNe
aa4bb3d8e4 Update missing icons for blocks.
Some blocks cannot be displayed in GUI's, and were leaving empty spaces.
This replaces their icon with a close representative.

Fixes #286
2021-09-20 11:49:39 +03:00
BONNe
2bc71b5f52 Clean up Constants a bit. 2021-09-19 21:04:09 +03:00
BONNe
3ee89af5df Update all admin panels.
Admin panels will not contain better locales codding and easier-to-improve design.

Remove old and unused GUIs.
2021-09-18 12:56:44 +03:00
BONNe
6a79351685 Add 1.15.2 Compaitbility issue with pig_zombie egg. 2020-07-09 23:03:52 +03:00
BONNe
fcb7634079 Downgrade to 0.8.3 version.
Added 1.16 entities to HeadLib.
Update to released BentoBox version.
2020-07-09 22:45:23 +03:00
BONNe
fdafce0b86 Add bee head in HeadLib 2020-05-08 09:48:07 +03:00
BONNe
5a0d63a272 Add option to quit from conversation by writing "cancel" in chat.
Move sanitizeInput to a GuiUtil class.
2020-04-22 01:12:46 +03:00
tastybento
9d45f08fb1 Test coverage (#199)
* Test coverage for Challenges Command

* Added CompleteChallengeCommand test class

* Added Utils test class

* Added ChallengesGUI test class

* Fix code smells from sonarcloud analysis

* Added .gitignore

* Added Travis CI config file

* WIP ChallengesManager Test class

* Added ChallengesManager test class

* Removed debug

* Removed code smells.

* Added ChallengesAddon test class.

* Added onDisbale test

* Added new TryToComplete test class - WIP

Covers inventory challenges.

* Added Island Challenge entity tests to TryToComplete test class
2019-10-30 08:44:26 +02:00
tastybento
2aa437f071 English update (#193)
* Organized imports

* Minor code cleanup

* Updated English locale file.
2019-10-10 08:35:25 +03:00
BONNe
e900f1e665 Add generic methods that allows to get next or previous elements in given array. 2019-09-05 13:23:19 +03:00
BONNe
fd4a19bcb1 Add 1.14 mob types to HeadLib. 2019-09-04 09:49:58 +03:00
BONNe
dea71358ae
Update Utils.java
Avoid null-pointer issue if given item-list contains null elements.
The issue is still that list contains these elements.
2019-08-11 18:12:56 +03:00
BONNe1704
e9f9b1b8d5 Rework how challenges are stored.
This is old change that was declined (#105), but unfortunately it is necessary.
If every ID is based on world names, than addon cannot process "/" in it. It mean that worlds cannot be put into different folders.
This change will fix it, but it is not completed.

In progress.
There does not exist converter, so old data is not usable with this version.
2019-08-01 13:19:15 +03:00
BONNe
a7f9e01d61 Fix issue when unstackable items flood challenge description (#135) 2019-06-16 15:57:05 +03:00
BONNe
f18c8d0dff Remove NBT editing via NMS.
Use Dummy Mojang profiles with custom skulls, instead of editing NBT with NMS.
This will work on all versions instead of just with correct NMS hacks.
2019-05-05 17:10:10 +03:00
BONNe
a957dc3a62 Update to BentoBox API 1.4.0 2019-03-29 00:42:51 +02:00
BONNe
8f3beb4c1d Fix issue when Description separator loses selected color (#77) 2019-02-12 02:00:29 +02:00
BONNe
b2201ec48d Add ability to specify Lore line length via Settings. 2019-02-11 15:29:19 +02:00
BONNe
c28e325f40 Fix issue when in MacOS system was left line breaks symbols. 2019-01-27 13:09:36 +02:00
BONNe
d3ae242716 Remove "CR" at the end of strings. 2019-01-26 15:19:09 +02:00
BONNe
586b076860 Fix issues when Description were to long to fit in window. 2019-01-26 14:46:03 +02:00
BONNe1704
590b3f114c Rework ChallengesManager.
Implement all methods that were only placeholders.
Remove all unnecessary old methods.
Implement new methods in all classes.

User and Admin command now opens new GUI.
2019-01-23 17:30:30 +02:00
BONNe1704
1bc6bb2b76 Move LevelStatus to utils, as it is more Util then necessary class object. 2019-01-23 16:34:37 +02:00
BONNe1704
c78c690818 Remove item name from Border Items 2019-01-21 14:00:13 +02:00
BONNe
e9b20feac4 Remove unnecessary else if. 2019-01-20 19:29:55 +02:00
BONNe
7e3876f391 Fix issue when WALL_TORCH and WALL_SING was without icon. 2019-01-20 19:28:32 +02:00
BONNe1704
7b0df2d5a7 Add Material to ItemStack transformation in GuiUtils class. 2019-01-20 16:12:20 +02:00
BONNe1704
0645f7cb11 Create new class GuiUtils that contains methods, that is frequently used and can be static. 2019-01-20 15:55:12 +02:00
BONNe
433484d9f7 Add new enum HeadLib that contains library with all mob heads from Minecraft. 2019-01-19 15:49:54 +02:00