@dreamscript/paper-class-loader
v0.1.1
Published
Paper class loading for DreamScript Binding Packages
Maintainers
Readme
@dreamscript/paper-class-loader
Loads real Paper host classes for generated Paper-aware Binding Packages without depending on @dreamscript/server.
import { Example } from "@dreamscript-bindings/example-plugin/example/Example";
console.log(Example.MARKER);Generated Binding Recipes use Paper.type(className) for best-effort global lookup and Paper.type(className, pluginName) when deterministic plugin ownership matters. Importing the generated class subpath is the normal authored path. Calling Paper.type with a raw class string is unsupported manual interop and returns unknown unless an explicit class-side type is supplied.
