Browse Source

Use Composite Builds

master
TheBrokenRail 1 year ago
parent
commit
0e3b0cbc87
  1. 16
      .gitignore
  2. 15
      Jenkinsfile
  3. 0
      common/gradle/wrapper/gradle-wrapper.jar
  4. 0
      common/gradle/wrapper/gradle-wrapper.properties
  5. 0
      common/gradlew
  6. 0
      common/tsconfig.json
  7. 2
      examples/javascript/gradle
  8. 2
      examples/javascript/gradlew
  9. 1
      examples/javascript/gradlew.bat
  10. 1
      examples/javascript/settings.gradle.kts
  11. 13
      examples/javascript/settings.gradle.kts
  12. 1
      examples/javascript/src/main/resources/assets
  13. 1
      examples/javascript/src/main/resources/fabric.mod.json
  14. 2
      examples/typescript/build.gradle.kts
  15. 1
      examples/typescript/buildSrc
  16. 2
      examples/typescript/gradle
  17. 2
      examples/typescript/gradlew
  18. 1
      examples/typescript/gradlew.bat
  19. 1
      examples/typescript/settings.gradle.kts
  20. 10
      examples/typescript/settings.gradle.kts
  21. 1
      examples/typescript/src/main/resources/assets
  22. 1
      examples/typescript/src/main/resources/fabric.mod.json
  23. 2
      examples/typescript/src/main/ts/tsconfig.json
  24. 100
      gradlew.bat
  25. 37
      plugin/build.gradle.kts
  26. 1
      plugin/gradle
  27. 1
      plugin/gradlew
  28. 2
      plugin/src/main/kotlin/ScriptCraftPlugin.kt
  29. 34
      scriptcraft/.gitignore
  30. 6
      scriptcraft/build.gradle.kts
  31. 4
      scriptcraft/buildSrc/build.gradle.kts
  32. 0
      scriptcraft/buildSrc/src/main/kotlin/JNIPlugin.kt
  33. 0
      scriptcraft/cmake/linux-arm64-toolchain.cmake
  34. 0
      scriptcraft/cmake/linux-armhf-toolchain.cmake
  35. 0
      scriptcraft/cmake/linux-x86-toolchain.cmake
  36. 0
      scriptcraft/cmake/linux-x86_64-toolchain.cmake
  37. 0
      scriptcraft/cmake/windows-x86-toolchain.cmake
  38. 0
      scriptcraft/cmake/windows-x86_64-toolchain.cmake
  39. 1
      scriptcraft/gradle
  40. 0
      scriptcraft/gradle.properties
  41. 1
      scriptcraft/gradlew
  42. 0
      scriptcraft/scripts/download-jni-headers.sh
  43. 0
      scriptcraft/scripts/download-quickjs.sh
  44. 0
      scriptcraft/scripts/setup.sh
  45. 5
      scriptcraft/settings.gradle.kts
  46. 0
      scriptcraft/src/main/c/CMakeLists.txt
  47. 0
      scriptcraft/src/main/c/asprintf.h
  48. 0
      scriptcraft/src/main/c/com_thebrokenrail_scriptcraft_core_quickjs_QuickJSNative.c
  49. 0
      scriptcraft/src/main/c/com_thebrokenrail_scriptcraft_core_quickjs_QuickJSNative.h
  50. 0
      scriptcraft/src/main/c/console.c
  51. 0
      scriptcraft/src/main/c/console.h
  52. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/ScriptCraftAPI.java
  53. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/block/CustomBlock.java
  54. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/block/CustomBlockEntity.java
  55. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/block/CustomBlockWithEntity.java
  56. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/BlockEntityBridges.java
  57. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/BlockSettingsBridges.java
  58. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/BlockStateBridges.java
  59. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/Bridges.java
  60. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/DamageSourceBridges.java
  61. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/EntityBridges.java
  62. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/EventBridges.java
  63. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/InventoryBridges.java
  64. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/ItemSettingsBridges.java
  65. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/ItemStackBridges.java
  66. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/LivingEntityBridges.java
  67. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/PlayerEntityBridges.java
  68. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/RegistryBridge.java
  69. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/TagBridges.java
  70. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/WorldBridges.java
  71. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/item/CustomItem.java
  72. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/Bridge.java
  73. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/OSUtil.java
  74. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/ScriptCraftCore.java
  75. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/ScriptCraftEntryPoint.java
  76. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/ValueUtil.java
  77. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/JSException.java
  78. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/QuickJSManager.java
  79. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/QuickJSModules.java
  80. 0
      scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/QuickJSNative.java
  81. 0
      scriptcraft/src/main/resources/assets/scriptcraft/icon.png
  82. 0
      scriptcraft/src/main/resources/fabric.mod.json
  83. 0
      scriptcraft/src/main/ts/.eslintrc.json
  84. 0
      scriptcraft/src/main/ts/.gitignore
  85. 0
      scriptcraft/src/main/ts/.vscode/extensions.json
  86. 0
      scriptcraft/src/main/ts/.vscode/settings.json
  87. 0
      scriptcraft/src/main/ts/package.json
  88. 0
      scriptcraft/src/main/ts/src/minecraft/block.ts
  89. 0
      scriptcraft/src/main/ts/src/minecraft/core.ts
  90. 0
      scriptcraft/src/main/ts/src/minecraft/entity.ts
  91. 0
      scriptcraft/src/main/ts/src/minecraft/event.ts
  92. 0
      scriptcraft/src/main/ts/src/minecraft/index.ts
  93. 0
      scriptcraft/src/main/ts/src/minecraft/inventory.ts
  94. 0
      scriptcraft/src/main/ts/src/minecraft/item.ts
  95. 0
      scriptcraft/src/main/ts/src/minecraft/registry.ts
  96. 0
      scriptcraft/src/main/ts/src/minecraft/tag.ts
  97. 0
      scriptcraft/src/main/ts/src/minecraft/world.ts
  98. 1
      scriptcraft/src/main/ts/tsconfig.json
  99. 0
      scriptcraft/src/main/ts/typedoc.json
  100. 0
      scriptcraft/src/main/ts/types/scriptcraft-core/index.d.ts

