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"
}
In
BlockStatePropertypredicate,propertiesfield is of typeBlockPredicate, whereas in vanilla it would be aPropertiesPredicate:trove/src/main/java/net/goldenstack/loot/LootPredicate.java
Line 143 in 799ea57
To work around this issue, we are forced to write
instead of