Spigot TileDataSaver 1.0.9

Saves tile block data when placed and restores it when mined. Fixes heads lose attributes bug

  1. LoneDev


    LoneDev submitted a new resource:

    TileDataSaver - Saves tile block data when placed and restores it when mined

    Read more about this resource...
  2. I test this with and get this Error if i try to Break an Player Head:

    [22:12:39 ERROR]: Could not pass event BlockBreakEvent to TileDataSaver v1.0
    java.lang.NoSuchMethodError: org.bukkit.block.Block.getDrops(Lorg/bukkit/inventory/ItemStack;Lorg/bukkit/entity/Entity;)Ljava/util/Collection;
    at dev.lone.TileDataSaver.Main.onBreak(Main.java:78) ~[?:?]
    at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.14.4.jar:git-Paper-243]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.14.4.jar:git-Paper-243]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.14.4.jar:git-Paper-243]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:545) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:306) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.PlayerInteractManager.a(PlayerInteractManager.java:265) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.PlayerInteractManager.a(PlayerInteractManager.java:239) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1307) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:1029) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:1022) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1088) ~[patched_1.14.4.jar:git-Paper-243]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925) ~[patched_1.14.4.jar:git-Paper-243]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
  3. LoneDev


    You're using an old 1.14 server version.
    Please update it to 1.14.4: it's important that you generate it using BuildTools.
    #3 LoneDev, Nov 19, 2020
    Last edited: Dec 14, 2020
  4. im on paper-243-1.14.4
  5. LoneDev


    Ok I understood the problem
  6. LoneDev


  7. LoneDev


    don't forget to leave a good review ;) thanks
  8. Didn't work with invisible frames....
    Please take a look into this two links



    !!!! CRITICAL FAILURE !!!!
    Ends in a shulker box dupe glitch...
    After this plugin was installed, all shulker boxes will hold their inventory.
    You can take items out or put items in. It will be resetet after you open the shulker box again.
    #9 Cantibra, Nov 21, 2020
    Last edited: Nov 21, 2020
  9. LoneDev


    • Friendly Friendly x 1
  10. looks like if a shulker box is placed down, then one puts contents into it before mining it, it drops an empty box...
    I suggest adding a toggleable list of tiles the plugin handles.
  11. LoneDev


    This plugin is intended to fix TileData not entities data, it's not a bug.
    This is a feature request.

    Which spigot version are you using?

    Anyway, I tested this and the plugin completely ignores containers like shulker boxes, so the issue is somewhere else
  12. Can you add that when u middle click on a skull u get skull with tile data saved?
    • Like Like x 1
  13. Ok... Then I try it different...
    Can you please implement the Code from Purpur to your plugin? Thats would be awesome. Thanks.


    Another Bug...
    If you break bed's, they will disappear. You can't pick em up again.
    #15 Cantibra, Nov 21, 2020
    Last edited: Nov 21, 2020
  14. Ho trovato un bug di duplicazione. Praticamente se spegni il campfire con una pala incantata e poi provi a romperlo, ti dà una pala con la stessa durabilità di prima... Non so se riesci a riprodurre il bug, nel caso provo a farti una gif così si capisce di più
  15. LoneDev


  16. When you break a bed, it does not drop the bed.
    Or well.. it does give you the bed if you remove it on the correct side of the bedblock.

  17. Is there an Option to disable this in Creative Mode
    (Because if you build /destroy in Creative all time you get the Blocks.... this fills the inv very fast.)
    • Like Like x 1
  18. Hi, have exactly same problem with breaking of bed :s

    Did you think you can patch this one day please ?