16
.gitignore

@ -17,18 +17,4 @@ classes/
.settings/
bin/
.classpath
.project
# fabric
run/
remappedSrc/
src/main/c/build-*
src/main/c/quickjs
src/main/c/jni
scripts/jdk.tar.gz
scripts/jdk
scripts/quickjs.tar.xz
.project

15
Jenkinsfile

@ -8,19 +8,24 @@ pipeline {
sh 'cd scripts; ./setup.sh'
}
}
stage('Build Plugin') {
steps {
sh 'cd plugin; ./gradlew clean publish'
}
}
stage('Build') {
steps {
sh './gradlew clean build typedoc eslint publish'
sh 'cd scriptcraft; ./gradlew clean build typedoc eslint publish'
}
post {
success {
archiveArtifacts artifacts: 'build/libs/*', fingerprint: true
archiveArtifacts artifacts: 'scriptcraft/build/libs/*', fingerprint: true
publishHTML target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: false,
reportDir: 'src/main/ts/build/typedoc',
reportDir: 'scriptcraft/src/main/ts/build/typedoc',
reportFiles: 'index.html',
reportName: 'TypeDoc'
]
@ -29,8 +34,8 @@ pipeline {
}
stage('Build Examples') {
steps {
sh 'cd examples/typescript; ./gradlew clean build'
sh 'cd examples/javascript; ./gradlew clean build'
sh 'cd examples/typescript; ./gradlew clean build --include-build ../scriptcraft'
sh 'cd examples/javascript; ./gradlew clean build --include-build ../scriptcraft'
}
post {
success {

0
gradle/wrapper/gradle-wrapper.jar → common/gradle/wrapper/gradle-wrapper.jar

0
gradle/wrapper/gradle-wrapper.properties → common/gradle/wrapper/gradle-wrapper.properties

0
gradlew → common/gradlew

0
src/main/ts/tsconfig.json → common/tsconfig.json

2
examples/javascript/gradle

@ -1 +1 @@
../../gradle
../../common/gradle

2
examples/javascript/gradlew

@ -1 +1 @@
../../gradlew
../../common/gradlew

1
examples/javascript/gradlew.bat

@ -1 +0,0 @@
../../gradlew.bat

1
examples/javascript/settings.gradle.kts

@ -1 +0,0 @@
../../settings.gradle.kts

13
examples/javascript/settings.gradle.kts

@ -0,0 +1,13 @@
pluginManagement {
repositories {
jcenter()
maven {
name = "Fabric"
url = uri("https://maven.fabricmc.net/")
}
maven {
url = uri("https://maven.thebrokenrail.com/")
}
gradlePluginPortal()
}
}

1
examples/javascript/src/main/resources/assets

@ -1 +0,0 @@
../../../../../src/main/resources/assets

1
examples/javascript/src/main/resources/fabric.mod.json

@ -13,7 +13,6 @@
"issues": "https://gitea.thebrokenrail.com/TheBrokenRail/ScriptCraft/issues"
},
"license": "MIT",
"icon": "assets/scriptcraft/icon.png",
"environment": "*",
"entrypoints": {
"scriptcraft": [

2
examples/typescript/build.gradle.kts

@ -1,6 +1,6 @@
plugins {
id("fabric-loom") version "0.2.7-SNAPSHOT"
id("typescript")
id("com.thebrokenrail.scriptcraft")
}
java {

1
examples/typescript/buildSrc

@ -1 +0,0 @@
../../buildSrc/

2
examples/typescript/gradle

@ -1 +1 @@
../../gradle
../../common/gradle

2
examples/typescript/gradlew

@ -1 +1 @@
../../gradlew
../../common/gradlew

1
examples/typescript/gradlew.bat

@ -1 +0,0 @@
../../gradlew.bat

1
examples/typescript/settings.gradle.kts

@ -1 +0,0 @@
../../settings.gradle.kts

10
examples/typescript/settings.gradle.kts

@ -0,0 +1,10 @@
pluginManagement {
repositories {
jcenter()
maven {
name = "Fabric"
url = uri("https://maven.fabricmc.net/")
}
gradlePluginPortal()
}
}

1
examples/typescript/src/main/resources/assets

@ -1 +0,0 @@
../../../../../src/main/resources/assets

1
examples/typescript/src/main/resources/fabric.mod.json

@ -13,7 +13,6 @@
"issues": "https://gitea.thebrokenrail.com/TheBrokenRail/ScriptCraft/issues"
},
"license": "MIT",
"icon": "assets/scriptcraft/icon.png",
"environment": "*",
"entrypoints": {
"scriptcraft": [

2
examples/typescript/src/main/ts/tsconfig.json

@ -1 +1 @@
../../../../../src/main/ts/tsconfig.json
../../../../../common/tsconfig.json

100
gradlew.bat

@ -1,100 +0,0 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega

37
plugin/build.gradle.kts

@ -0,0 +1,37 @@
repositories {
gradlePluginPortal()
jcenter()
}
plugins {
`kotlin-dsl`
`maven-publish`
}
group = "com.thebrokenrail"
base.archivesBaseName = "scriptcraft"
version = "1.0.0-SNAPSHOT"
gradlePlugin {
plugins {
register("scriptcraft-plugin") {
id = "${group}.${base.archivesBaseName}"
implementationClass = "ScriptCraftPlugin"
}
}
}
publishing {
project.afterEvaluate {
publications {
named<MavenPublication>("pluginMaven") {
artifactId = base.archivesBaseName
}
}
}
repositories {
maven {
url = uri("/data/maven")
}
}
}

1
plugin/gradle

@ -0,0 +1 @@
../common/gradle

1
plugin/gradlew

@ -0,0 +1 @@
../common/gradlew

2
buildSrc/src/main/kotlin/TypeScriptPlugin.kt → plugin/src/main/kotlin/ScriptCraftPlugin.kt

@ -7,7 +7,7 @@ import org.gradle.kotlin.dsl.*
import java.io.File
import java.util.concurrent.Callable
class TypeScriptPlugin : Plugin<Project> {
class ScriptCraftPlugin : Plugin<Project> {
open class TypeScriptConfig(rootDir: File) {
var root: File = File(rootDir, "src/main/ts")
}

34
scriptcraft/.gitignore

@ -0,0 +1,34 @@
# gradle
.gradle/
build/
out/
classes/
# idea
.idea/
*.iml
*.ipr
*.iws
# vscode
.settings/
bin/
.classpath
.project
# fabric
run/
remappedSrc/
src/main/c/build-*
src/main/c/quickjs
src/main/c/jni
scripts/jdk.tar.gz
scripts/jdk
scripts/quickjs.tar.xz

6
build.gradle.kts → scriptcraft/build.gradle.kts

@ -1,7 +1,7 @@
plugins {
id("fabric-loom") version "0.2.7-SNAPSHOT"
id("jni")
id("typescript")
id("com.thebrokenrail.scriptcraft")
`maven-publish`
}
@ -28,13 +28,13 @@ jni {
addPlatform("windows-x86", ".dll")
}
tasks.register<TypeScriptPlugin.NPMTask>("eslint") {
tasks.register<ScriptCraftPlugin.NPMTask>("eslint") {
group = "verification"
taskName = "eslint"
}
tasks.register<TypeScriptPlugin.NPMTask>("typedoc") {
tasks.register<ScriptCraftPlugin.NPMTask>("typedoc") {
group = "documentation"
taskName = "typedoc"

4
buildSrc/build.gradle.kts → scriptcraft/buildSrc/build.gradle.kts

@ -12,9 +12,5 @@ gradlePlugin {
id = "jni"
implementationClass = "JNIPlugin"
}
register("typescript-plugin") {
id = "typescript"
implementationClass = "TypeScriptPlugin"
}
}
}

0
buildSrc/src/main/kotlin/JNIPlugin.kt → scriptcraft/buildSrc/src/main/kotlin/JNIPlugin.kt

0
cmake/linux-arm64-toolchain.cmake → scriptcraft/cmake/linux-arm64-toolchain.cmake

0
cmake/linux-armhf-toolchain.cmake → scriptcraft/cmake/linux-armhf-toolchain.cmake

0
cmake/linux-x86-toolchain.cmake → scriptcraft/cmake/linux-x86-toolchain.cmake

0
cmake/linux-x86_64-toolchain.cmake → scriptcraft/cmake/linux-x86_64-toolchain.cmake

0
cmake/windows-x86-toolchain.cmake → scriptcraft/cmake/windows-x86-toolchain.cmake

0
cmake/windows-x86_64-toolchain.cmake → scriptcraft/cmake/windows-x86_64-toolchain.cmake

1
scriptcraft/gradle

@ -0,0 +1 @@
../common/gradle

0
gradle.properties → scriptcraft/gradle.properties

1
scriptcraft/gradlew

@ -0,0 +1 @@
../common/gradlew

0
scripts/download-jni-headers.sh → scriptcraft/scripts/download-jni-headers.sh

0
scripts/download-quickjs.sh → scriptcraft/scripts/download-quickjs.sh

0
scripts/setup.sh → scriptcraft/scripts/setup.sh

5
settings.gradle.kts → scriptcraft/settings.gradle.kts

@ -5,8 +5,13 @@ pluginManagement {
name = "Fabric"
url = uri("https://maven.fabricmc.net/")
}
maven {
url = uri("https://maven.thebrokenrail.com/")
}
gradlePluginPortal()
}
}
rootProject.name = "ScriptCraft"
includeBuild("../plugin")

0
src/main/c/CMakeLists.txt → scriptcraft/src/main/c/CMakeLists.txt

0
src/main/c/asprintf.h → scriptcraft/src/main/c/asprintf.h

0
src/main/c/com_thebrokenrail_scriptcraft_core_quickjs_QuickJSNative.c → scriptcraft/src/main/c/com_thebrokenrail_scriptcraft_core_quickjs_QuickJSNative.c

0
src/main/c/com_thebrokenrail_scriptcraft_core_quickjs_QuickJSNative.h → scriptcraft/src/main/c/com_thebrokenrail_scriptcraft_core_quickjs_QuickJSNative.h

0
src/main/c/console.c → scriptcraft/src/main/c/console.c

0
src/main/c/console.h → scriptcraft/src/main/c/console.h

0
src/main/java/com/thebrokenrail/scriptcraft/api/ScriptCraftAPI.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/ScriptCraftAPI.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/block/CustomBlock.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/block/CustomBlock.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/block/CustomBlockEntity.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/block/CustomBlockEntity.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/block/CustomBlockWithEntity.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/block/CustomBlockWithEntity.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/BlockEntityBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/BlockEntityBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/BlockSettingsBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/BlockSettingsBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/BlockStateBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/BlockStateBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/Bridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/Bridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/DamageSourceBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/DamageSourceBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/EntityBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/EntityBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/EventBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/EventBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/InventoryBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/InventoryBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/ItemSettingsBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/ItemSettingsBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/ItemStackBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/ItemStackBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/LivingEntityBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/LivingEntityBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/PlayerEntityBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/PlayerEntityBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/RegistryBridge.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/RegistryBridge.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/TagBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/TagBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/bridge/WorldBridges.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/bridge/WorldBridges.java

0
src/main/java/com/thebrokenrail/scriptcraft/api/item/CustomItem.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/api/item/CustomItem.java

0
src/main/java/com/thebrokenrail/scriptcraft/core/Bridge.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/Bridge.java

0
src/main/java/com/thebrokenrail/scriptcraft/core/OSUtil.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/OSUtil.java

0
src/main/java/com/thebrokenrail/scriptcraft/core/ScriptCraftCore.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/ScriptCraftCore.java

0
src/main/java/com/thebrokenrail/scriptcraft/core/ScriptCraftEntryPoint.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/ScriptCraftEntryPoint.java

0
src/main/java/com/thebrokenrail/scriptcraft/core/ValueUtil.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/ValueUtil.java

0
src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/JSException.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/JSException.java

0
src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/QuickJSManager.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/QuickJSManager.java

0
src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/QuickJSModules.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/QuickJSModules.java

0
src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/QuickJSNative.java → scriptcraft/src/main/java/com/thebrokenrail/scriptcraft/core/quickjs/QuickJSNative.java

0
src/main/resources/assets/scriptcraft/icon.png → scriptcraft/src/main/resources/assets/scriptcraft/icon.png

Before

Width: 32  |  Height: 32  |  Size: 2.8 KiB

After

Width: 32  |  Height: 32  |  Size: 2.8 KiB

0
src/main/resources/fabric.mod.json → scriptcraft/src/main/resources/fabric.mod.json

0
src/main/ts/.eslintrc.json → scriptcraft/src/main/ts/.eslintrc.json

0
src/main/ts/.gitignore → scriptcraft/src/main/ts/.gitignore

0
src/main/ts/.vscode/extensions.json → scriptcraft/src/main/ts/.vscode/extensions.json

0
src/main/ts/.vscode/settings.json → scriptcraft/src/main/ts/.vscode/settings.json

0
src/main/ts/package.json → scriptcraft/src/main/ts/package.json

0
src/main/ts/src/minecraft/block.ts → scriptcraft/src/main/ts/src/minecraft/block.ts

0
src/main/ts/src/minecraft/core.ts → scriptcraft/src/main/ts/src/minecraft/core.ts

0
src/main/ts/src/minecraft/entity.ts → scriptcraft/src/main/ts/src/minecraft/entity.ts

0
src/main/ts/src/minecraft/event.ts → scriptcraft/src/main/ts/src/minecraft/event.ts

0
src/main/ts/src/minecraft/index.ts → scriptcraft/src/main/ts/src/minecraft/index.ts

0
src/main/ts/src/minecraft/inventory.ts → scriptcraft/src/main/ts/src/minecraft/inventory.ts

0
src/main/ts/src/minecraft/item.ts → scriptcraft/src/main/ts/src/minecraft/item.ts

0
src/main/ts/src/minecraft/registry.ts → scriptcraft/src/main/ts/src/minecraft/registry.ts

0
src/main/ts/src/minecraft/tag.ts → scriptcraft/src/main/ts/src/minecraft/tag.ts

0
src/main/ts/src/minecraft/world.ts → scriptcraft/src/main/ts/src/minecraft/world.ts

1
scriptcraft/src/main/ts/tsconfig.json

@ -0,0 +1 @@
../../../../common/tsconfig.json

0
src/main/ts/typedoc.json → scriptcraft/src/main/ts/typedoc.json

0
src/main/ts/types/scriptcraft-core/index.d.ts → scriptcraft/src/main/ts/types/scriptcraft-core/index.d.ts

Loading…
Cancel
Save