public class BlockDefinitionTransformer extends Object implements EntityDataTransformer<Integer,BlockDefinition>
IDENTITY| Constructor and Description |
|---|
BlockDefinitionTransformer() |
| Modifier and Type | Method and Description |
|---|---|
BlockDefinition |
deserialize(BedrockCodecHelper helper,
EntityDataMap map,
Integer value) |
Integer |
serialize(BedrockCodecHelper helper,
EntityDataMap map,
BlockDefinition value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidentitypublic Integer serialize(BedrockCodecHelper helper, EntityDataMap map, BlockDefinition value)
serialize in interface EntityDataTransformer<Integer,BlockDefinition>public BlockDefinition deserialize(BedrockCodecHelper helper, EntityDataMap map, Integer value)
deserialize in interface EntityDataTransformer<Integer,BlockDefinition>Copyright © 2018–2022 CloudburstMC. All rights reserved.