Class JumpPacket

java.lang.Object
vazkii.botania.network.serverbound.JumpPacket
All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class JumpPacket extends Object implements net.minecraft.network.protocol.common.custom.CustomPacketPayload
  • Nested Class Summary

    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<JumpPacket>
     
    static final JumpPacket
     
    static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,JumpPacket>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player)
     
    net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<JumpPacket>
     

    Methods inherited from class java.lang.Object

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

    • INSTANCE

      public static final JumpPacket INSTANCE
    • ID

      public static final net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<JumpPacket> ID
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,JumpPacket> STREAM_CODEC
  • Constructor Details

    • JumpPacket

      public JumpPacket()
  • Method Details

    • type

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

      public void handle(net.minecraft.server.MinecraftServer server, net.minecraft.server.level.ServerPlayer player)