[SPIGOT-5667] Can't add recipe without a datapack containing a recipe. Created: 09/Apr/20 Updated: 10/Apr/20 Resolved: 10/Apr/20 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Ryan Breuer | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | bug, spigot | ||
| Environment: |
OS: Win 10
|
||
| Attachments: |
|
| Version: | This server is running CraftBukkit version git-Spigot-a03b1fd-f7d6ad5 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT) |
| Guidelines Read: | Yes |
| Description |
|
It appears that a datapack of some kind (either the vanilla datapack or a new one with a single recipe) is required to exist on the server in order for Spigot/CraftBukkit to be able to add a recipe. Source for Test Plugin with a single recipe add.
Default server setup with TestPlugin:
= Plugin's recipe added successfully Vanilla Datapack disabled:
= TestPlugin's recipe does not work. See attached NullPointerException I would expect this to still add the recipe. Single recipe datapack only:
= TestPlugin's recipe works.
|
| Comments |
| Comment by Ryan Breuer [ 10/Apr/20 ] |
|
While I understand it may not be recommended to disable it, it is a feature that is currently supported and it would be nice to be able to support that for those users wishing to do so. |
| Comment by md_5 [ 10/Apr/20 ] |
|
Issue has been resolved, but I once again caution you at disabling the Vanilla datapack without a complete replacement. You will break lots of things in the server, mobs, blocks, etc |
| Comment by md_5 [ 10/Apr/20 ] |
|
The vanilla datapack is not designed to be disabled.... Removing it will break a lot of server functionality aside from recipes |