Class EncoderCache

java.lang.Object
net.minecraft.util.EncoderCache

public class EncoderCache extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static final record 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final com.google.common.cache.LoadingCache<EncoderCache.Key<?,?>,com.mojang.serialization.DataResult<?>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EncoderCache(int p_341936_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <A> com.mojang.serialization.Codec<A>
    wrap(com.mojang.serialization.Codec<A> p_341888_)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • cache

      final com.google.common.cache.LoadingCache<EncoderCache.Key<?,?>,com.mojang.serialization.DataResult<?>> cache
  • Constructor Details

    • EncoderCache

      public EncoderCache(int p_341936_)
  • Method Details

    • wrap

      public <A> com.mojang.serialization.Codec<A> wrap(com.mojang.serialization.Codec<A> p_341888_)