Skip to content

Road schematics lose Player Head textures and Banner patterns during road generation #4894

Description

@NoltoxGit

Server Implementation

Paper

Server Version

1.21.11

Describe the bug

Actual server version: 26.1.2
I selected 1.21.11 because 26.1.2 is not listed in the form.

When PlotSquared generates roads from road schematics, Player Heads and Banners lose their custom block data.

After regenerating the world:

  • Player Heads become default Steve heads.
  • Banners lose their patterns and revert to their base appearance.

However, the generated schematic files seem to be correct. If I manually paste the same schematics from genroadschematics/ with FastAsyncWorldEdit, the Player Head textures and Banner patterns are restored correctly.

So the issue seems to happen during PlotSquared road generation, not during schematic creation.

This may be related to #4026, but the issue still happens on 7.5.13-Premium.

To Reproduce

  1. Create a PlotSquared world.
  2. Build roads containing custom Player Heads and patterned Banners.
  3. Run /plot createroadschematic.
  4. Delete the world.
  5. Generate the world again using the generated road schematics.
  6. Check the generated roads.

Expected behaviour

Player Heads should keep their custom textures.

Banners should keep their patterns.

The generated roads should match the original roads.

Screenshots / Videos

https://youtu.be/Y8xNN2G-En4?si=-MzmHmawaEcu0xu7

Error log (if applicable)

No console error.

Plot Debugpaste

/plot debugpaste fails with:

Server returned status: 413 Entity Too Large

Alternative debug information:

PlotSquared Version

7.5.13-Premium

Checklist

Anything else?

The issue was reproduced with only these plugins installed:

  • plotsquared-bukkit-7.5.13-Premium
  • FastAsyncWorldEdit-Paper-2.15.2
  • worlds-4.2.2-all

Example Player Head block data:

minecraft:player_head[profile={id: [I; 67411088, -739686879, -1666252800, -1432022127], name: "", properties: [{name: "textures", value: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTAzYTk0ZGY4YzNjZTlhZjY2NGE3MzkyN2Q1NzhhOGRjN2YyZjc3ZmNkNmI1MzM4MjFjOGViODdlYTQzZmMzNSJ9fX0="}]}]

Example Banner block data:

minecraft:black_banner[banner_patterns=[{color: "red", pattern: "minecraft:border"}, {color: "white", pattern: "minecraft:half_horizontal_bottom"}]]

Schematics roads file: schematics.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Requires TestingThis is a new issue which needs to be approved before labeled with "bug"

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions