public interface EntityDataTransformer<S,D>
| Modifier and Type | Field and Description |
|---|---|
static EntityDataTransformer<?,?> |
IDENTITY |
| Modifier and Type | Method and Description |
|---|---|
D |
deserialize(BedrockCodecHelper helper,
EntityDataMap map,
S value) |
static <S,D> EntityDataTransformer<S,D> |
identity() |
S |
serialize(BedrockCodecHelper helper,
EntityDataMap map,
D value) |
static final EntityDataTransformer<?,?> IDENTITY
static <S,D> EntityDataTransformer<S,D> identity()
S serialize(BedrockCodecHelper helper, EntityDataMap map, D value)
D deserialize(BedrockCodecHelper helper, EntityDataMap map, S value)