Skip to content
Success

Changes

Summary

  1. Only grab the latest build in the Updater check (commit: acc50ac) (details)
  2. Add support for not showing bad builds (commit: bca9230) (details)
  3. Only throw exception when actually unexpected ClassType (commit: 5520430) (details)
  4. Persist environment between commands in in-game interpreter. (commit: 924498a) (details)
  5. checkstyle (commit: 0bface4) (details)
  6. Make transformation values optional in set_display_entity (commit: 2955b57) (details)
  7. Add stop_sound_category() (commit: b92ea87) (details)
  8. Just run the code if x_run_on_main_thread_now is called on main thread, instead of crashing. (commit: 15b5e3e) (details)
  9. Update class type rewriting (commit: 552f380) (details)
  10. Fix floats from math_const() (commit: 623a9bb) (details)
  11. Fix some empty statements in tests (commit: a1c7f5d) (details)
  12. Fix ArgumentValidation.getDouble32() (commit: e0ce000) (details)
  13. Fix ArgumentValidation.getDouble32() from last commit (commit: 715e720) (details)
  14. Add support replacement as closure in reg_replace (#1380) (commit: fa2eeb5) (details)
  15. Fix sqlite in cmdline (commit: eb3b3a0) (details)
  16. Add x_get_lock, synchronized changes (#1381) (commit: a019b99) (details)
  17. Fix recursive x_get_lock calls (commit: 9eaa7aa) (details)
  18. Fix empty block comment support (commit: 4b063b0) (details)
  19. Fix crash when pitch is not finite. (commit: 986dadb) (details)
  20. Add 'startinterpolation' and 'interpolationduration' for display entities (commit: 7ef66d9) (details)
  21. Don't use bukkit transformation matrix. (commit: b0171d2) (details)
  22. checkstyle (commit: 1a6d305) (details)
  23. checkstyle (commit: 1afa865) (details)
  24. Add string_compare function and support integer return type in array_sort function (#1374) (commit: ab8b6c9) (details)
  25. Shade joml so cmdline/VSC doesn't break (commit: a4a8bdf) (details)
  26. Add get_transformation_from_matrix (commit: 11f1b13) (details)
  27. Add set_entity_rotation (commit: c67c16f) (details)
  28. Allow one non-double in equals_epsilon (commit: 9bd7984) (details)
  29. Use Versioning package instead of deprecated service version (commit: dbb0e39) (details)
  30. Add support for Minecraft 1.20.6 (commit: 84f1af4) (details)
  31. Build with JDK 21 (commit: 27ad87d) (details)
  32. Add snapshot repo for adventure-api (commit: 303fb73) (details)
  33. Fix build against latest Spigot changes (commit: e51c79f) (details)
  34. Allow spectating non-living entities (commit: 0288d3f) (details)
Commit acc50acb6f8913ea3e206d7d1089c1197df34d89 by LadyCailin
Only grab the latest build in the Updater check
(commit: acc50ac)
The file was addedsrc/main/java/io/swagger/client/model/BuildsArtifactBody.java
The file was modifiedsrc/main/java/io/swagger/client/api/BuildsApi.java (diff)
The file was modifiedsrc/main/resources/apps.methodscript.com/main.tsp (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/Updater.java (diff)
The file was modifiedscripts/bash/update-apps-api (diff)
The file was modifiedscripts/windows/update-apps-api.ps1 (diff)
Commit bca92309741c3904da8f8b48589091871cff58f2 by LadyCailin
Add support for not showing bad builds
(commit: bca9230)
The file was modifiedpom.xml (diff)
The file was modifiedsrc/main/java/io/swagger/client/model/BuildArtifact.java (diff)
The file was modifiedsrc/main/resources/siteDeploy/resources/js/download.js (diff)
The file was modifiedsrc/main/resources/apps.methodscript.com/main.tsp (diff)
Commit 55204302e221066a1baa4adb38d8785b7929b49b by PseudoKnight
Only throw exception when actually unexpected ClassType
(commit: 5520430)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Compiler.java (diff)
Commit 924498aa14dc7b2ac11b82930ea6ec09c08547a5 by LadyCailin
Persist environment between commands in in-game interpreter.
(commit: 924498a)
The file was modifiedsrc/main/java/com/laytonsmith/commandhelper/CommandHelperInterpreterListener.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/compiler/analysis/StaticAnalysis.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/commandhelper/CommandHelperPlugin.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/commandhelper/CommandHelperInterpreterListener.java (diff)
Commit 2955b5731efdc026e20fd67f731c0fe584100bef by LadyCailin
Make transformation values optional in set_display_entity
(commit: 2955b57)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCPlayer.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/PlayerManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCPlayer.java (diff)
Commit 15b5e3e9a2c2d2c43a4da8114fb118cd5382f51a by LadyCailin
Just run the code if x_run_on_main_thread_now is called on main thread, instead of crashing.
(commit: 15b5e3e)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Threading.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitConvertor.java (diff)
Commit 552f38052643391e544636cada91b9b2c83923f9 by Pieter12345
Update class type rewriting

- Move bare strings / concat class type re-parsing up to keep the re-parsing logic in one location.
- Do not handle bare string/concat types as types if they do not match the type regex (do not throw "Unexpected data after ClassType" in these cases).
- Handle deeper nested bare string concats as types (e.g. `my.custom.type.with.more.than.two.concats`).
(commit: 552f380)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Compiler.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Math.java (diff)
Commit a1c7f5d80e2adb2c6e689e31231a39f63ba3f590 by PseudoKnight
Fix some empty statements in tests
(commit: a1c7f5d)
The file was modifiedsrc/test/java/com/laytonsmith/core/MethodScriptCompilerTest.java (diff)
Commit e0ce0000adf6ced57325223363e43847c6843e1b by PseudoKnight
Fix ArgumentValidation.getDouble32()

Float precision check would unexpectedly throw an exception on certain valid values. This changes it to a range check.
(commit: e0ce000)
The file was modifiedsrc/main/java/com/laytonsmith/core/ArgumentValidation.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/ByteArrays.java (diff)
Commit 715e72053335b08a1747bbd34692a964124c88db by PseudoKnight
Fix ArgumentValidation.getDouble32() from last commit
(commit: 715e720)
The file was modifiedsrc/main/java/com/laytonsmith/core/ArgumentValidation.java (diff)
Commit fa2eeb562b1a7c8198e959a06b70fcd2ce7c4800 by noreply
Add support replacement as closure in reg_replace (#1380)

* Add support replacement as closure

* Add support replacement as closure for 'replace'

* Strict reg_replace optimization

* Add check for CClosure

* Сorrect a typo

* Fix doc and example
(commit: fa2eeb5)
The file was modified.gitignore (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Regex.java (diff)
The file was modifiedsrc/test/java/com/laytonsmith/core/OptimizationTest.java (diff)
The file was modifiedsrc/test/java/com/laytonsmith/core/functions/RegexTest.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/ObjectGenerator.java (diff)
Commit eb3b3a0296ebfa67ae336ae22f47cc3921050e74 by PseudoKnight
Fix sqlite in cmdline

oauth2 and jedis also use slf4j-api and may have been affected.
(commit: eb3b3a0)
The file was modifiedpom.xml (diff)
Commit a019b99040b2c3fd5a91d164feb326da025aa2d6 by noreply
Add x_get_lock, synchronized changes (#1381)

(commit: a019b99)
The file was addedsrc/main/java/com/laytonsmith/PureUtilities/Quadruplet.java
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/AbstractConvertor.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/StaticLayer.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Threading.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/XGUI.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/tools/Interpreter.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/Convertor.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitConvertor.java (diff)
The file was modifiedsrc/test/java/com/laytonsmith/testing/StaticTest.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/ResourceManager.java (diff)
Commit 9eaa7aacb233775eb0d2426900a1a04708f71491 by LadyCailin
Fix recursive x_get_lock calls
(commit: 9eaa7aa)
The file was addedsrc/main/resources/functionDocs/x_get_lock
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Threading.java (diff)
Commit 4b063b063862de87db49c76712a85ced7fac3693 by Pieter12345
Fix empty block comment support

Fixes `/**/` being seen as a smart block comment start.
(commit: 4b063b0)
The file was modifiedsrc/main/java/com/laytonsmith/core/MethodScriptCompiler.java (diff)
Commit 986dadbce93c11232ea8936cabb13757c49d78fc by LadyCailin
Fix crash when pitch is not finite.

Also, accept "minecraft:white_dye" type format for item types.
(commit: 986dadb)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitConvertor.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/InventoryManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
Commit 7ef66d9d24d01be37dec2744f8a6cf35363eec4a by PseudoKnight
Add 'startinterpolation' and 'interpolationduration' for display entities
(commit: 7ef66d9)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCDisplay.java (diff)
Commit b0171d2925e0d1c34c1932d9ac8ab2d03332d069 by LadyCailin
Don't use bukkit transformation matrix.

By default, the setTransformationMatrix method in Display entity doesn't
follow the same format as Minecraft itself. This change aligns that, so
that the input format is exactly the same as minecraft format. The
object input type is unchanged.
(commit: b0171d2)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
Commit ab8b6c98438e8c346a22e42bf0e36a6fc9f57b3e by noreply
Add string_compare function and support integer return type in array_sort function (#1374)

* Add string_compare function

* Support integer return type in array_sort closure

* Add string_compare_ic function
(commit: ab8b6c9)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/StringHandling.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/ArrayHandling.java (diff)
Commit a4a8bdf93cb5ec970e88665df2502408e309d29a by LadyCailin
Shade joml so cmdline/VSC doesn't break
(commit: a4a8bdf)
The file was modifiedpom.xml (diff)
Commit 11f1b1332e685047eafd7bf6319d58cc0598ee81 by LadyCailin
Add get_transformation_from_matrix
(commit: 11f1b13)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCEntity.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCEntity.java (diff)
Commit 9bd7984f6366ce5ae5ae4836ec41b837e6c46c8e by LadyCailin
Allow one non-double in equals_epsilon
(commit: 9bd7984)
The file was modifiedsrc/main/resources/samp_main.txt (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/BasicLogic.java (diff)
Commit dbb0e3967fea326dd87d65e39c369e68b0f762f2 by LadyCailin
Use Versioning package instead of deprecated service version
(commit: dbb0e39)
The file was modifiedsrc/main/resources/apps.methodscript.com/main.tsp (diff)
The file was modifiedsrc/main/resources/apps.methodscript.com/package.json (diff)
The file was modifiedsrc/main/resources/apps.methodscript.com/package-lock.json (diff)
Commit 84f1af4764fa93fc4809696969fdbce2112ec4ac by PseudoKnight
Add support for Minecraft 1.20.6

Adds armadillos, wolf variants, new attributes, sounds, particles, materials, potion effects, hide flags, etc

API Changes:
* SCUTE item has been renamed to TURTLE_SCUTE
* In potion item meta, the potion array under the "base" key was replaced by a "potiontype" string
* In enchantment item meta, the arrays under the "enchants" key have had the "etype" key removed
(commit: 84f1af4)
The file was addedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCEnchantment.java
The file was modifiedsrc/main/java/com/laytonsmith/core/events/drivers/InventoryEvents.java (diff)
The file was removedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCEnchantment.java
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Environment.java (diff)
The file was modifiedsrc/test/java/com/laytonsmith/testing/StaticTest.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCPotionMeta.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCItemStack.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCPlayer.java (diff)
The file was addedsrc/main/java/com/laytonsmith/abstraction/enums/MCEquipmentSlotGroup.java
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCPotionEffectType.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCItemFlag.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCEntityProjectileSource.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/ItemMeta.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/commandhelper/CommandHelperPlugin.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/entities/MCWolf.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCAttribute.java (diff)
The file was removedsrc/main/java/com/laytonsmith/abstraction/enums/MCWolfType.java
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCLegacyMaterial.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCItemStack.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCWolf.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/ObjectGenerator.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCPatternShape.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCTrimPattern.java (diff)
The file was modifiedsrc/main/resources/docs/Upgrade_Guide (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCPotionMeta.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/World.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCEnchantmentOffer.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCTrimPattern.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCEntityType.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/entities/MCArrow.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/events/MCEnchantItemEvent.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCSound.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCEffect.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCItemFlag.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCItemMeta.java (diff)
The file was removedsrc/main/java/com/laytonsmith/abstraction/MCEnchantment.java
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCParticle.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCGameRule.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCPotionEffectType.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/blocks/MCMaterial.java (diff)
The file was modifiedsrc/main/resources/functionDocs/get_itemmeta (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCEnchantmentStorageMeta.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCAreaEffectCloud.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCVersion.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCAttribute.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitConvertor.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCAttributeModifier.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCArrow.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCPotionType.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCEntityType.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/StaticLayer.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCWorld.java (diff)
The file was addedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCBogged.java
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/entities/MCAreaEffectCloud.java (diff)
The file was modifiedsrc/main/resources/functionDocs/entity_spec (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCBlockStateMeta.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCEntity.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCLivingEntity.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCParticle.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Enchantments.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/Convertor.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCAttributeModifier.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCEnchantmentStorageMeta.java (diff)
The file was addedsrc/main/java/com/laytonsmith/abstraction/entities/MCBogged.java
The file was addedsrc/main/java/com/laytonsmith/abstraction/enums/MCEnchantment.java
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCEntity.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCPotionType.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCEnchantmentOffer.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCItemMeta.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/events/BukkitInventoryEvents.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCPotionData.java (diff)
The file was modifiedpom.xml (diff)
The file was modifiedsrc/main/java/com/laytonsmith/tools/Interpreter.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCInventoryType.java (diff)
The file was modified.github/workflows/maven-publish.yml (diff)
The file was modified.github/workflows/maven.yml (diff)
Commit 303fb73b5c810b834647c4fcfced821f3a63f365 by PseudoKnight
Add snapshot repo for adventure-api
(commit: 303fb73)
The file was modifiedpom.xml (diff)
Commit e51c79fe2817767fe84322f41f7985f39c4ca8cd by PseudoKnight
Fix build against latest Spigot changes
(commit: e51c79f)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/enums/MCParticle.java (diff)
The file was modifiedsrc/main/resources/docs/Compatibility (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/events/BukkitPlayerEvents.java (diff)
Commit 0288d3f2d395a20178c6cf6f01c36ac9c4d405b7 by PseudoKnight
Allow spectating non-living entities

This previously prevented an old bug that no longer exists.
(commit: 0288d3f)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/PlayerManagement.java (diff)