public class EntityUtils extends Object
| Constructor and Description |
|---|
EntityUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
toBedrockEffectId(com.github.steveice10.mc.protocol.data.game.entity.Effect effect)
Convert Java edition effect IDs to Bedrock edition
|
static EntityType |
toBedrockEntity(com.github.steveice10.mc.protocol.data.game.entity.type.EntityType type)
Converts a MobType to a Bedrock edition EntityType, returns null if the EntityType is not found
|
public static int toBedrockEffectId(com.github.steveice10.mc.protocol.data.game.entity.Effect effect)
effect - Effect to convertpublic static EntityType toBedrockEntity(com.github.steveice10.mc.protocol.data.game.entity.type.EntityType type)
type - The MobType to convertCopyright © 2020 GeyserMC. All rights reserved.