Class S2CRangeUpgradePacket

All Implemented Interfaces:
net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class S2CRangeUpgradePacket extends S2CStoragePacket<RangeUpgradeClientStorage>
The packet that syncs range upgrade modules from the server to the client, using the Storages system
Since:
0.16.4.0
  • 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>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,S2CRangeUpgradePacket>
     
    static final net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<S2CRangeUpgradePacket>
     

    Fields inherited from class net.nullved.pmweatherapi.network.S2CStoragePacket

    tag
  • Constructor Summary

    Constructors
    Constructor
    Description
    S2CRangeUpgradePacket(net.minecraft.nbt.CompoundTag tag)
    Creates a new S2CRangeUpgradePacket
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the IClientStorage that will be synced to.
    net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<S2CRangeUpgradePacket>
     

    Methods inherited from class net.nullved.pmweatherapi.network.S2CStoragePacket

    handle, tag, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    toVanillaClientbound, toVanillaServerbound