Class UnlockableUpdatePacket
java.lang.Object
com.idark.valoria.core.network.packets.UnlockableUpdatePacket
-
Constructor Summary
ConstructorDescriptionUnlockableUpdatePacket
(UUID uuid, net.minecraft.nbt.CompoundTag tag) UnlockableUpdatePacket
(net.minecraft.world.entity.player.Player entity) -
Method Summary
Modifier and TypeMethodDescriptionstatic UnlockableUpdatePacket
decode
(net.minecraft.network.FriendlyByteBuf buffer) static void
encode
(UnlockableUpdatePacket object, net.minecraft.network.FriendlyByteBuf buffer) static void
handle
(UnlockableUpdatePacket packet, Supplier<net.minecraftforge.network.NetworkEvent.Context> ctx)
-
Constructor Details
-
UnlockableUpdatePacket
-
UnlockableUpdatePacket
public UnlockableUpdatePacket(net.minecraft.world.entity.player.Player entity)
-
-
Method Details
-
encode
public static void encode(UnlockableUpdatePacket object, net.minecraft.network.FriendlyByteBuf buffer) -
decode
-
handle
public static void handle(UnlockableUpdatePacket packet, Supplier<net.minecraftforge.network.NetworkEvent.Context> ctx)
-