This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/master by this push:
new e61da8a WIP.
e61da8a is described below
commit e61da8aadcfefd1349eab572abcff85415de5c35
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Tue Apr 27 17:34:11 2021 +0300
WIP.
---
.../apache/nplcraft/example/minecraft/utils/NCMinecraftFilesDump.java | 2 ++
.../main/kotlin/org/apache/nlpcraft/example/minecraft/MinecraftModel.kt | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git
a/nlpcraft-examples/minecraft-mod/src/main/java/org/apache/nplcraft/example/minecraft/utils/NCMinecraftFilesDump.java
b/nlpcraft-examples/minecraft-mod/src/main/java/org/apache/nplcraft/example/minecraft/utils/NCMinecraftFilesDump.java
index 4098ae9..c8db99a 100644
---
a/nlpcraft-examples/minecraft-mod/src/main/java/org/apache/nplcraft/example/minecraft/utils/NCMinecraftFilesDump.java
+++
b/nlpcraft-examples/minecraft-mod/src/main/java/org/apache/nplcraft/example/minecraft/utils/NCMinecraftFilesDump.java
@@ -23,6 +23,8 @@ import java.util.Map;
import java.util.stream.Collectors;
import net.minecraft.util.registry.DefaultedRegistry;
import net.minecraft.util.registry.Registry;
+import net.minecraftforge.registries.ForgeRegistries;
+import net.minecraftforge.registries.ForgeRegistry;
import net.minecraftforge.registries.ForgeRegistryEntry;
/**
diff --git
a/nlpcraft-examples/minecraft/src/main/kotlin/org/apache/nlpcraft/example/minecraft/MinecraftModel.kt
b/nlpcraft-examples/minecraft/src/main/kotlin/org/apache/nlpcraft/example/minecraft/MinecraftModel.kt
index ae218fe..e97496d 100644
---
a/nlpcraft-examples/minecraft/src/main/kotlin/org/apache/nlpcraft/example/minecraft/MinecraftModel.kt
+++
b/nlpcraft-examples/minecraft/src/main/kotlin/org/apache/nlpcraft/example/minecraft/MinecraftModel.kt
@@ -114,7 +114,6 @@ class MinecraftModel : NCModelFileAdapter("minecraft.yaml")
{
"make a box of sand with the size of 2 10 meters in front of me"
)
fun onFillMatch(
- ctx: NCIntentMatch,
@NCIntentTerm("shape") shape: NCToken,
@NCIntentTerm("block") block: NCToken,
@NCIntentTerm("len") length: Optional<NCToken>,