Class UpdateWorldEventPayload
java.lang.Object
team.lodestar.lodestone.systems.network.LodestoneNetworkPayloadData
team.lodestar.lodestone.systems.network.OneSidedPayloadData
team.lodestar.lodestone.network.worldevent.UpdateWorldEventPayload
- All Implemented Interfaces:
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> -
Constructor Summary
ConstructorsConstructorDescriptionUpdateWorldEventPayload(UUID uuid, net.minecraft.nbt.CompoundTag eventData) UpdateWorldEventPayload(net.minecraft.network.FriendlyByteBuf byteBuf) UpdateWorldEventPayload(WorldEventInstance instance) -
Method Summary
Methods inherited from class team.lodestar.lodestone.systems.network.LodestoneNetworkPayloadData
typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
toVanillaClientbound, toVanillaServerbound
-
Constructor Details
-
UpdateWorldEventPayload
public UpdateWorldEventPayload(net.minecraft.network.FriendlyByteBuf byteBuf) -
UpdateWorldEventPayload
-
UpdateWorldEventPayload
-
-
Method Details
-
handle
public void handle(net.neoforged.neoforge.network.handling.IPayloadContext context) - Specified by:
handlein classOneSidedPayloadData
-
serialize
public void serialize(net.minecraft.network.FriendlyByteBuf byteBuf) - Specified by:
serializein classLodestoneNetworkPayloadData
-