Class BooleanIota
java.lang.Object
at.petrak.hexcasting.api.casting.iota.Iota
at.petrak.hexcasting.api.casting.iota.BooleanIota
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanIotadeserialize(net.minecraft.nbt.Tag tag) static net.minecraft.network.chat.Componentdisplay(boolean b) booleangetBool()booleanisTruthy()@NotNull net.minecraft.nbt.TagSerialize this under thedatatag.booleantoleratesOther(Iota that) Compare this to another object, within a tolerance.
-
Field Details
-
TYPE
-
-
Constructor Details
-
BooleanIota
public BooleanIota(boolean d)
-
-
Method Details
-
getBool
public boolean getBool() -
isTruthy
public boolean isTruthy() -
toleratesOther
Description copied from class:IotaCompare this to another object, within a tolerance.- Specified by:
toleratesOtherin classIota
-
serialize
@NotNull public @NotNull net.minecraft.nbt.Tag serialize()Description copied from class:IotaSerialize this under thedatatag.You probably don't want to call this directly; use
IotaType.serialize(at.petrak.hexcasting.api.casting.iota.Iota). -
deserialize
- Throws:
IllegalArgumentException
-
display
public static net.minecraft.network.chat.Component display(boolean b)
-