Class ActorConfigPacket

java.lang.Object
com.simibubi.create.foundation.networking.SimplePacketBase
com.lightning.northstar.contraption.ActorConfigPacket

public class ActorConfigPacket extends com.simibubi.create.foundation.networking.SimplePacketBase
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ActorConfigPacket(int contraptionId, net.minecraft.core.BlockPos localPos, net.minecraft.nbt.CompoundTag nbt)
     
    ActorConfigPacket(net.minecraft.network.FriendlyByteBuf buffer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handle(net.minecraftforge.network.NetworkEvent.Context context)
     
    static void
    update(com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.BlockPos localPos)
     
    static void
    update(com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.BlockPos localPos, net.minecraft.nbt.CompoundTag nbt)
     
    void
    write(net.minecraft.network.FriendlyByteBuf buffer)
     

    Methods inherited from class java.lang.Object

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

    • ActorConfigPacket

      public ActorConfigPacket(net.minecraft.network.FriendlyByteBuf buffer)
    • ActorConfigPacket

      public ActorConfigPacket(int contraptionId, net.minecraft.core.BlockPos localPos, net.minecraft.nbt.CompoundTag nbt)
  • Method Details

    • update

      public static void update(com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.BlockPos localPos)
    • update

      public static void update(com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.BlockPos localPos, net.minecraft.nbt.CompoundTag nbt)
    • write

      public void write(net.minecraft.network.FriendlyByteBuf buffer)
      Specified by:
      write in class com.simibubi.create.foundation.networking.SimplePacketBase
    • handle

      public boolean handle(net.minecraftforge.network.NetworkEvent.Context context)
      Specified by:
      handle in class com.simibubi.create.foundation.networking.SimplePacketBase