[MC-8231] Mycelium and podzol cannot be tilled with hoes Created: 24/Jan/13  Updated: 07/Dec/24

Status: Reopened
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w03a, Snapshot 13w04a, 1.15.2, 20w08a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Release Candidate 2, 1.17, 1.17.1, 21w40a, 21w41a, 21w42a, 21w44a, 1.18 Pre-release 1, 1.18 Release Candidate 3, 1.18, 1.18.1, 22w03a, 22w05a, 22w07a, 1.18.2 Release Candidate 1, 1.18.2, 22w12a, 22w14a, 1.19 Pre-release 1, 1.19 Release Candidate 2, 1.19, 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 23w33a, 24w11a, 24w20a, 1.21, 1.21.1, 24w36a, 1.21.2 Pre-Release 3, 1.21.3, 1.21.4
Fix Version/s: None

Type: Bug
Reporter: [Mod] Avoma Assignee: Unassigned
Resolution: Unresolved Votes: 32
Labels: mycelium, podzol

Attachments: File MC-8231.mp4     PNG File setup.png     PNG File tilling grasslike blocks.png    
Issue Links:
Duplicate
is duplicated by MC-11962 Mycelium can't be tilled using a hoe Resolved
is duplicated by MC-252304 Cannot turn podzol to farmland Resolved
Relates
relates to MCPE-183569 You are unable to till Mycelium and p... Open
relates to MC-213770 Cannot till rooted dirt into farmland Resolved
CHK:
Confirmation Status: Confirmed
Category:
Block states, Items
Mojang Priority: Normal
ADO: 1261971
Area: Gameplay

 Description   

The Bug:

Mycelium and podzol cannot be tilled with hoes.

Steps to Reproduce:

  1. Build the setup as shown in the attachment below. setup.png
  2. Obtain a hoe and use it on all six blocks.
  3. Take note as to what blocks you can use the hoe on and what blocks you can't.

Observed Behavior:

Mycelium and podzol cannot be tilled with hoes.

Expected Behavior:

Mycelium and podzol would be able to be tilled with hoes.

Code Analysis:

Code analysis by Avoma can be found below.

The following is based on a decompiled version of Minecraft 1.18.1 using MCP-Reborn.

net.minecraft.world.item.HoeItem.java
public class HoeItem extends DiggerItem {
   protected static final Map<Block, Pair<Predicate<UseOnContext>, Consumer<UseOnContext>>> TILLABLES = Maps.newHashMap(ImmutableMap.of(Blocks.GRASS_BLOCK, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.FARMLAND.defaultBlockState())), Blocks.DIRT_PATH, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.FARMLAND.defaultBlockState())), Blocks.DIRT, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.FARMLAND.defaultBlockState())), Blocks.COARSE_DIRT, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.DIRT.defaultBlockState())), Blocks.ROOTED_DIRT, Pair.of(($$0) -> {
      return true;
   }, changeIntoStateAndDropItem(Blocks.DIRT.defaultBlockState(), Items.HANGING_ROOTS))));
   ...

If we look at the above class, we can see that you can only use hoes on grass blocks, dirt paths, dirt, coarse dirt, and rooted dirt. Both mycelium and podzol aren't included within this particular piece of code, resulting in this problem occurring.

Potential Fix:

Simply adding that mycelium and podzol can be tilled with hoes to this piece of code should resolve this problem. The correct line of code within its class should look something like the following:

net.minecraft.world.item.HoeItem.java
public class HoeItem extends DiggerItem {
   protected static final Map<Block, Pair<Predicate<UseOnContext>, Consumer<UseOnContext>>> TILLABLES = Maps.newHashMap(ImmutableMap.of(Blocks.GRASS_BLOCK, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.FARMLAND.defaultBlockState())), Blocks.DIRT_PATH, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.FARMLAND.defaultBlockState())), Blocks.DIRT, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.FARMLAND.defaultBlockState())), Blocks.MYCELIUM, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.FARMLAND.defaultBlockState())), Blocks.PODZOL, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.FARMLAND.defaultBlockState())), Blocks.COARSE_DIRT, Pair.of(HoeItem::onlyIfAirAbove, changeIntoState(Blocks.DIRT.defaultBlockState())), Blocks.ROOTED_DIRT, Pair.of(($$0) -> {
      return true;
   }, changeIntoStateAndDropItem(Blocks.DIRT.defaultBlockState(), Items.HANGING_ROOTS))));
   ...


 Comments   
Comment by Connor Steppie [ 25/Aug/23 ]

Related to MC-204127.

Comment by esoij [ 05/Jun/22 ]

Can confirm in 1.19-rc2

Comment by [Mod] Avoma [ 11/Oct/21 ]

Can confirm this behavior in 21w40a. Here are some extra details regarding this problem.

The Bug:

Mycelium and podzol cannot be tilled with hoes.

Steps to Reproduce:

  • Build the setup as shown in the attachment below. setup.png
  • Obtain a hoe and use it on all six blocks.
  • Take note as to what blocks you can use the hoe on and what blocks you can't.

Observed Behavior:

Mycelium and podzol cannot be tilled with hoes.

Expected Behavior:

Mycelium and podzol would be able to be tilled with hoes.

Comment by [Mod] ampolive [ 03/Aug/21 ]

It might have been intended in the past, but with the changes to dirt path in 1.17 it has become more illogical that mycelium and podzol cannot be tilled, since they're dirt variants.

Comment by 00001H [ 03/Aug/21 ]

Why is it intended?It still won't stop players turning it into farmland.

Way No.1:

(1)use shovel on it to turn it into dirt path.(old name:grass path)

(2)till the dirt path

Way No.2:

(1)Break with hand

(2)Place the dirt block

(3)till the dirt block

Comment by Brevort [ 13/Jun/21 ]

This is intended I think.

Sources: https://www.minecraft.net/en-us/article/block-week-mycelium

https://www.minecraft.net/en-us/article/block-week-podzol

Comment by [Mod] Avoma [ 04/Feb/21 ]

Can confirm in 21w05b.

Comment by Connor Steppie [ 04/Nov/20 ]

Considerably more important given the recent grass path changes

Comment by Jukitsu [ 03/Oct/20 ]

Can someone update the description ? The way it is formulated is kind of weird and cringy :/

Comment by bugsbugsbugs [ 01/Oct/20 ]

I’d like to request ownership of this ticket. The original reporter hasn’t been active since March 2013.

Comment by [Mod] violine1101 [ 24/Feb/20 ]

Reopened, as the wiki is not a valid WAI source (or at least not anymore)

Comment by ziggurism [ 05/Sep/15 ]

This bug also applies to podzol, which is also not tillable. Also works as designed, I suppose.

Comment by Kumasasa [ 24/Jan/13 ]

Mycelium is not tillable, see http://www.minecraftwiki.net/wiki/Mycelium

Generated at Sun Jan 12 12:17:06 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.