Class FilterUpdateMessage

java.lang.Object
com.refinedmods.refinedstorage.network.FilterUpdateMessage
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class FilterUpdateMessage extends Object implements net.minecraft.network.protocol.common.custom.CustomPacketPayload
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FilterUpdateMessage(int compare, int mode, boolean modFilter, String name, int type)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(net.minecraft.network.FriendlyByteBuf buf)
     
    static void
    handle(FilterUpdateMessage message, net.neoforged.neoforge.network.handling.PlayPayloadContext ctx)
     
    net.minecraft.resources.ResourceLocation
    id()
     
    void
    write(net.minecraft.network.FriendlyByteBuf buf)
     

    Methods inherited from class java.lang.Object

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

    • ID

      public static final net.minecraft.resources.ResourceLocation ID
  • Constructor Details

    • FilterUpdateMessage

      public FilterUpdateMessage(int compare, int mode, boolean modFilter, String name, int type)
  • Method Details

    • decode

      public static FilterUpdateMessage decode(net.minecraft.network.FriendlyByteBuf buf)
    • handle

      public static void handle(FilterUpdateMessage message, net.neoforged.neoforge.network.handling.PlayPayloadContext ctx)
    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      write in interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
    • id

      public net.minecraft.resources.ResourceLocation id()
      Specified by:
      id in interface net.minecraft.network.protocol.common.custom.CustomPacketPayload