Interface HTSyncablePayload
-
- All Implemented Interfaces:
public interface HTSyncablePayloadHTSyncableSlotの同期に使用されるパケットを表すインターフェースです。
- Since:
0.4.0
Hiiragi Tsubasa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHTSyncablePayload.Companion
-
Method Summary
Modifier and Type Method Description abstract StreamCodec<RegistryFriendlyByteBuf, out HTSyncablePayload>type()パケットへの書き込みに使用されるStreamCodecを返します。 abstract UnitsetValue(HTSyncableMenu menu, Integer index)指定されたmenuとindexから値を更新します。 -
-
Method Detail
-
type
abstract StreamCodec<RegistryFriendlyByteBuf, out HTSyncablePayload> type()
パケットへの書き込みに使用されるStreamCodecを返します。
-
setValue
abstract Unit setValue(HTSyncableMenu menu, Integer index)
-
-
-
-