ClassCastException when setting DataComponentTypes.ITEM_MODEL on an item #11688
Labels
status: accepted
Disputed bug is accepted as valid or Feature accepted as desired to be added.
version: 1.21.3
Game version 1.21.3
Expected behavior
I'm trying to set a model on an item using the new component API, specifically
DataComponentTypes.ITEM_MODEL
.I would expect it to set the component
Observed/Actual behavior
Using the new paper component api for ITEM_MODEL causes the following ClassCastException error to happen instead of setting the component:
Steps/models to reproduce
Run the following code:
Plugin and Datapack List
Plugins (1): TestPlugin
Paper version
This server is running Paper version 1.21.3-74-master@47f2071 (2024-11-29T16:26:16Z) (Implementing API version 1.21.3-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.3-67-d38624b (MC: 1.21.3)
Other
The error seems pretty straight-forward idk
The text was updated successfully, but these errors were encountered: