onPropSpawn

public static void onPropSpawn(PropEntity prop)

Called when a PropEntity is created. Determines the sibling YML path from the model file, loads or creates the config, and binds scripts.

Parameters

prop

the prop entity that just spawned