package asm.accessors;

import java.util.List;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.gui.hud.ChatHud;
import net.minecraft.client.gui.hud.ChatHudLine;
import net.minecraft.client.gui.hud.ChatHudLine.Visible;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Mutable;
import org.spongepowered.asm.mixin.gen.Accessor;

@Environment(EnvType.CLIENT)
@Mixin({ChatHud.class})
public interface IChatHud {
   @Mutable
   @Accessor("visibleMessages")
   void setVisibleMessages(List<Visible> list);

   @Mutable
   @Accessor("messages")
   void setMessages(List<ChatHudLine> list);
}
