Skip to content

Releases: pmmp/BedrockBlockUpgradeSchema

5.0.0

03 Nov 14:27
20dd5c1
Compare
Choose a tag to compare

Changes since 4.x

  • Introduced root flattenedProperties node to permit flattening to be represented without using remappedStates.
    • This change reduces the size of many schemas by removing useless bloat. All rules that use this feature were previously using remappedStates with a null filter, which generated redundant data in many schemas.
    • Unlike remappedStates, this rule does not exclude the use of other rules for a particular block ID. This means that addedProperties, removedProperties etc should still be applied for an ID even if that ID has a flattenedProperties entry. (Basically, it should be treated the same as all the others except remappedStates).
  • Flattening rules can now make use of TAG_Byte and TAG_Int properties as well as TAG_String.
    • A new flattenedPropertyType may appear in flattening rules with value byte, int or string. If omitted, assume string.
    • flattenedValueRemaps may contain a dummy map_not_list entry for numeric types. This is a workaround for PHP's handling of objects with numeric properties and should be ignored.
    • See here and here for examples.
  • Flatten property rules may be used in more places, such as when multiple old values map to the same ID. This is the case with tallgrass. Most implementations won't need to be modified to support this.

See pmmp/PocketMine-MP@82c4166 for corresponding upgrader and schema generator changes.

4.5.0

23 Oct 17:22
7943b89
Compare
Choose a tag to compare

Changes since 4.4.0

  • Added schema for Bedrock 1.21.40.25 beta.

4.4.0

17 Sep 16:08
89e5f6e
Compare
Choose a tag to compare

Changes since 4.3.0

  • Added schema for Bedrock 1.21.30.24 beta.

4.3.0

13 Aug 18:53
Compare
Choose a tag to compare

Changes since 4.2.0

  • Added schema for Bedrock 1.21.20.24 beta.

4.2.0

13 Jun 17:30
8a32719
Compare
Choose a tag to compare

Changes since 4.1.0

  • Added schema for Bedrock 1.21.0.25 beta.

4.1.0

25 Apr 10:11
d6b10cb
Compare
Choose a tag to compare

Changes since 4.0.0

  • Added schema for Bedrock 1.20.80.24 beta.

4.0.0

05 Apr 16:20
ebd768e
Compare
Choose a tag to compare

Changes since 3.x

  • Added support for flattenedPropertyRemaps under newFlattenedName.
    • This enables new usages of newFlattenedName which aren't direct flattenings (e.g. coral colour blue -> minecraft:tube_coral)
    • This also allows a more compact representation for stuff like silver -> light_gray for coloured blocks
    • See pmmp/PocketMine-MP@16f29c7 for related changes to the schema generator and BlockStateUpgrader (most importantly here)
    • Existing schemas have been updated to use this new feature.
    • In particular, 0191_1.19.80.24_beta_to_1.20.0.23_beta.json benefited significantly from this change (before/after)

3.6.0

13 Mar 14:47
1496e27
Compare
Choose a tag to compare

Changes since 3.5.0

  • Added schema for 1.20.70.24 beta.

3.5.0

07 Feb 11:56
1ed4ba7
Compare
Choose a tag to compare

Changes since 3.4.0

  • Added schema for Bedrock 1.20.60.26 beta.

3.4.0

06 Dec 14:18
9872eb3
Compare
Choose a tag to compare

Changes since 3.3.0

  • Added schema for Bedrock 1.20.50.23 beta.