Skip to content

BlockStateProperty uses wrong format for properties #3

@InfiniteCoder01

Description

@InfiniteCoder01

In BlockStateProperty predicate, properties field is of type BlockPredicate, whereas in vanilla it would be a PropertiesPredicate:

"properties", BlockPredicate.CODEC.optional(), BlockStateProperty::properties,

To work around this issue, we are forced to write

"properties": {
  "state": {
    "age": "3"
  }
}

instead of

"properties": {
  "age": "3"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions