-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Labels
status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.Disputed bug is accepted as valid or Feature accepted as desired to be added.version: 1.21.10Game version 1.21.10Game version 1.21.10
Description
Expected behavior
Using the ItemMeta API to set Axolotl or TropicalFish meta does not work.
var bucket = new ItemStack(Material.TROPICAL_FISH_BUCKET);
TropicalFishBucketMeta meta = (TropicalFishBucketMeta) bucket.getItemMeta();
meta.setPattern(TropicalFish.Pattern.KOB);
meta.setBodyColor(DyeColor.RED);
meta.setPatternColor(DyeColor.WHITE);
bucket.setItemMeta(meta);
Should spawn a fish with those properties
Observed/Actual behavior
The fish spawns random instead.
The same using the DataComponent API works fine.
Steps/models to reproduce
See above
Plugin and Datapack List
Not relevant
Paper version
1.21.10-113
Other
No response
Metadata
Metadata
Assignees
Labels
status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.Disputed bug is accepted as valid or Feature accepted as desired to be added.version: 1.21.10Game version 1.21.10Game version 1.21.10