Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-148982

Map color for wheat is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.2, 1.15.1, 1.16.1, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w05a, 21w06a, 21w07a, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17, 1.17.1 Pre-release 2, 1.17.1, 21w37a, 21w39a, 21w40a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18, 1.18.1, 22w05a, 1.18.2, 22w11a, 22w12a, 22w13a, 22w15a, 22w16b, 1.19 Pre-release 3, 1.19 Pre-release 4, 1.19 Release Candidate 1, 1.19 Release Candidate 2, 1.19, 1.19.1 Pre-release 1, 1.19.1 Pre-release 2, 1.19.1, 1.19.2, 22w42a, 22w43a, 1.19.3, 23w07a, 1.19.4, 23w12a, 23w13a, 23w14a, 23w17a, 23w18a, 1.20 Pre-release 4, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.2, 23w44a, 1.20.4
    • Confirmed
    • Maps
    • Low
    • Gameplay

      Map color for wheat is incorrect

      Code Analysis

      Code Analysis done by Thumpbacker
      In the Blocks class wheat has no material color so giving it a material color like show below fixes it

      net/minecraft/world/level/block/Blocks.java
      public static final Block WHEAT = register("wheat", new CropBlock(BlockBehaviour.Properties.of(Material.PLANT, MaterialColor.COLOR_YELLOW).noCollission().randomTicks().instabreak().sound(SoundType.CROP)));
      

        1. 2019-04-21_20.42.21.png
          2019-04-21_20.42.21.png
          2.32 MB
        2. 2019-04-21_20.42.30.png
          2019-04-21_20.42.30.png
          1.33 MB
        3. MC-148982.mp4
          4.60 MB
        4. MC-148982.png
          MC-148982.png
          75 kB

            Unassigned Unassigned
            Kidfury Skull_fury000
            Votes:
            24 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              CHK: