PropScriptManager
Manages the lifecycle of Lua scripts bound to props in FreeMinecraftModels.
Prop spawns use the prepared model catalog and bind scripts from the scripts/ folder. Missing definitions create a default file once per generation. Manual edits apply on reload.
Functions
Link copied to clipboard
Link copied to clipboard
Called during plugin enable.
Link copied to clipboard
Called by PropEntity's left-click callback.
Link copied to clipboard
Shuts down the script instance associated with a prop when it is removed.
Link copied to clipboard
Called by PropEntity's right-click callback.
Link copied to clipboard
Called when a PropEntity is created.
Link copied to clipboard
Resolves the sibling YML config file for a model: same directory, same base name (model extension stripped, bow/crossbow draw-state suffix stripped),
.yml extension.