Breeding an axolotl in creative replaces the bucket of tropical fish
The Bug
When breeding an axolotl with a bucket of tropical fish it replaces the bucket of tropical fish with a water bucket
Reproduce
- Be in creative
- Get a bucket of tropical fish
- Get an axolotl
- Use the bucket of tropical fish on the axolotl
Notice the bucket of tropical fish is replaced
Expected Result
The bucket of tropical fish would stay and a new water bucket would be made similar to collecting fluids in creative
Code Analysis
Adding a check for if the player is in creative mode int userPlayerItem() method in the Axolotl class fixes this issue
Current Code
protected void usePlayerItem(Player p_149124_, InteractionHand p_149125_, ItemStack p_149126_) { if (p_149126_.is(Items.TROPICAL_FISH_BUCKET)) { p_149124_.setItemInHand(p_149125_, new ItemStack(Items.WATER_BUCKET)); } else { super.usePlayerItem(p_149124_, p_149125_, p_149126_); }
Fixed Code
protected void usePlayerItem(Player p_149124_, InteractionHand p_149125_, ItemStack p_149126_) { //Adding a check for creative mode here fixes MC-225870 if (p_149126_.is(Items.TROPICAL_FISH_BUCKET) && !p_149124_.isCreative()) { p_149124_.setItemInHand(p_149125_, new ItemStack(Items.WATER_BUCKET)); } else { super.usePlayerItem(p_149124_, p_149125_, p_149126_); } }
Linked Issues
is duplicated by6
Created Issue:
Breeding an axolotl in creative replaces the bucket of tropical fish
The Bug
When breeding an axolotl with a bucket of tropical fish it replaces the bucket of tropical fish with a water bucket
Reproduce
- Be in creative
- Get a bucket of tropical fish
- Get an axolotl
- Use the bucket of tropical fish on the axolotl
Notice the bucket of tropical fish is replaced
Expected Result
The bucket of tropical fish would stay and a new water bucket would be made similar to collecting fluids in creative
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
The Bug
When breeding an axolotl with a bucket of tropical fish it replaces the bucket of tropical fish with a water bucket
Reproduce
- Be in creative
- Get a bucket of tropical fish
- Get an axolotl
- Use the bucket of tropical fish on the axolotl
Notice the bucket of tropical fish is replaced
Expected Result
The bucket of tropical fish would stay and a new water bucket would be made similar to collecting fluids in creative
Code Analysis
Adding a check for if the player is in creative mode int userPlayerItem() method in the Axolotl class fixes this issue
Current Code
net/minecraft/world/entity/animal/axolotl/Axolotl.javaprotected void usePlayerItem(Player p_149124_, InteractionHand p_149125_, ItemStack p_149126_) { if (p_149126_.is(Items.TROPICAL_FISH_BUCKET)) { p_149124_.setItemInHand(p_149125_, new ItemStack(Items.WATER_BUCKET)); } else { super.usePlayerItem(p_149124_, p_149125_, p_149126_); }Fixed Code
net/minecraft/world/entity/animal/axolotl/Axolotl.javaprotected void usePlayerItem(Player p_149124_, InteractionHand p_149125_, ItemStack p_149126_) { //Adding a check for creative mode here fixes MC-225870 if (p_149126_.is(Items.TROPICAL_FISH_BUCKET) && !p_149124_.isCreative()) { p_149124_.setItemInHand(p_149125_, new ItemStack(Items.WATER_BUCKET)); } else { super.usePlayerItem(p_149124_, p_149125_, p_149126_); } }
Thank you for your report!
We're tracking this issue in MC-225870, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Duplicate of MC-225870.
Thank you for your report!
We're tracking this issue in MC-225870, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit
Duplicate of MC-225870.
Thank you for your report!
We're tracking this issue in MC-225870, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit
Duplicate of MC-225870.
Thank you for your report!
We're tracking this issue in MC-225870, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Duplicate of MC-225870.
Thank you for your report!
We're tracking this issue in MC-225870, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit
Thank you for your report!
We're tracking this issue in MC-225870, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Can confirm.
Confirmed.
confirmed.
Sky please don't impersonate mojang emplyees
Can confirm in 1.17.
Can confirm in 1.17.1.
Can confirm in snapshot 21w44a
Can confirm in 1.18.1.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.1.
Can confirm in 1.19.1.
Can confirm in 1.19.2.
This was fixed in 1.21 Pre-Release 1