Class PersistentDataType.BooleanPersistentDataType

java.lang.Object
org.bukkit.persistence.PersistentDataType.BooleanPersistentDataType
All Implemented Interfaces:
PersistentDataType<Byte,Boolean>
Enclosing interface:
PersistentDataType<P,C>

public static class PersistentDataType.BooleanPersistentDataType extends Object implements PersistentDataType<Byte,Boolean>
A convenience implementation to convert between Byte and Boolean as there is no native implementation for booleans.
Any byte value not equal to 0 is considered to be true.