Class ETableStorage
java.lang.Object
com.hammy275.immersivemc.common.immersive.storage.network.impl.ListOfItemsStorage
com.hammy275.immersivemc.common.immersive.storage.network.impl.ETableStorage
- All Implemented Interfaces:
NetworkStorage
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.hammy275.immersivemc.common.immersive.storage.network.impl.ListOfItemsStorage
getItems
-
Field Details
-
xpLevels
public int[] xpLevels -
enchantHints
public int[] enchantHints -
levelHints
public int[] levelHints
-
-
Constructor Details
-
ETableStorage
-
ETableStorage
public ETableStorage()
-
-
Method Details
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buffer) Description copied from interface:NetworkStorage
Encode this storage into a buffer.- Specified by:
encode
in interfaceNetworkStorage
- Overrides:
encode
in classListOfItemsStorage
- Parameters:
buffer
- Buffer to encode storage into.
-
decode
public void decode(net.minecraft.network.FriendlyByteBuf buffer) Description copied from interface:NetworkStorage
Decode the buffer into this object.- Specified by:
decode
in interfaceNetworkStorage
- Overrides:
decode
in classListOfItemsStorage
- Parameters:
buffer
- Buffer to decode from.
-