FakeItemFrame
class FakeItemFrame(location: Location, autoRegister: Boolean, beforeSpawn: (FakeItemFrame, ItemFrameMetadata) -> Unit?, val metadata: ItemFrameMetadata) : FakeEntity<ItemFrameMetadata>
Constructors
Link copied to clipboard
constructor(location: Location, autoRegister: Boolean = true, beforeSpawn: (FakeItemFrame, ItemFrameMetadata) -> Unit? = null)
constructor(location: Location, autoRegister: Boolean, beforeSpawn: (FakeItemFrame, ItemFrameMetadata) -> Unit?, metadata: ItemFrameMetadata)
Functions
Link copied to clipboard
Despawns the FakeEntity for a specific Player.
Link copied to clipboard
Registers this FakeEntity in the FakeEntityManager.
Link copied to clipboard
Removes the FakeEntity from the chunk entities Map and despawns it for all current viewers.
Link copied to clipboard
Sets the equipment for a specific EquipmentSlot.
Link copied to clipboard
Spawns the FakeEntity for a specific Player.
Link copied to clipboard
Teleports the FakeEntity to a different location. (Different worlds aren't supported)
Teleports the FakeEntity to a different location.
Link copied to clipboard
Updates the entity data of this FakeEntity