类 NetworkHandler

java.lang.Object
committee.nova.mods.avaritia.init.handler.NetworkHandler

public class NetworkHandler extends Object
Description:
  • 字段详细资料

    • CHANNEL

      public static final net.minecraftforge.network.simple.SimpleChannel CHANNEL
    • id

      public static int id
  • 构造器详细资料

    • NetworkHandler

      public NetworkHandler()
  • 方法详细资料

    • init

      public static void init(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event)
    • sendNbtDataToServer

      public static void sendNbtDataToServer(net.minecraft.nbt.CompoundTag tag)
    • sendNbtDataTo

      public static void sendNbtDataTo(net.minecraft.server.level.ServerPlayer pl, net.minecraft.nbt.CompoundTag tag)
    • sendCompressorLockPacket

      public static void sendCompressorLockPacket(net.minecraft.core.BlockPos pos, boolean locked)
    • sendCompressorEjectPacket

      public static void sendCompressorEjectPacket(net.minecraft.core.BlockPos pos)
    • sendSideConfigUpdate

      public static void sendSideConfigUpdate(net.minecraft.core.BlockPos blockPos, SideConfiguration sideConfig)
    • sendSideConfigSync

      public static void sendSideConfigSync(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, SideConfiguration sideConfig)