Class ComponentUpdatePacket

java.lang.Object
me.andreasmelone.glowingeyes.forge.common.packets.ComponentUpdatePacket

public class ComponentUpdatePacket extends Object
  • Constructor Details

    • ComponentUpdatePacket

      public ComponentUpdatePacket(net.minecraft.world.entity.player.Player player, IGlowingEyes capability)
  • Method Details

    • encode

      public void encode(net.minecraft.network.FriendlyByteBuf buffer)
    • decode

      public static ComponentUpdatePacket decode(net.minecraft.network.FriendlyByteBuf buffer)
    • messageConsumer

      public void messageConsumer(Supplier<net.minecraftforge.network.NetworkEvent.Context> ctx)