Package hiiragi283.core.common.gui.sync
Class HTIntSyncPayload
-
- All Implemented Interfaces:
-
hiiragi283.core.api.gui.sync.HTSyncablePayload
@JvmRecord() public final class HTIntSyncPayload extends Record implements HTSyncablePayload
-
-
Field Summary
Fields Modifier and Type Field Description public final static StreamCodec<RegistryFriendlyByteBuf, HTIntSyncPayload>STREAM_CODECpublic final static HTSyncablePayload.Type<HTIntSyncPayload>TYPEprivate final Integervalue
-
Constructor Summary
Constructors Constructor Description HTIntSyncPayload(Integer value)
-
Method Summary
Modifier and Type Method Description final IntegergetValue()HTSyncablePayload.Type<?>type()パケットへの書き込みに使用されるStreamCodecを返します。 UnitsetValue(HTSyncableMenu menu, Integer index)指定されたmenuとindexから値を更新します。
-