Skip to content

🐛 brightness overrides exports a float instead of an int #507

@TheAfroOfDoom

Description

@TheAfroOfDoom

🛑 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

expected data type for the brightness sub-fields is int, not float.

(https://minecraft.wiki/w/Display)

Image

⚠️ Error Message

🔄️ How to Reproduce

  1. override the brightness for a bone-variant
  2. open exported mcfunction file
  3. notice incorrect f (float) suffix

✅ Expected Behavior

should export the block and sky fields as int

💡 Solutions & Alternatives

No response

🟩 Minecraft Version

1.21.4

🟦 Blockbench Version

5.1.4

💻 Operating System

Windows

📃 Installed Blockbench Plugins

No response

⛰️ Minecraft Environment

MC version 26.1.2

Metadata

Metadata

Assignees

Labels

🐛 BugSomething isn't working

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