Commit Graph

11 Commits

Author SHA1 Message Date
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 584b26c7ec
Make some small changes to the latest merge request 2020-02-01 13:01:23 -06: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
SeanOMik 5639d2de82
Remove debug messages 2020-01-27 08:02:38 -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
SeanOMik 071efa181c
Finish rewrite, and release it 2020-01-26 01:05:29 -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 4fa1bef8fb Get closer to finishing the better saving and loading system 2020-01-21 10:42:42 -06:00
SeanOMik 8e731078d0
Continue work on a better saving and loading 2020-01-20 22:37:42 -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
SeanOMik 494127c7e1
Upload code 2020-01-15 22:27:46 -06:00