Class StartCutscenePacket

java.lang.Object
net.thewinnt.cutscenes.networking.packets.StartCutscenePacket
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload, AbstractClientboundPacket, AbstractPacket

public final class StartCutscenePacket extends Object implements AbstractClientboundPacket
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.thewinnt.cutscenes.platform.AbstractPacket

    AbstractPacket.PacketReader<T extends AbstractPacket>

    Nested classes/interfaces inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    net.minecraft.network.protocol.common.custom.CustomPacketPayload.FallbackProvider<B extends net.minecraft.network.FriendlyByteBuf>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.TypeAndCodec<B extends net.minecraft.network.FriendlyByteBuf,T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<StartCutscenePacket>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    StartCutscenePacket(net.minecraft.resources.ResourceLocation cutscene, net.minecraft.world.phys.Vec3 startPos, float cameraYaw, float cameraPitch, float cameraRoll, float pathYaw, float pathPitch, float pathRoll)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    read(net.minecraft.network.FriendlyByteBuf buf)
     
    net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<? extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>
     
    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

    • TYPE

      public static final net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<StartCutscenePacket> TYPE
  • Constructor Details

    • StartCutscenePacket

      public StartCutscenePacket(net.minecraft.resources.ResourceLocation cutscene, net.minecraft.world.phys.Vec3 startPos, float cameraYaw, float cameraPitch, float cameraRoll, float pathYaw, float pathPitch, float pathRoll)
  • Method Details

    • read

      public static StartCutscenePacket read(net.minecraft.network.FriendlyByteBuf buf)
    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      write in interface AbstractPacket
    • execute

      public void execute()
      Specified by:
      execute in interface AbstractClientboundPacket
    • type

      public net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<? extends net.minecraft.network.protocol.common.custom.CustomPacketPayload> type()
      Specified by:
      type in interface net.minecraft.network.protocol.common.custom.CustomPacketPayload