Compatibility
Minecraft: Java Edition
1.20.4
Platforms
Supported environments
Creators
Details
Licensed Apache-2.0
Published 2 years ago
Updated 2 years ago
Changelog
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.
Dependencies
Metadata
Release channel
AlphaVersion number
0.0.4Loaders
Game versions
1.20.4Downloads
146Publication date
February 15, 2024 at 1:36 AMPublisher

RevolvingMadness
Member


