Class ThrowPacket
java.lang.Object
com.hammy275.immersivemc.common.network.packet.ThrowPacket
-
Constructor Summary
ConstructorDescriptionThrowPacket
(net.minecraft.world.phys.Vec3 velocity, net.minecraft.world.phys.Vec3 dir) -
Method Summary
Modifier and TypeMethodDescriptionstatic ThrowPacket
decode
(net.minecraft.network.FriendlyByteBuf buffer) static void
encode
(ThrowPacket packet, net.minecraft.network.FriendlyByteBuf buffer) static void
handle
(ThrowPacket packet, net.minecraft.server.level.ServerPlayer player)
-
Constructor Details
-
ThrowPacket
public ThrowPacket(net.minecraft.world.phys.Vec3 velocity, net.minecraft.world.phys.Vec3 dir)
-
-
Method Details
-
encode
-
decode
-
handle
-