EntityUIComponent

abstract class EntityUIComponent implements JsonAssetWithMap, IndexedLookupTableAssetMap, EntityUIComponent>>, NetworkSerializable

Component for tracking entityui state. Attach this component to entities that need to track entityui data.

java.lang.Object > EntityUIComponent

Field Summary

id

protected String id

Field id.

data

protected AssetExtraInfo.Data data

Field data.

hitboxOffset

private Vector2f hitboxOffset

Field hitboxOffset.

cached

final com.hypixel.hytale.protocol.EntityUIComponent cached

Field cached.

packet

final com.hypixel.hytale.protocol.EntityUIComponent packet

Field packet.

Method Detail

getAssetStore

public > getAssetStore ()

Method getAssetStore.

getAssetMap

public EntityUIComponent> getAssetMap ()

Method getAssetMap.

EntityUIComponent

public protected EntityUIComponent ()

Method EntityUIComponent.

getUnknownFor

static EntityUIComponent getUnknownFor (final String id)

Method getUnknownFor.

Parameters:
final String id

getId

public String getId ()

Method getId.

toPacket

final com.hypixel.hytale.protocol.EntityUIComponent toPacket ()

Method toPacket.

generatePacket

protected com.hypixel.hytale.protocol.EntityUIComponent generatePacket ()

Method generatePacket.

toString

public String toString ()

Method toString.