import example.TestClass; import example.TestInterface; val instance = new TestClass("Instance"); println("Name: " + instance.name); instance.dump(); var generated = instance.generate(); println(generated.getValue()); class TestOperators { public (name as string) as void { println("MyTestClass: " + name); } //.(key as string) as string // => "key " + key; } /*class TestImplementation { public implements TestInterface { interfaceMethod() => "TestImplementation"; } }*/ val testInstance = new TestOperators(); //testInstance("something"); something.dump(); val objects = makeArray(5); printMany(objects); println(); println(.name); println(.interfaceMethod()); //println(new TestImplementation().interfaceMethod()); var diamond = ; var dirt = ; addShapedRecipe("TestRecipe", diamond, [[dirt, dirt, dirt],[dirt, dirt, dirt],[dirt, dirt, dirt]]); var count = 10; floatMethod(5f * count); invokeFunctional(name => "Hello " + name);