Tags
Creators
Details
Licensed Apache-2.0
Published 3 years ago
Updated 3 years ago
All versions
0.0.4
Alpha
Sculk 0.0.43 years ago 197
Compatibility
Minecraft: Java Edition
1.20.4
Platform
Fabric
Supported environments
Client and server
Required content
Any compatible version
Changes
This version is probably very buggy because I added type requirements at the very end.
Added
randomInteger(min: Integer, max: Integer) -> IntegerrandomFloat(min: Float, max: Float) -> FloatString.length() -> IntegerString.uppercase() -> StringString.lowercase() -> StringNumbertype/class- variables/fields have optional required types
- functions have required return types
- function arguments have required types
- methods have required return types
- method arguments have required types
ItemStack.item
Changed
Eventsis now accessed from a static contextEntity.addCommandTag->Entity.addTagEntity.getCommandTags->Entity.getTagsEntity.removeCommandTag->Entity.removeTagEntity.dismountVehicle->Entity.dismountEntity.removeAllPassengers->Entity.removePassengersServerPlayerEntity.changeGameMode->ServerPlayerEntity.setGameMode- Integer now extends Float instead of Float extending Integer
Events.onPlayerAttackEntity->Events.onAttackEntityEvents.onPlayerBreakBlock->Events.onBreakBlockEvents.onPlayerCraftItem->Events.onCraftItemEvents.onPlayerDropItem->Events.onDropItemEvents.onPlayerJump->Events.onJumpEvents.onPlayerPickupItem->Events.onPickupItemEvents.onPlayerRingBell->Events.onRingBellEvents.onPlayerSneak->Events.whileSneakingEvents.onPlayerUseItem->Events.onRightClickItemEvents.onPlayerSendChatMessage->Events.onSendChatMessage
Fixed
- Dictionaries don't work in nbt elements
- Overriding
toStringdoes nothing - A class with no constructor takes an infinite amount of arguments
Improved
- Error messages
Removed
- Resource syntax due to conflict with variable declaration parsing
New syntax:namespace:path->"namespace:path"
Resources are just strings.
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| sculk-0.0.4-sources.jar | Unknown | 161.83 KiB |
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:eyixqFsI:Z3awjZdf"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:eyixqFsI:Z3awjZdf"
}

