Class SpawnNPCInteraction

All Implemented Interfaces:
JsonAsset<String>, JsonAssetWithMap<String, IndexedLookupTableAssetMap<String, Interaction>>, NetworkSerializable<Interaction>, Operation

public class SpawnNPCInteraction extends SimpleBlockInteraction
An interaction type that spawns an NPC on the block that is being interacted with.

The position of the NPC is determined by the block's center plus an optional offset, which is rotated according to the block's rotation index.