Skip to content

πŸ› Generated datapack uses unsupported @n selector in Minecraft 1.20.4Β #429

@Sea-cl0g

Description

@Sea-cl0g

πŸ›‘ Before you Start

  • I have searched existing bug reports for my problem.
  • I have read the F-A-Q.
  • I am using the latest version of Animated Java
  • I will only report a single bug in this report. If I have found multiple bugs, I will create a separate report for each one.

πŸ—£οΈ Describe the bug

When exporting a project that includes any block_display and a locator with "Use Entity" enabled and a specified entity type, all block_display entities are summoned at the same position in Minecraft.

⚠️ Error Message

πŸ”„οΈ How to Reproduce

  1. Add a locator to the project.
  2. Enable "Use Entity" on a locator and specify any entity type
  3. To test this bug, include any object (e.g., block_display) in the project
  4. Export the project to Minecraft
  5. Reload the datapack and resource pack in Minecraft, then summon the exported project

βœ… Expected Behavior

A project created in Blockbench should be summoned in Minecraft, and objects such as block_display added for testing should appear at their intended positions.

πŸ’‘ Solutions & Alternatives

This issue is likely caused by the use of the @n selector when summoning entities associated with locators in the generated datapack.
As of Minecraft 1.20.4, @n is not a valid selector.

🟩 Minecraft Version

1.20.4

🟦 Blockbench Version

1.7.3

πŸ’» Operating System

Windows

πŸ“ƒ Installed Blockbench Plugins

  • CEM Template Loader
  • Animated Java

⛰️ Minecraft Environment

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions