public final class SpawnObjectMessage extends Object implements com.flowpowered.network.Message
Modifier and Type | Field and Description |
---|---|
static int |
ARROW |
static int |
BOAT |
static int |
EGG |
static int |
ENDER_CRYSTAL |
static int |
ENDER_DRAGON_FIREBALL |
static int |
EXPERIENCE_BOTTLE |
static int |
FIREBALL
Blaze fireball or Fire Charge.
|
static int |
FIREWORK |
static int |
FISHING_HOOK |
static int |
GHAST_FIREBALL |
static int |
ITEM |
static int |
ITEM_FRAME |
static int |
LEASH_HITCH |
static int |
SNOWBALL |
static int |
SPECTRAL_ARROW |
static int |
SPLASH_POTION |
static int |
THROWN_ENDERPEARL |
static int |
WITHER_SKULL |
Constructor and Description |
---|
SpawnObjectMessage(int id,
UUID uuid,
int type,
double x,
double y,
double z,
int pitch,
int yaw) |
SpawnObjectMessage(int id,
UUID uuid,
int type,
double x,
double y,
double z,
int pitch,
int yaw,
int data) |
SpawnObjectMessage(int id,
UUID uuid,
int type,
double x,
double y,
double z,
int pitch,
int yaw,
int data,
int velX,
int velY,
int velZ) |
SpawnObjectMessage(int id,
UUID uuid,
int type,
double x,
double y,
double z,
int pitch,
int yaw,
int data,
org.bukkit.util.Vector vector) |
SpawnObjectMessage(int id,
UUID uuid,
int type,
org.bukkit.Location location)
Create an instance based on a location.
|
SpawnObjectMessage(int id,
UUID uuid,
int type,
org.bukkit.Location location,
int data)
Create an instance based on a location.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getData() |
int |
getId() |
int |
getPitch() |
int |
getType() |
UUID |
getUuid() |
int |
getVelX() |
int |
getVelY() |
int |
getVelZ() |
double |
getX() |
double |
getY() |
int |
getYaw() |
double |
getZ() |
boolean |
hasData() |
int |
hashCode() |
String |
toString() |
public static final int BOAT
public static final int ITEM
public static final int ENDER_CRYSTAL
public static final int THROWN_ENDERPEARL
public static final int ITEM_FRAME
public static final int FIREWORK
public static final int LEASH_HITCH
public static final int ARROW
public static final int EGG
public static final int GHAST_FIREBALL
public static final int ENDER_DRAGON_FIREBALL
public static final int FIREBALL
public static final int SNOWBALL
public static final int SPECTRAL_ARROW
public static final int SPLASH_POTION
public static final int EXPERIENCE_BOTTLE
public static final int WITHER_SKULL
public static final int FISHING_HOOK
public SpawnObjectMessage(int id, UUID uuid, int type, double x, double y, double z, int pitch, int yaw)
public SpawnObjectMessage(int id, UUID uuid, int type, double x, double y, double z, int pitch, int yaw, int data)
public SpawnObjectMessage(int id, UUID uuid, int type, org.bukkit.Location location)
id
- the entity iduuid
- the entity UUIDtype
- the network ID of the entity typelocation
- The location whose x, y, z, pitch and yaw will be usedpublic SpawnObjectMessage(int id, UUID uuid, int type, org.bukkit.Location location, int data)
id
- the entity iduuid
- the entity UUIDtype
- the network ID of the entity typelocation
- the location whose x, y, z, pitch and yaw will be useddata
- as defined by the entity typepublic SpawnObjectMessage(int id, UUID uuid, int type, double x, double y, double z, int pitch, int yaw, int data, org.bukkit.util.Vector vector)
public SpawnObjectMessage(int id, UUID uuid, int type, double x, double y, double z, int pitch, int yaw, int data, int velX, int velY, int velZ)
public boolean hasData()
public int getId()
public UUID getUuid()
public int getType()
public double getX()
public double getY()
public double getZ()
public int getPitch()
public int getYaw()
public int getData()
public int getVelX()
public int getVelY()
public int getVelZ()
public boolean equals(Object o)
public int hashCode()
Copyright © 2021. All rights reserved.