/* * Decompiled with CFR 0.152. */ package net.minecraft.world.level.chunk; import java.util.List; import java.util.function.Predicate; import net.minecraft.core.IdMap; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.world.level.chunk.PaletteResize; public interface Palette { public int idFor(T var1, PaletteResize var2); public boolean maybeHas(Predicate var1); public T valueFor(int var1); public void read(FriendlyByteBuf var1, IdMap var2); public void write(FriendlyByteBuf var1, IdMap var2); public int getSerializedSize(IdMap var1); public int getSize(); public Palette copy(); public static interface Factory { public Palette create(int var1, List var2); } }