Skip to content

Schematic export must be rewritten to support 1.13+ #29

Open

Description

@Andrew-J-Larson

When exporting a song, it works fine, however... with how Minecraft works, if you have a large enough song, some note blocks have sand and gravel, but are in the air... When playing the song, the sand or gravel (or any other gravity following block) will fall after the note block plays.

The fix? Include a solid block under any blocks that can fall.

Activity

  1. Andrew-J-Larson commented on May 25, 2019

    @Andrew-J-Larson
    Author

    Also, here's a schematic to test... it has some sand that will fall as soon as a note block is played (in the zip).
    Coldplay - Clocks.zip

  2. HielkeMinecraft commented on May 26, 2019

    @HielkeMinecraft
    Collaborator

    Are you sure there is always room for a block below the gravel/sand?

  3. Andrew-J-Larson commented on May 26, 2019

    @Andrew-J-Larson
    Author
  4. rsp4jack commented on May 31, 2019

    @rsp4jack

    I have encountered similar problems.
    Most of the time, there is a block of space under the sand and each time the note box is activated, it falls onto another note box.

  5. added
    C: Bug
    on Jun 28, 2019
  6. HielkeMinecraft commented on Jul 28, 2019

    @HielkeMinecraft
    Collaborator

    Placing a block under the sand or gravel won't be a solution. When working with multiple layers, there are note blocks under the top ones. So placing a support block under the top ones would mute the lower note block's sound.

    As you can see here: (bedrock = support)
    2019-07-28_20 17 14

    This issue used to be not a problem, because clay would make the same sound as gravel/sand. But alas, here we are.

    Only way to fix this is to write it in the note block's block state. This does persist after being powered by redstone, but it will reset when the block under it is broken. Not bad.

    2 problems with this approach.

    • Minecraft
      You can't store instrument type before Minecraft 1.13. So <1.13 you must set the block below the note block.
      We can fix this by just using clay when using Minecraft 1.12 and below.

    • The .schematic format
      This format hasn't been updated in years, so it won't save stuff like block states >1.13.
      We can resolve this by ditching .schematic and switching over to the newer .schem format. This newer format is from worldedit itself and supports the latest versions.

    Edit: Switching formats doesn't seem like a good option too.

    Another way to fix this is by making the schematic file bigger and having more space between the note blocks. This is kind of a dirty fix and I don't think this is the best way to go.

  7. rsp4jack commented on Jul 29, 2019

    @rsp4jack

    You can try to sign.

  8. Andrew-J-Larson commented on Jul 29, 2019

    @Andrew-J-Larson
    Author
  9. Andrew-J-Larson commented on Jul 29, 2019

    @Andrew-J-Larson
    Author
  10. HielkeMinecraft commented on Jul 29, 2019

    @HielkeMinecraft
    Collaborator

    Signs don't work. I placed a sign above a note block, and it still wasn't able to play.

    And slime blocks don't work either, because falling blocks will fall even if they are attached to slime.

  11. Andrew-J-Larson commented on Jul 29, 2019

    @Andrew-J-Larson
    Author
  12. HielkeMinecraft commented on Jul 30, 2019

    @HielkeMinecraft
    Collaborator

    The bad part about switching formats is that the schematics won't work with MCEdit anymore...
    But that's what you get when you don't update your program in years.

  13. AlsoScratch commented on Jul 30, 2019

    @AlsoScratch

    The bad part about switching formats is that the schematics won't work with MCEdit anymore...
    But that's what you get when you don't update your program in years.

    What's the problem with WorldEdit?

  14. HielkeMinecraft commented on Jul 30, 2019

    @HielkeMinecraft
    Collaborator

    It only uses the .schematic format.

    I've discovered that switching to .schem isn't an option anyway, because WorldEdit for older versions of Minecraft only support .schematic. Ugh.
    This is getting real difficult.

  15. 1 remaining item

  16. HielkeMinecraft commented on Jul 30, 2019

    @HielkeMinecraft
    Collaborator

    That would work just fine, but then schematic export would only work for Minecraft 1.13 and up. And I think people aren't too thrilled with that.

  17. rsp4jack commented on Jul 30, 2019

    @rsp4jack

    That would work just fine, but then schematic export would only work for Minecraft 1.13 and up. And I think people aren't too thrilled with that.

    Can you create a new feature to create a structure for Minecraft above 1.13?

  18. HielkeMinecraft commented on Jul 30, 2019

    @HielkeMinecraft
    Collaborator

    Yeah that's possible. But it would make it kind of confusing for people. (.schematic <1.13 and .schem >1.13) There must be a better way. It's better to handle both the same way.

  19. untuned commented on Aug 24, 2019

    @untuned

    Why not increase the distance between layers, and then add a support block?

  20. Andrew-J-Larson commented on Aug 24, 2019

    @Andrew-J-Larson
    Author
  21. Quent12b0 commented on Jan 3, 2020

    @Quent12b0

    I've got the same issue, but I use this command block system. (French video)

    https://www.youtube.com/watch?v=jLQWplYyKfY

  22. Quent12b0 commented on Jan 3, 2020

    @Quent12b0

    Other solution: place your percussion layer at the top on the studio (layer 1 or 2).

  23. changed the title [-][BUG] Songs that use Sand, Gravel[/-] [+]Schematic export must be rewritten to support 1.13+[/+] on Jul 4, 2020
  24. pinned this issue on Jul 4, 2020
  25. added this to the v4.0 milestone on Jul 4, 2020
  26. Yanchen-wang commented on Jan 11, 2021

    @Yanchen-wang

    instead of the compact note block layers make an option to make a flat plane where there are several different lines of noteblocks, or even multiple plains

  27. Andrew-J-Larson commented on Jan 11, 2021

    @Andrew-J-Larson
    Author

    That would be an easy thing to implement too.

  28. Pepe20129 commented on Jul 22, 2021

    @Pepe20129

    Something to consider would be to use the .litematic format for schematics in 1.13+ as Litematica is a mod that has widely replaced Schematica in 1.13+, it supports block states & the MCEdit/Schematica .schematic format with support for the Worldedit/Sponge format coming soon.

  29. OctoFlareDev commented on Aug 18, 2021

    @OctoFlareDev
    Collaborator

    Using structure blocks won't solve the issue because the structure block updates all note block instruments when loading in.

  30. unpinned this issue on Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

C: Bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions