Class ChunkRenderTypeSet

java.lang.Object
net.minecraftforge.client.ChunkRenderTypeSet
All Implemented Interfaces:
Iterable<RenderType>
Direct Known Subclasses:
ChunkRenderTypeSet.All, ChunkRenderTypeSet.None

public sealed class ChunkRenderTypeSet extends Object implements Iterable<RenderType> permits ChunkRenderTypeSet.None, ChunkRenderTypeSet.All
An immutable ordered set (not implementing Set) of chunk render types.

Considerably speeds up lookups and merges of sets of chunk render types. Users should cache their instances of this class whenever possible, as instantiating it is cheap, but not free.