Class IdDispatchCodecMixin<B extends io.netty.buffer.ByteBuf, V, T>

java.lang.Object
net.fabricmc.fabric.mixin.networking.IdDispatchCodecMixin<B,V,T>
All Implemented Interfaces:
net.minecraft.network.codec.StreamCodec<B,V>, net.minecraft.network.codec.StreamDecoder<B,V>, net.minecraft.network.codec.StreamEncoder<B,V>

public abstract class IdDispatchCodecMixin<B extends io.netty.buffer.ByteBuf, V, T> extends Object implements net.minecraft.network.codec.StreamCodec<B,V>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.network.codec.StreamCodec

    net.minecraft.network.codec.StreamCodec.CodecOperation<B,S,T>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encode(B output, V value, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci, T packet)
     

    Methods inherited from class Object

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

    Methods inherited from interface net.minecraft.network.codec.StreamCodec

    apply, cast, dispatch, map, mapStream

    Methods inherited from interface net.minecraft.network.codec.StreamDecoder

    decode

    Methods inherited from interface net.minecraft.network.codec.StreamEncoder

    encode
  • Constructor Details

    • IdDispatchCodecMixin

      public IdDispatchCodecMixin()
  • Method Details

    • encode

      public void encode(B output, V value, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci, T packet)