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