Commit Graph

44 Commits

Author SHA1 Message Date
SeanOMik e25c515d64
Print stack trace when we fail to register entity 2020-09-09 22:24:14 -05:00
SeanOMik 582a675185
Fixes #20 2020-09-06 14:48:53 -05:00
SeanOMik bcc5040c8a
Fix #19 2020-09-03 12:39:08 -05:00
SeanOMik 5ed52ff155
Update for spigot 1.16.2 2020-08-27 15:09:31 -05:00
SeanOMik 6bc79e58f1
Fix crash when foxes run from wolfs 2020-08-27 14:03:25 -05:00
SeanOMik e43cd97847
Do some more fixes, and add 1.14 in the single jar which fix 1.14 errors 2020-07-14 16:37:55 -05:00
SeanOMik 1b3c38a64e
Fix some small issues and optimize some entity goals 2020-07-14 13:51:00 -05:00
SeanOMik 304762408f
Update to 1.16.1 and also make one jar work with 1.15 and 1.16. 2020-07-14 12:51:21 -05:00
SeanOMik 034e35d473
Change version number 2020-05-03 12:38:52 -05:00
SeanOMik c90bebecf9
Fixes #13 2020-05-03 12:36:56 -05:00
SeanOMik fd9332cc54
Update in code version change log. 2020-03-30 15:02:22 -05:00
SeanOMik f754c69e72
Completely update the re-implemented plugin to how it was before.
Completely update the re-implemented plugin to how it was before.

Changelog:
 * Re-add fox naming.
 * Added an auto alternative color code translator in LanguageConfig.
 
Pretty sure this is it, now its time to create a new release!
2020-03-30 14:57:56 -05:00
SeanOMik 2f0dc9c501
Add most features back after the re-implementation removed them.
Changes:
 * Giving/taking foxes items.
 * Change taming food back to chicken.
 * Change taming food to only use sweet berries.
 * Child fox from breeding is now set to its parent fox type.
 * Added code commenting.
 * When you tame a fox it gives the player the taming advancement.

Still need to add naming.
2020-03-30 14:18:21 -05:00
SeanOMik 4bcb141a42
Merge branch 'pr/11' 2020-03-30 10:55:52 -05:00
Checkium Folf 80200cf415 Forgot to check if the fox was tamed too 2020-02-22 15:10:24 +00:00
Checkium Folf 5ac36cb9f2 Fix fox running away from players 2020-02-22 15:08:05 +00:00
Checkium Folf d2f7281a89 Fix removing items of foxes 2020-02-21 23:13:13 +00:00
Checkium Folf 6ae1170e12 New way of implementing foxes 2020-02-21 23:12:03 +00:00
SeanOMik 584b26c7ec
Make some small changes to the latest merge request 2020-02-01 13:01:23 -06:00
SeanOMik 76912d7c01
Merge pull request #3 from fuwwy 2020-02-01 12:58:31 -06:00
SeanOMik 5f83fe4896
Add warning to not use Java >11 if failed to register entity 2020-02-01 12:02:08 -06:00
Checkium Folf afef958991 EntityTamableFox recode and a few changes
- Recoded EntityTamableFox to clean the pathfinder bloat
- Removed sleeping and chosenName as this data is already handled by vanilla
- Improved some logic around interact event
- Added a config option to enable and disable the anvil name GUI
- Fixed a bug where item counts would go to zero if just one was present
2020-01-28 18:14:44 +00:00
SeanOMik a6408840b2
Add a check to see if the name is null.
Without this check I would get a null pointer when you attempt to tame a fox.
2020-01-27 18:41:18 -06:00
Checkium Folf 72db20b4ae Attempt at implementing NBT 2020-01-27 23:46:29 +00:00
SeanOMik 5639d2de82
Remove debug messages 2020-01-27 08:02:38 -06:00
SeanOMik 2f82414f8f
Remove the message saying that it doesn't support PaperMC 2020-01-26 18:06:06 -06:00
SeanOMik 6053e66e2d
Fixed a bug that would cause foxes to not be tamed after a server reboot
Also tested on PaperMC and 1.15.2 (works)
2020-01-26 17:57:21 -06:00
Draycia 0f772823d3 Cleanup imports 2020-01-26 02:09:44 -08:00
Draycia 88765de9d8 Properly fix startup on Linux 2020-01-26 02:09:34 -08:00
Draycia fc34a9e5dd Fix directory capitalisation
Fixes issue with plugin not loading on Linux
2020-01-26 01:13:01 -08:00
SeanOMik 071efa181c
Finish rewrite, and release it 2020-01-26 01:05:29 -06:00
SeanOMik eb8080796c Fix pull conflicts 2020-01-24 10:24:03 -06:00
SeanOMik ba48f8e468 Rewrite and got the custom entity replacing the EntityFox
I found out how to get my custom entity to replace the vanilla EntityFox. This should fix most of the errors people were getting.

I also rewrote the entire plugin. It saves some data with SQLite and some parts of it are cleaned up, optimized, or certain things moved in an appropriate class.
2020-01-24 10:21:13 -06:00
SeanOMik a9620bf1c9
Attempt to find a way to spawn the foxes from the saves.
Saving the data works great, I just need to find a way to spawn the fox in the world.
2020-01-21 22:32:37 -06:00
SeanOMik 4fa1bef8fb Get closer to finishing the better saving and loading system 2020-01-21 10:42:42 -06:00
SeanOMik 7db8c8b47a
Merge remote-tracking branch 'origin/master' 2020-01-20 22:39:35 -06:00
SeanOMik 8e731078d0
Continue work on a better saving and loading 2020-01-20 22:37:42 -06:00
SeanOMik 649ad02758
Start work on a more reliable way to save and load foxes 2020-01-20 22:37:25 -06:00
SeanOMik bf5cb4fdea
Create a more reliable way to save and load foxes 2020-01-20 22:37:10 -06:00
SeanOMik 1a97e1991f
Add tab completion 2020-01-20 19:13:40 -06:00
SeanOMik 3efe179e09
Rename foxes with a name tag 2020-01-18 14:34:14 -06:00
SeanOMik cd8918c7c0
Make changes to the 1.15.1 update
* Cant change plugin prefix. 
* Name fox with the AnvilGUI API.
* Disable the plugin if its not running on the correct server version.
2020-01-18 13:22:36 -06:00
Ellie 5ee1eab0b4 1.15.1
Updated for 1.15.1 (see "1.14 TRANS.xlsx" for translated methods from 1.14 to 1.15)
Added naming (after taming) supporting color codes
Changed formatting of fox names. ("(name) (tamer)") - can be disabled in config.
Showing of who tamed can be disabled in config.
Improved usability of /spawntamablefox + added alias of /tamablefox
Configurable option for tamed foxes to attack chickens and rabbits.
Customisable plugin prefix
2020-01-17 23:26:37 +00:00
SeanOMik 494127c7e1
Upload code 2020-01-15 22:27:46 -06:00