Skip to content

Data components attached to FluidStack do not persist when CODEC is used on Fabric 1.21.1 #655

@eehunter

Description

@eehunter

When attempting to store a FluidStack within a data component, I discovered that on the Fabric backend, data components attached to the FluidVariant backing that stack do not get serialized by the CODEC definded on lines 183-191 of dev.architectury.fluid.fabric.FluidStackImpl

Expected result: Data components attached to the backing FluidVariant should serialize, just like they do for the NeoForge FluidStack backend.

MC Version: 1.21.1
Architectury API Version: 13.0.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions