Class DoubleControllerVibrate
java.lang.Object
com.hammy275.immersivemc.common.network.packet.DoubleControllerVibrate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DoubleControllerVibrate
decode
(net.minecraft.network.FriendlyByteBuf buffer) static void
encode
(DoubleControllerVibrate packet, net.minecraft.network.FriendlyByteBuf buffer) static void
handle
(DoubleControllerVibrate message, net.minecraft.server.level.ServerPlayer player)
-
Constructor Details
-
DoubleControllerVibrate
public DoubleControllerVibrate(float duration)
-
-
Method Details
-
encode
public static void encode(DoubleControllerVibrate packet, net.minecraft.network.FriendlyByteBuf buffer) -
decode
-
handle
public static void handle(DoubleControllerVibrate message, net.minecraft.server.level.ServerPlayer player)
-