nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)

Sculk 0.0.4

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 context
  • Entity.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

Files

sculk-0.0.4.jar(531.14 KiB) Primary Download
sculk-0.0.4-sources.jar(161.83 KiB) Download

External resources


Project members

RevolvingMadness

Member


Technical information

License
Apache-2.0
Client side
required
Server side
required
Project ID