public final class BooleanTransformer extends java.lang.Object implements EntityDataTransformer<java.lang.Byte,java.lang.Boolean>
| Modifier and Type | Field and Description |
|---|---|
static BooleanTransformer |
INSTANCE |
IDENTITY| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
deserialize(BedrockCodecHelper helper,
EntityDataMap map,
java.lang.Byte value) |
java.lang.Byte |
serialize(BedrockCodecHelper helper,
EntityDataMap map,
java.lang.Boolean value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidentitypublic static final BooleanTransformer INSTANCE
public java.lang.Byte serialize(BedrockCodecHelper helper, EntityDataMap map, java.lang.Boolean value)
serialize in interface EntityDataTransformer<java.lang.Byte,java.lang.Boolean>public java.lang.Boolean deserialize(BedrockCodecHelper helper, EntityDataMap map, java.lang.Byte value)
deserialize in interface EntityDataTransformer<java.lang.Byte,java.lang.Boolean>