Wither roses cannot be placed on any type of nylium
The Bug:
Wither roses cannot be placed on any type of nylium.
Steps to Reproduce:
- Place down some any kind of nylium and obtain a wither rose.
- Attempt to place the wither rose on top of the nylium.
Observed Behavior:
Wither roses cannot be placed on any type of nylium.
Expected Behavior:
Wither roses would be able to be placed on any type of nylium.
Code Analysis:
Code analysis by [Mod] Anthony Cicinelli can be found below.
The following is based on a decompiled version of Minecraft ??? using Mojang mappings.
Current Code:
protected boolean mayPlaceOn(BlockState p_58248_, BlockGetter p_58249_, BlockPos p_58250_) { return super.mayPlaceOn(p_58248_, p_58249_, p_58250_) || p_58248_.is(Blocks.NETHERRACK) || p_58248_.is(Blocks.SOUL_SAND) || p_58248_.is(Blocks.SOUL_SOIL); }
Fixed Code:
protected boolean mayPlaceOn(BlockState p_58248_, BlockGetter p_58249_, BlockPos p_58250_) { return super.mayPlaceOn(p_58248_, p_58249_, p_58250_) || p_58248_.is(Blocks.NETHERRACK) || p_58248_.is(Blocks.SOUL_SAND) || p_58248_.is(Blocks.SOUL_SOIL) || p_58248_.is(BlockTags.NYLIUM); }
Allowing wither roses to be placed on blocks in the "#minecraft:nylium" tag fixes this issue.
2020-02-06, 10:34 AM
2025-01-19, 11:36 AM
30
12
crimson_nylium, placement-and-support, warped_nylium, wither_rose
20w06a - 25w03a
20w06a, 20w07a, 20w09a, 20w10a, 20w11a, 20w13a, 20w16a, 20w18a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16.1, 20w28a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 21w11a, 21w14a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w15a, 1.19, 1.19.2, 22w46a, 1.19.3, 1.19.4, 23w17a, 1.20.1, 1.21.1, 1.21.4, 25w03a
-