Compatibility
Minecraft: Java Edition
1.20.4
Platforms
Fabric
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed Apache-2.0
Published 9 months ago
Updated 8 months ago
Changelog
This version is probably very buggy because I added type requirements at the very end.
Added
randomInteger(min: Integer, max: Integer) -> Integer
randomFloat(min: Float, max: Float) -> Float
String.length() -> Integer
String.uppercase() -> String
String.lowercase() -> String
Number
type/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
Events
is now accessed from a static contextEntity.addCommandTag
->Entity.addTag
Entity.getCommandTags
->Entity.getTags
Entity.removeCommandTag
->Entity.removeTag
Entity.dismountVehicle
->Entity.dismount
Entity.removeAllPassengers
->Entity.removePassengers
ServerPlayerEntity.changeGameMode
->ServerPlayerEntity.setGameMode
- Integer now extends Float instead of Float extending Integer
Events.onPlayerAttackEntity
->Events.onAttackEntity
Events.onPlayerBreakBlock
->Events.onBreakBlock
Events.onPlayerCraftItem
->Events.onCraftItem
Events.onPlayerDropItem
->Events.onDropItem
Events.onPlayerJump
->Events.onJump
Events.onPlayerPickupItem
->Events.onPickupItem
Events.onPlayerRingBell
->Events.onRingBell
Events.onPlayerSneak
->Events.whileSneaking
Events.onPlayerUseItem
->Events.onRightClickItem
Events.onPlayerSendChatMessage
->Events.onSendChatMessage
Fixed
- Dictionaries don't work in nbt elements
- Overriding
toString
does 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.
Dependencies
Metadata
Release channel
AlphaVersion number
0.0.4Loaders
Game versions
1.20.4Downloads
80Publication date
February 15, 2024 at 1:36 AMPublisher
RevolvingMadness
Member