java.lang.Object
com.hammy275.immersivemc.common.network.packet.ThrowPacket

public class ThrowPacket extends Object
  • Constructor Details

    • ThrowPacket

      public ThrowPacket(net.minecraft.world.phys.Vec3 velocity, net.minecraft.world.phys.Vec3 dir)
  • Method Details

    • encode

      public static void encode(ThrowPacket packet, net.minecraft.network.FriendlyByteBuf buffer)
    • decode

      public static ThrowPacket decode(net.minecraft.network.FriendlyByteBuf buffer)
    • handle

      public static void handle(ThrowPacket packet, net.minecraft.server.level.ServerPlayer player)