/* * Decompiled with CFR 0.152. * * Could not load the following classes: * com.mojang.serialization.Codec * com.mojang.serialization.MapCodec */ package net.minecraft.server.dialog.body; import com.mojang.serialization.Codec; import com.mojang.serialization.MapCodec; import java.util.List; import net.minecraft.core.registries.BuiltInRegistries; import net.minecraft.util.ExtraCodecs; public interface DialogBody { public static final Codec DIALOG_BODY_CODEC = BuiltInRegistries.DIALOG_BODY_TYPE.byNameCodec().dispatch(DialogBody::mapCodec, c -> c); public static final Codec> COMPACT_LIST_CODEC = ExtraCodecs.compactListCodec(DIALOG_BODY_CODEC); public MapCodec mapCodec(); }