ProtocolSupport / ProtocolSupportPocketIssues

Issue-tracker for ProtocolSupport pocket edition.
6 stars 0 forks source link

No flowers in flower pots #70

Closed magicus closed 2 years ago

magicus commented 5 years ago

All flower pots show up as empty.

magicus commented 5 years ago

Some tile entity remapping is needed here. On Java, potted flowers are stored as separate blocks, e.g. potted_dandelion, potted_poppy, etc.

On Bedrock, the "flower_pot" block is used, both when empty and when containting a flower. When containting a flower, the associated block entity also contains the following two values: "item" = numeric item ID for the flower "data" = the data value for the flower.

For instance, for allium, this is ID = "minecraft:red_flower" (!) = 38, data = 1.