We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d95df60 + c574ba9 commit 37a03c6Copy full SHA for 37a03c6
surf-npc-example-dsl/src/main/kotlin/dev/slne/surf/npc/example/SurfNpcExamplePlugin.kt
@@ -31,7 +31,7 @@ class SurfNpcExamplePlugin() : SuspendingJavaPlugin() {
31
/**
32
* Skin data can be created using the DSL or by using the SurfNpcApi#getSkin function.
33
*/
34
- skin = dev.slne.surf.npc.api.dsl.skin {
+ skin {
35
ownerName = "CastCrafter"
36
value = "SkinValue"
37
signature = "SkinSignature"
@@ -40,7 +40,7 @@ class SurfNpcExamplePlugin() : SuspendingJavaPlugin() {
40
41
* Location can be created using the DSL.
42
43
- location = dev.slne.surf.npc.api.dsl.location {
+ location {
44
world = "world"
45
x = 0.0
46
y = 0.0
0 commit comments