Class SerializerHarvestEntry
java.lang.Object
net.darkhax.botanypots.data.recipes.crop.SerializerHarvestEntry
- All Implemented Interfaces:
net.darkhax.bookshelf.api.serialization.ISerializer<HarvestEntry>
public final class SerializerHarvestEntry
extends Object
implements net.darkhax.bookshelf.api.serialization.ISerializer<HarvestEntry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.darkhax.bookshelf.api.serialization.ISerializer<HarvestEntry> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromByteBuf(net.minecraft.network.FriendlyByteBuf buffer) fromJSON(com.google.gson.JsonElement json) fromNBT(net.minecraft.nbt.Tag nbt) voidtoByteBuf(net.minecraft.network.FriendlyByteBuf buffer, HarvestEntry toWrite) com.google.gson.JsonElementtoJSON(HarvestEntry toWrite) net.minecraft.nbt.TagtoNBT(HarvestEntry toWrite) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.darkhax.bookshelf.api.serialization.ISerializer
fromByteBufList, fromByteBufNullable, fromByteBufOptional, fromByteBufWeighted, fromByteBufWeightedList, fromJSON, fromJSON, fromJSON, fromJSONList, fromJSONList, fromJSONList, fromJSONList, fromJSONNullable, fromJSONNullable, fromJSONOptional, fromJSONOptional, fromJSONSet, fromJSONSet, fromJSONSet, fromJSONSet, fromJSONString, fromJSONWeighted, fromJSONWeightedList, fromNBT, fromNBT, fromNBTList, fromNBTList, readByteBufSet, toByteBufList, toByteBufNullable, toByteBufOptional, toByteBufWeighted, toByteBufWeightedList, toJSON, toJSONList, toJSONList, toJSONNullable, toJSONNullable, toJSONOptional, toJSONOptional, toJSONOptional, toJSONSet, toJSONString, toJSONWeighted, toJSONWeightedList, toNBT, toNBTList, toNBTList, writeByteBufSet
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
SerializerHarvestEntry
public SerializerHarvestEntry()
-
-
Method Details
-
fromJSON
- Specified by:
fromJSONin interfacenet.darkhax.bookshelf.api.serialization.ISerializer<HarvestEntry>
-
toJSON
- Specified by:
toJSONin interfacenet.darkhax.bookshelf.api.serialization.ISerializer<HarvestEntry>
-
fromByteBuf
- Specified by:
fromByteBufin interfacenet.darkhax.bookshelf.api.serialization.ISerializer<HarvestEntry>
-
toByteBuf
- Specified by:
toByteBufin interfacenet.darkhax.bookshelf.api.serialization.ISerializer<HarvestEntry>
-
toNBT
- Specified by:
toNBTin interfacenet.darkhax.bookshelf.api.serialization.ISerializer<HarvestEntry>
-
fromNBT
- Specified by:
fromNBTin interfacenet.darkhax.bookshelf.api.serialization.ISerializer<HarvestEntry>
-