Class HTEitherStreamCodec

  • All Implemented Interfaces:
    net.minecraft.network.codec.StreamCodec , net.minecraft.network.codec.StreamDecoder , net.minecraft.network.codec.StreamEncoder

    
    public final class HTEitherStreamCodec<B extends ByteBuf, A extends Object, B1 extends Object>
     implements StreamCodec<B, Either<A, B1>>
                        

    Either向けのStreamCodecの実装クラスです。

    Since:

    0.5.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      HTEitherStreamCodec(StreamCodec<in B, A> left, StreamCodec<in B, B1> right)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Either<A, B1> decode(B buffer)
      Unit encode(B buffer, Either<A, B1> value)
      • Methods inherited from class net.minecraft.network.codec.StreamCodec

        apply, cast, dispatch, map, mapStream
      • Methods inherited from class java.lang.Object

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