| Package | Description |
|---|---|
| com.github.steveice10.mc.protocol.data.game.entity.type | |
| com.github.steveice10.mc.protocol.packet.ingame.clientbound.entity.spawn |
| Modifier and Type | Method and Description |
|---|---|
static EntityType |
EntityType.fromId(int id) |
static EntityType |
EntityType.read(com.github.steveice10.packetlib.io.NetInput in) |
static EntityType |
EntityType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityType[] |
EntityType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ClientboundAddEntityPacket(int entityId,
@NonNull UUID uuid,
@NonNull EntityType type,
double x,
double y,
double z,
float yaw,
float pitch) |
ClientboundAddEntityPacket(int entityId,
@NonNull UUID uuid,
@NonNull EntityType type,
double x,
double y,
double z,
float yaw,
float pitch,
double motionX,
double motionY,
double motionZ) |
ClientboundAddEntityPacket(int entityId,
@NonNull UUID uuid,
@NonNull EntityType type,
@NonNull ObjectData data,
double x,
double y,
double z,
float yaw,
float pitch) |
Copyright © 2022. All rights reserved.