Skip to content

1.14-1.16.4: tall grass is fire, need per-version block states #467

@iceiix

Description

@iceiix

Connecting to a 1.14 or later server (tested on 1.16.4), the tall grass (as opposed to the grass block) is shown as fire:

Screen Shot 2021-01-10 at 3 03 32 PM

Here's how it looks officially:

Screen Shot 2021-01-10 at 3 04 32 PM

with the "targeted block" = minecraft:grass. This is misinterpreted as fire, due to block state shifts in the 1.14 updates after the 1.13 Flattening.

Noted in #453

in blocks/src/lib.rs:

    TallGrass {
        props {
            variant: TallGrassVariant = [
                TallGrassVariant::DeadBush,
                TallGrassVariant::TallGrass,
                TallGrassVariant::Fern
            ],
        },
        data Some(variant.data()),
        material material::NON_SOLID,
        model { ("minecraft", variant.as_string() ) },
        tint TintType::Grass,
        collision vec![],
    }

https://minecraft.gamepedia.com/Grass
https://wiki.vg/Chunk_Format#Full_chunk

Block states:
https://wiki.vg/Data_Generators#Blocks_report
https://github.com/PrismarineJS/minecraft-data/blob/master/data/pc/1.13/blocks.json#L2936

  {
    "id": 94,
    "displayName": "Grass",
    "name": "grass",
    "hardness": 0,
    "minStateId": 1041,
    "maxStateId": 1041,
    "states": [],
    "drops": [
      76
    ],
    "diggable": true,
    "transparent": false,
    "filterLight": 15,
    "emitLight": 0,
    "boundingBox": "empty",
    "stackSize": 64,
    "material": "plant",
    "defaultState": 1041
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions