Skip to content

Right-clicking a model with a data-bearing item strips its NBT #23

@ianvrijs

Description

@ianvrijs

Describe the bug

When a player right-clicks an AdvancedModels model's hitbox while shifting and while holding a block item that carries NBT/metadata the item is placed as a plain vanilla block with all of its data stripped. For example, when placing down a textured player head while having the model's hitbox in your view, the result will be a vanilla steve head.

How to reproduce

  1. Place any model with an outlying hitbox (i.e. computer_monitor)
  2. Hold a player head with a custom texture (or any NBT-bearing block item).
  3. Right-click any block behind the model, while having the model's hitbox in your view.
  4. The head is placed but comes out blank / untextured

Screenshots / Videos

https://youtu.be/4JlEglvfY3g

Server Log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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