Spigot // FoodLol | [1.14] | [Custom Food Textures] \\ 1.14.4.a.2

Add fully custom food into the game.

  1. Video: (Much Lagged because i don't have a program to record screen, then i use the google)

    1 - In the video i am dropping the fish on ground, but it can happen's without dropping on ground.
    2 - I am using the plugin CustomRecipes to it.
    3 - The same of 2

    The items only stack when you take one from the ground.
     
  2. 1. I believe I fixed this in the most recent release.
    2. I can't fix this issue because CustomRecipes isn't my plugin.
    3. I don't understand.
     
  3. Thanks for everything! You're really one of the best developers I've ever seen.
     
  4. Last post!
    The bug has no been fixed, and i am receiving this on console:

    "[00:13:49 ERROR]: Could not pass event PlayerPickupItemEvent to FoodLol v1.4.7
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.EntityItem.d(EntityItem.java:331) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.EntityHuman.c(EntityHuman.java:418) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.EntityHuman.n(EntityHuman.java:393) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.EntityLiving.B_(EntityLiving.java:1944) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.EntityHuman.B_(EntityHuman.java:145) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.EntityPlayer.playerTick(EntityPlayer.java:304) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.PlayerConnection.e(PlayerConnection.java:139) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:233) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:140) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:845) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
    Caused by: java.lang.NullPointerException
    at me.TheTealViper.foodlol.Utils.ItemCreator.giveCustomItem(ItemCreator.java:167) ~[?:?]
    at me.TheTealViper.foodlol.Utils.ItemCreator.onPickup(ItemCreator.java:155) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.2.jar:git-Spigot-549c1fa-45c8386]
    ... 17 more"
     
  5. 1. I'm assuming you're getting this error because of your customcrafting plugin. I tried a new fix in the newest update but to be honest I don't think it will help. Your other plugins just conflict.
     
  6. This looks really neat. I'm wondering if you are planning on updating it so it doesn't use the Minecraft IDs soon, so that it will work with 1.13 when it comes out. I'm also wondering if you could add a reload button, so that it we don't need to restart the server.
     
  7. Well rumor has it spigot will possibly be implementing a sort of hack where you can continue using the numbers rather than the id's and spigot will know that you are outdated and suck at coding and try to fix it for you :p Also, there's your reload button
     
  8. Wow! You're fast. And awesome.
    Can you help me figure out what is going wrong? Here's my text.
    Taco:
    health: 0
    hunger: 3
    id: "144:0"
    name: "taco"
    lore:
    - "Delicious Taco."
    flags:
    - "HIDE_ATTRIBUTES"
    - "HIDE_UNBREAKABLE"
    tags:
    - "skulltexture:<ea1f3585f54849b41da5d326a943956a25494364bb961d2458c430be9a6b27>"

    Here's my error message:
    [23-12-2017 22:27:20] MsKnockleby issued server command: /foodlol give MsKnockleby Taco
    [23-12-2017 22:27:20] null
    [23-12-2017 22:27:20] org.bukkit.command.CommandException: Unhandled exception executing command 'foodlol' in plugin FoodLol v1.4.7
    [23-12-2017 22:27:20] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:649) ~[custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_65]
    [23-12-2017 22:27:20] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_65]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] at java.lang.Thread.run(Unknown Source) [?:1.8.0_65]
    [23-12-2017 22:27:20] Caused by: java.lang.NullPointerException
    [23-12-2017 22:27:20] at me.TheTealViper.foodlol.Utils.ItemCreator.giveCustomItem(ItemCreator.java:167) ~[?:?]
    [23-12-2017 22:27:20] at me.TheTealViper.foodlol.FoodLol.onCommand(FoodLol.java:230) ~[?:?]
    [23-12-2017 22:27:20] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[custom.jar:git-Spigot-549c1fa-2ee49b4]
    [23-12-2017 22:27:20] ... 15 more
     
  9. Is this happening on a fresh start or after reloads or both
     
  10. It happened on the fresh start with the version before the one with the reload. Now I'm managing to get skulls, but no texture to them. I have tried:

    tags:
    - "skulltexture:<98ced74a22021a535f6bce21c8c632b273dc2d9552b71a38d57269b3538cf>"

    tags:
    - "skulltexture:98ced74a22021a535f6bce21c8c632b273dc2d9552b71a38d57269b3538cf"

    tags:
    - skulltexture:98ced74a22021a535f6bce21c8c632b273dc2d9552b71a38d57269b3538cf
     
  11. As for the error code, I'm not too sure off the top of my head what that is. As for the skull texture, the second way would be the one I recommend. One thing that stands out to me is rather than

    Taco:
    health: 0
    hunger: 3
    id: "144:0"
    name: "taco"
    lore:
    - "Delicious Taco."
    flags:
    - "HIDE_ATTRIBUTES"
    - "HIDE_UNBREAKABLE"
    tags:
    - "skulltexture:<ea1f3585f54849b41da5d326a943956a25494364bb961d2458c430be9a6b27>"

    it should be formatted like

    Taco:
    health: 0
    hunger: 3
    id: "144:0"
    name: "taco"
    lore:
    - "Delicious Taco."
    flags:
    - "HIDE_ATTRIBUTES"
    - "HIDE_UNBREAKABLE"
    tags:
    - "skulltexture:<ea1f3585f54849b41da5d326a943956a25494364bb961d2458c430be9a6b27>"
     
  12. Alas, the spigot thread erases the spaces at the beginning, so I cannot see what you were recommending I change!
     
  13. Oh god damnit haha. Replace the periods with spaces

    Taco:
    .health: 0
    .hunger: 3
    .id: "144:0"
    .name: "taco"
    .lore:
    ..- "Delicious Taco."
    .flags:
    ..- "HIDE_ATTRIBUTES"
    ..- "HIDE_UNBREAKABLE"
    .tags:
    ..- "skulltexture:ea1f3585f54849b41da5d326a943956a25494364bb961d2458c430be9a6b27"
     
  14. Do you mind add potion effect :)
     
  15. Is this normal if when I eat a lollipop on the default config, that give me 4 sticks ? The config is made for give only one stick no ?
     
  16. Do you mind add command on eat