Interface SelfHandlingNetworkStorage

All Superinterfaces:
NetworkStorage
All Known Implementing Classes:
ChestOpennessStorage

public interface SelfHandlingNetworkStorage extends NetworkStorage
A NetworkStorage that runs a handler when received by the other side.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    handleServer(net.minecraft.server.level.ServerPlayer player)
     

    Methods inherited from interface NetworkStorage

    decode, encode
  • Method Details

    • handleClient

      void handleClient()
    • handleServer

      void handleServer(net.minecraft.server.level.ServerPlayer player)