onPropSpawn

public static void onPropSpawn(PropEntity prop)

Called when a PropEntity is created. Determines the sibling YML path from the model file, reads its prepared settings, and binds scripts.

Parameters

prop

the prop entity that just spawned