Object CodecExt

  • All Implemented Interfaces:

    
    public class CodecExt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static CodecExt INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <T extends Any, A extends Any> T tryEncode(Codec<A> $self, DynamicOps<T> ops, A data)
      final <T extends Any, A extends Any> A tryDecode(Codec<A> $self, DynamicOps<T> ops, T data)
      final <T extends Any, A extends Any> T encodeOrThrow(Codec<A> $self, DynamicOps<T> ops, A data)
      final <T extends Any, A extends Any> A decodeOrThrow(Codec<A> $self, DynamicOps<T> ops, T data)
      final <A extends Any> Tag tryEncodeNbt(Codec<A> $self, A data)
      final <A extends Any> A tryDecodeNbt(Codec<A> $self, Tag data)
      final <A extends Any> Tag encodeNbtOrThrow(Codec<A> $self, A data)
      final <A extends Any> A decodeNbtOrThrow(Codec<A> $self, Tag data)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait