Class DoubleData
java.lang.Object
codechicken.lib.inventory.container.data.AbstractDataStore<Double>
codechicken.lib.inventory.container.data.DoubleData
Created by brandon3055 on 09/09/2023
-
Field Summary
Fields inherited from class codechicken.lib.inventory.container.data.AbstractDataStore
value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfromBytes(MCDataInput buf) voidfromTag(net.minecraft.nbt.Tag tag) voidtoBytes(MCDataOutput buf) net.minecraft.nbt.TagtoTag()Methods inherited from class codechicken.lib.inventory.container.data.AbstractDataStore
get, isSameValue, markDirty, set
-
Constructor Details
-
DoubleData
public DoubleData() -
DoubleData
public DoubleData(double defaultValue)
-
-
Method Details
-
toBytes
- Specified by:
toBytesin classAbstractDataStore<Double>
-
fromBytes
- Specified by:
fromBytesin classAbstractDataStore<Double>
-
toTag
public net.minecraft.nbt.Tag toTag()- Specified by:
toTagin classAbstractDataStore<Double>
-
fromTag
public void fromTag(net.minecraft.nbt.Tag tag) - Specified by:
fromTagin classAbstractDataStore<Double>
-