public class HologramPartEntity
extends java.lang.Object
| Constructor and Description |
|---|
HologramPartEntity(com.viaversion.viaversion.api.connection.UserConnection user,
int entityId,
com.viaversion.viaversion.api.minecraft.entities.Entity1_10Types.EntityType entityType) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityId() |
com.viaversion.viaversion.api.minecraft.entities.Entity1_10Types.EntityType |
getEntityType() |
Location |
getLocation() |
java.lang.Object |
getMetadata(MetaIndex1_8to1_7_6 index) |
HologramPartEntity |
getRiderEntity() |
HologramPartEntity |
getVehicleEntity() |
void |
onChange() |
void |
onRemove() |
void |
relocate(int newMappedEntityId) |
void |
setLocation(Location location) |
void |
setMetadata(MetaIndex1_8to1_7_6 index,
java.lang.Object value) |
void |
setVehicleEntity(HologramPartEntity vehicleEntity) |
public HologramPartEntity(com.viaversion.viaversion.api.connection.UserConnection user,
int entityId,
com.viaversion.viaversion.api.minecraft.entities.Entity1_10Types.EntityType entityType)
public void onChange()
throws java.lang.Exception
java.lang.Exceptionpublic void onRemove()
throws java.lang.Exception
java.lang.Exceptionpublic void relocate(int newMappedEntityId)
throws java.lang.Exception
java.lang.Exceptionpublic int getEntityId()
public com.viaversion.viaversion.api.minecraft.entities.Entity1_10Types.EntityType getEntityType()
public void setVehicleEntity(HologramPartEntity vehicleEntity) throws java.lang.Exception
java.lang.Exceptionpublic HologramPartEntity getVehicleEntity()
public HologramPartEntity getRiderEntity()
public void setLocation(Location location) throws java.lang.Exception
java.lang.Exceptionpublic Location getLocation()
public void setMetadata(MetaIndex1_8to1_7_6 index, java.lang.Object value)
public java.lang.Object getMetadata(MetaIndex1_8to1_7_6 index)