Create Ore Excavation

Create Ore Excavation

8M Downloads

Suggestion: Use ComponentWrapper.of to wrap up component in KubeJS support

Prunoideae opened this issue ยท 0 comments

commented

Component name = Component.Serializer.fromJson(args.get(1).toString());

This line can be replaced to

Component name = ComponentWrapper.of(args.get(1));

Which can support KubeJS's own parsing of components without the need of writing JSON string.