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