Commit
ada3b56fc620c96b45b50424401b92fdaa6f848b
by PseudoKnight Allow set_entity_rotation() on players when possible Currently only supported on Paper 1.19 or above (commit: ada3b56 ) The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/tools/docgen/sitedeploy/SiteDeploy.java The file was modified src/main/java/com/laytonsmith/core/AliasCore.java The file was modified src/main/java/com/laytonsmith/core/Script.java The file was modified src/main/java/com/laytonsmith/core/functions/Meta.java
Commit
436c4a092f98a226d8c441e72978c68910fd7eed
by noreply Sleeping ignored (#1398) Adds is/set_player_sleeping_ignored. (commit: 436c4a0 ) The file was modified src/main/java/com/laytonsmith/abstraction/MCPlayer.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCPlayer.java The file was modified src/main/java/com/laytonsmith/core/functions/PlayerManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCCreatureSpawner.java The file was modified src/main/java/com/laytonsmith/core/functions/Minecraft.java
Commit
b7323b536d993c2ae6f6fbe1a8ad20d28eda2bc4
by PseudoKnight Document empty value in get_server_info() Server name no longer exists in server.properties (commit: b7323b5 ) The file was modified src/main/java/com/laytonsmith/core/functions/Minecraft.java The file was modified src/main/java/com/laytonsmith/abstraction/MCServer.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCServer.java The file was modified src/main/java/com/laytonsmith/core/functions/PlayerManagement.java The file was modified src/main/java/com/laytonsmith/core/functions/Echoes.java The file was modified src/main/java/com/laytonsmith/core/functions/PlayerManagement.java The file was modified src/main/java/com/laytonsmith/core/functions/Sandbox.java The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCLivingEntity.java The file was modified src/main/java/com/laytonsmith/abstraction/MCLivingEntity.java The file was modified src/main/java/com/laytonsmith/core/constructs/CClosure.java The file was modified src/main/java/com/laytonsmith/core/exceptions/ConfigRuntimeException.java
Commit
a0ce6418e86346f2a9fd8a80de1dee44fd8dfd7b
by PseudoKnight Expand support for exact recipe ingredients * Fixes error on exact ingredient array construction * Adds exact ingredient support for cooking and stonecutting recipes * Adds support for removing non-vanilla recipes (commit: a0ce641 ) The file was modified src/main/java/com/laytonsmith/abstraction/MCStonecuttingRecipe.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCMerchantRecipe.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCCookingRecipe.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCServer.java The file was removed src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCFurnaceRecipe.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitConvertor.java The file was modified src/main/java/com/laytonsmith/core/ObjectGenerator.java The file was modified src/main/java/com/laytonsmith/abstraction/MCShapelessRecipe.java The file was added src/main/java/com/laytonsmith/abstraction/MCRecipeChoice.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCShapelessRecipe.java The file was modified src/main/java/com/laytonsmith/abstraction/MCCookingRecipe.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCStonecuttingRecipe.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCRecipe.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCShapedRecipe.java The file was modified src/main/java/com/laytonsmith/abstraction/MCShapedRecipe.java
Commit
e8dbc3d39cb888aa585f7ea6f9fd44da7ab9c56c
by PseudoKnight Fix poor uses of Construct.nval() Generally poor to use nval() in a conditional since it could build a string when just checking for a null. In other cases, nval() is unnecessary when args have already been asserted as non-null. (commit: e8dbc3d ) The file was modified src/main/java/com/laytonsmith/core/functions/Meta.java The file was modified src/main/java/com/laytonsmith/core/functions/Echoes.java The file was modified src/main/java/com/laytonsmith/core/functions/StringHandling.java The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCEntity.java The file was modified src/main/java/com/laytonsmith/abstraction/MCEntity.java The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/core/events/drivers/InventoryEvents.java
Commit
3c56d0ab022656416cb44248c0cfccf0d7fe977a
by PseudoKnight Convert consumable effect tp cause While Paper's new CONSUMABLE_EFFECT cause has a better name, this keeps the current CHORUS_FRUIT value to avoid breaking existing scripts for now. (commit: 3c56d0a ) The file was modified src/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCTeleportCause.java The file was modified src/main/java/com/laytonsmith/core/events/drivers/PlayerEvents.java
Commit
3bd72827d94337006e0613610434e2bc61692326
by PseudoKnight Add new data to item meta The following fields were added: * maxstacksize (1.20.6) * maxdamage (1.20.6) * glint (1.20.6) * rarity (1.20.6) * ominousamplifier (1.20.6) * jukeboxsong (1.21) * enchantability (1.21.3) * food (1.21.3) (commit: 3bd7282 ) The file was added src/main/java/com/laytonsmith/abstraction/enums/MCItemRarity.java The file was added src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCFoodComponent.java The file was modified src/main/java/com/laytonsmith/core/ObjectGenerator.java The file was added src/main/java/com/laytonsmith/abstraction/MCFoodComponent.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCInventory.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCItemMeta.java The file was added src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCOminousBottleMeta.java The file was modified src/main/java/com/laytonsmith/abstraction/MCItemMeta.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCItemStack.java The file was added src/main/java/com/laytonsmith/abstraction/MCOminousBottleMeta.java The file was modified src/main/java/com/laytonsmith/abstraction/MCItemStack.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitConvertor.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCWorld.java The file was modified src/main/java/com/laytonsmith/core/functions/Minecraft.java The file was modified src/main/resources/functionDocs/get_itemmeta The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCItemMeta.java The file was modified src/main/java/com/laytonsmith/abstraction/MCItemMeta.java The file was modified src/main/java/com/laytonsmith/core/ObjectGenerator.java The file was modified src/main/resources/functionDocs/get_itemmeta The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCPlayer.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCPlayerStatistic.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCSoundCategory.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCUnleashReason.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCEntityType.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCAttribute.java The file was modified src/main/resources/docs/Compatibility The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCVersion.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCGameRule.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCSound.java The file was modified src/main/java/com/laytonsmith/abstraction/blocks/MCMaterial.java The file was modified src/main/java/com/laytonsmith/core/ObjectGenerator.java The file was modified src/main/java/com/laytonsmith/abstraction/MCSkullMeta.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCSkullMeta.java The file was modified src/main/resources/functionDocs/get_itemmeta The file was modified src/main/java/com/laytonsmith/core/functions/Environment.java The file was modified src/main/java/com/laytonsmith/core/functions/MobManagement.java The file was modified src/main/java/com/laytonsmith/core/functions/Trades.java The file was modified src/main/java/com/laytonsmith/core/functions/PlayerManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/blocks/MCMaterial.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCSound.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCVersion.java The file was modified src/main/resources/docs/Compatibility The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCArt.java
Commit
d799f3fdcf64d865fe2bf59bdba008149627a18d
by Pieter12345 Remove unused static environment in C test util class (commit: d799f3f ) The file was modified src/test/java/com/laytonsmith/testing/C.java
Commit
eb2ca09281c1de0ad9d4a976cb5d8707740e3c90
by Pieter12345 Move impl init/deinit to implementation test base class Move `Implementation.setServerType(Implementation.Type.TEST);` and `StaticTest.InstallFakeServerFrontend();` from many test classes to `AbstractImplementationTest` and use that as parent class of those classes. Fixes individual tests failing in the IDE and occasional test failures in the automated Linux build. (commit: eb2ca09 ) The file was modified src/test/java/com/laytonsmith/core/functions/StringHandlingTest.java The file was modified src/test/java/com/laytonsmith/core/functions/PlayerManangementTest.java The file was modified src/test/java/com/laytonsmith/core/functions/SchedulingTest.java The file was modified src/test/java/com/laytonsmith/testing/ProcedureTest.java The file was modified src/test/java/com/laytonsmith/PureUtilities/ReflectionUtilsTest.java The file was modified src/test/java/com/laytonsmith/core/NewExceptionHandlingTest.java The file was modified src/test/java/com/laytonsmith/core/functions/BasicLogicTest.java The file was modified src/test/java/com/laytonsmith/core/functions/MathTest.java The file was modified src/test/java/com/laytonsmith/core/constructs/ClassInfoTest.java The file was modified src/test/java/com/laytonsmith/core/asm/IRMetadataTest.java The file was modified src/test/java/com/laytonsmith/core/functions/ObjectManagementTest.java The file was modified src/test/java/com/laytonsmith/core/events/PrefiltersTest.java The file was modified src/test/java/com/laytonsmith/core/functions/ArrayHandlingTest.java The file was modified src/test/java/com/laytonsmith/core/functions/ThreadingTest.java The file was modified src/test/java/com/laytonsmith/core/VarargTest.java The file was modified src/test/java/com/laytonsmith/core/constructs/EnumTest.java The file was modified src/test/java/com/laytonsmith/core/functions/MetaTest.java The file was added src/test/java/com/laytonsmith/testing/AbstractIntegrationTest.java The file was modified src/test/java/com/laytonsmith/core/OptimizationTest.java The file was modified src/test/java/com/laytonsmith/core/compiler/signatures/FunctionSignaturesTest.java The file was modified src/test/java/com/laytonsmith/core/functions/ControlFlowTest.java The file was modified src/test/java/com/laytonsmith/core/StaticAnalysisTest.java The file was modified src/test/java/com/laytonsmith/core/constructs/InstanceofUtilTest.java The file was modified src/test/java/com/laytonsmith/core/TestStatic.java The file was modified src/test/java/com/laytonsmith/tools/SyntaxHighlightersTest.java The file was modified src/test/java/com/laytonsmith/core/objects/ObjectDefinitionTableTest.java The file was modified src/test/java/com/laytonsmith/core/functions/MinecraftTest.java The file was modified src/test/java/com/laytonsmith/core/MethodScriptCompilerTest.java The file was modified src/test/java/com/laytonsmith/core/functions/RegexTest.java The file was modified src/test/java/com/laytonsmith/testing/StaticTest.java The file was modified src/test/java/com/laytonsmith/persistence/TestPersistence.java The file was modified src/test/java/com/laytonsmith/core/functions/DataHandlingTest.java The file was modified src/test/java/com/laytonsmith/core/CodeTargetTest.java The file was modified src/test/java/com/laytonsmith/core/events/GeneralTest.java The file was modified src/test/java/com/laytonsmith/core/functions/EchoesTest.java The file was modified src/test/java/com/laytonsmith/core/constructs/TestCClassType.java The file was modified src/test/java/com/laytonsmith/testing/RandomTests.java The file was modified src/test/java/com/laytonsmith/core/functions/DataTransformationsTest.java The file was modified src/test/java/com/laytonsmith/testing/ArrayTest.java
Commit
2a530d5983512e7edba42f4a714fd274f53bd84a
by Pieter12345 Make more tests extend AbstractIntegrationTest Prevent potential issues when running tests standalone or in arbitrary order. (commit: 2a530d5 ) The file was modified src/test/java/com/laytonsmith/core/functions/PermissionsTest.java The file was modified src/test/java/com/laytonsmith/core/ScriptTest.java The file was modified src/test/java/com/laytonsmith/core/functions/CryptoTest.java The file was modified src/test/java/com/laytonsmith/core/asm/AsmIntegrationTests.java
Commit
c97a853c773199af2ae8a478b17c73694b6a0458
by noreply Add vscode presetting and entity toggle swim event (#1399) * Add vscode presetting and entity toggle swim event * Replace matches to prefilter builder * Fix doc (commit: c97a853 ) The file was added .vscode/extensions.json The file was modified src/main/java/com/laytonsmith/core/events/Driver.java The file was added src/main/java/com/laytonsmith/abstraction/events/MCEntityToggleSwimEvent.java The file was modified .gitignore The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/events/drivers/BukkitEntityListener.java The file was added src/main/java/com/laytonsmith/abstraction/events/MCEntityEvent.java The file was added .vscode/java-formatter.xml The file was added .vscode/settings.json The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/events/BukkitEntityEvents.java The file was modified src/main/java/com/laytonsmith/core/events/drivers/EntityEvents.java The file was added src/main/java/com/laytonsmith/core/events/prefilters/OptionalPlayerPrefilterMatcher.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCWorld.java The file was modified src/main/java/com/laytonsmith/abstraction/MCWorld.java The file was modified src/main/java/com/laytonsmith/core/functions/World.java The file was added src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCOminousItemSpawner.java The file was added src/main/java/com/laytonsmith/abstraction/entities/MCOminousItemSpawner.java The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/resources/functionDocs/entity_spec The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCSpawnReason.java
Commit
b945de582385efbd5818437925b67ca8387de541
by Pieter12345 Fix eval() not returning some script results Fix `eval()` not returning the resulting script string if the script consists of a `__statements__()` node with one child, which could be an expression that leads to a value. Example that is fixed by this change: `msg(eval(dyn('bind(\'shutdown\', null, null, @e, msg(123))')))` (commit: b945de5 ) The file was modified src/main/java/com/laytonsmith/core/functions/DataHandling.java The file was modified src/main/resources/functionDocs/entity_spec The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java
Commit
b6f6a7b8544627fdbdaf815859dbe06277b7323b
by PseudoKnight Fix getting BlockStateMeta prior to 1.20 Affected getting this type of item meta (e.g. shulker boxes and banners) prior to 1.20, and setting this type of meta from 1.18.2 to 1.19.4. (commit: b6f6a7b ) The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCBlockStateMeta.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCWorld.java The file was modified src/main/java/com/laytonsmith/core/functions/World.java The file was modified src/main/java/com/laytonsmith/abstraction/MCWorld.java
Commit
261a1e83f526e34d41d09239fdd7e1b2e8e418f8
by PseudoKnight Add support for Minecraft 1.21.9 * Material "CHAIN" changed to "IRON_CHAIN" (commit: 261a1e8 ) The file was modified src/main/resources/docs/Upgrade_Guide The file was added src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCMannequin.java The file was modified src/main/resources/docs/Compatibility The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCParticle.java The file was modified src/main/java/com/laytonsmith/core/functions/World.java The file was modified src/main/java/com/laytonsmith/abstraction/MCParticleData.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCPlayer.java The file was modified pom.xml The file was modified src/main/java/com/laytonsmith/abstraction/blocks/MCMaterial.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCGameRule.java The file was added src/main/java/com/laytonsmith/abstraction/entities/MCMannequin.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCSpawnReason.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCParticle.java The file was modified src/main/java/com/laytonsmith/core/functions/Environment.java The file was modified src/main/resources/functionDocs/entity_spec The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCEntityType.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCSound.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCVersion.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCLegacyMaterial.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCWorld.java The file was modified src/main/java/com/laytonsmith/commandhelper/CommandHelperPlugin.java The file was modified src/main/java/com/laytonsmith/core/ObjectGenerator.java
Commit
0c1dcff43528049246c05f34e143b4fb8eb83aaa
by PseudoKnight Remove missing artifacts from shading These were not being included and were unused. (commit: 0c1dcff ) The file was modified pom.xml The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was added src/main/java/com/laytonsmith/abstraction/enums/MCPose.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCEntity.java The file was added src/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCPose.java The file was modified src/main/java/com/laytonsmith/abstraction/MCEntity.java
Commit
f696e0629e9803d580fba18d9c476c3e60dcd99c
by Pieter12345 Fix uncaught Error in ifelse() Fix Java Error being thrown for `ifelse()` without arguments. (commit: f696e06 ) The file was modified src/main/java/com/laytonsmith/core/functions/ControlFlow.java The file was modified src/main/java/com/laytonsmith/core/functions/ControlFlow.java
Commit
d8fe6d8a6d99536a5a64a6a77e2390ba5d8fc816
by Pieter12345 Fix ifelse() optimization Fixup for the previous commit. (commit: d8fe6d8 ) The file was modified src/main/java/com/laytonsmith/core/functions/ControlFlow.java
Commit
ea73543dbfc41c51892f640abed0c2a19b486fb7
by PseudoKnight Fix some issues in set_entity_pose() * Fix exception when setting poses on Spigot * Fix being able to set poses for Mannequins on Spigot * Fix exception when Mannequins are set to now invalid poses * Add 'fixed' argument for function on Paper servers (commit: ea73543 ) The file was modified src/main/java/com/laytonsmith/abstraction/MCEntity.java The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCEntity.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCMannequin.java
Commit
3767063cb3511256090713c00a59a1c4dd656514
by LadyCailin Update azure-pipelines.yml for Azure Pipelines (commit: 3767063 ) The file was modified azure-pipelines.yml
Commit
eb8bd9288a40a4a9836c621430c203f0efe9bb66
by LadyCailin Update azure-pipelines.yml for Azure Pipelines (commit: eb8bd92 ) The file was modified azure-pipelines.yml The file was modified src/main/resources/docs/Operators The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCInventoryType.java
Commit
0bed6bdcc157f74be4f027ee25c08ec6bcc9d296
by Pieter12345 Include cause on getAbstractCREException() failure (commit: 0bed6bd ) The file was modified src/main/java/com/laytonsmith/core/exceptions/CRE/AbstractCREException.java
Commit
4575c8386abd638e6cb7886b0a99350e523e7e8d
by Pieter12345 Typecheck return() Typecheck `return;` and `return @val;` value against its expected type from the surrounding procedure, closure or bind. (commit: 4575c83 ) The file was modified src/main/java/com/laytonsmith/core/functions/EventBinding.java The file was modified src/main/java/com/laytonsmith/core/compiler/analysis/Namespace.java The file was added src/main/java/com/laytonsmith/core/compiler/analysis/ReturnableDeclaration.java The file was modified src/main/java/com/laytonsmith/core/functions/DataHandling.java The file was modified src/main/java/com/laytonsmith/core/compiler/analysis/IncludeReference.java The file was added src/main/java/com/laytonsmith/core/compiler/analysis/ReturnableReference.java The file was modified src/main/java/com/laytonsmith/core/functions/ControlFlow.java
Commit
17cdf6f1145d680876a79153230727e4874f17a9
by Pieter12345 Validate break() and continue() Validate that `break()` and `continue()` are used within breakable / continuable code blocks during static analysis. (commit: 17cdf6f ) The file was added src/main/java/com/laytonsmith/core/compiler/analysis/BreakableReference.java The file was added src/main/java/com/laytonsmith/core/compiler/analysis/ContinuableReference.java The file was modified src/main/java/com/laytonsmith/core/functions/ControlFlow.java The file was added src/main/java/com/laytonsmith/core/compiler/analysis/BreakableBoundDeclaration.java The file was added src/main/java/com/laytonsmith/core/compiler/analysis/BreakableDeclaration.java The file was modified src/main/java/com/laytonsmith/core/functions/DataHandling.java The file was modified src/main/java/com/laytonsmith/core/functions/EventBinding.java The file was added src/main/java/com/laytonsmith/core/compiler/analysis/ContinuableBoundDeclaration.java The file was modified src/main/java/com/laytonsmith/core/compiler/analysis/Namespace.java The file was added src/main/java/com/laytonsmith/core/compiler/analysis/ContinuableDeclaration.java The file was modified src/main/java/com/laytonsmith/core/functions/ArrayHandling.java The file was modified src/main/java/com/laytonsmith/core/natives/interfaces/ArrayAccess.java The file was modified src/main/java/com/laytonsmith/core/natives/interfaces/ArrayAccess.java The file was modified src/main/java/com/laytonsmith/core/functions/ArrayHandling.java
Commit
44a89e18f7374d395793baee29b938d7ec9d5d75
by LadyCailin Add matrix functions. This adds support for basic matrix math. In general, doing this natively should be much faster, as the underlying data remains a native java array of doubles, so no wrapping and unwrapping needs to occur for the various math operations. This library may be expanded in the future to cover more linear algebra scenarios, but the basic functionality is in place now. (commit: 44a89e1 ) The file was added src/main/java/com/laytonsmith/core/natives/interfaces/Matrix.java The file was added src/main/java/com/laytonsmith/core/functions/MatrixHandling.java The file was added src/main/java/com/laytonsmith/core/natives/interfaces/AbstractMixed.java The file was added src/test/java/com/laytonsmith/core/constructs/CReal2dMatrixTest.java The file was added src/main/java/com/laytonsmith/core/natives/interfaces/MatrixRunner.java The file was modified nb-configuration.xml The file was added src/main/java/com/laytonsmith/core/constructs/CReal2dMatrix.java The file was added src/main/java/com/laytonsmith/core/natives/interfaces/AbstractMixedClass.java The file was modified pom.xml
Commit
be6ad5e809e9c1da30fa16bac568280f160d0655
by LadyCailin Support setting individual values in a matrix. Calling @matrix[@x] now returns a CReal2dMatrixRow, which supports the set operation, passing it through into the parent object. This also creates the ArrayAccessSet, and defines the set method on that, and refactors array_set to support that instead of special casing individual array types. (commit: be6ad5e ) The file was modified src/main/java/com/laytonsmith/core/functions/MatrixHandling.java The file was added src/main/java/com/laytonsmith/core/natives/interfaces/ArrayAccessSetRunner.java The file was modified src/main/java/com/laytonsmith/core/functions/asm/DataHandling.java The file was modified src/main/java/com/laytonsmith/core/constructs/CReal2dMatrix.java The file was added src/main/java/com/laytonsmith/core/constructs/CReal2dMatrixRow.java The file was added src/main/java/com/laytonsmith/core/natives/interfaces/ArrayAccessSet.java The file was modified src/main/java/com/laytonsmith/core/constructs/CArray.java The file was modified src/main/java/com/laytonsmith/core/constructs/CFixedArray.java The file was modified src/main/java/com/laytonsmith/core/MainSandbox.java The file was modified src/main/java/com/laytonsmith/core/functions/ArrayHandling.java The file was modified src/main/java/com/laytonsmith/core/functions/DataHandling.java The file was modified src/main/java/com/laytonsmith/core/MethodScriptCompiler.java The file was modified src/main/java/com/laytonsmith/core/constructs/IVariableList.java The file was modified src/main/java/com/laytonsmith/core/environments/GlobalEnv.java
Commit
e61eaa662f72598a914c853df1329563aaaabd92
by Pieter12345 Fix array_get typecheck Issue introduced in 520a2bb1b. Fixes compile error when using `array_get()` on `Exception` type objects. (commit: e61eaa6 ) The file was modified src/main/java/com/laytonsmith/core/functions/ArrayHandling.java The file was modified src/main/java/com/laytonsmith/core/functions/ItemMeta.java The file was modified src/main/java/com/laytonsmith/core/events/drivers/EntityEvents.java The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/core/functions/InventoryManagement.java The file was modified src/main/java/com/laytonsmith/core/functions/Environment.java The file was modified src/main/java/com/laytonsmith/core/functions/PlayerManagement.java The file was modified src/main/java/com/laytonsmith/core/functions/Scoreboards.java The file was modified src/main/java/com/laytonsmith/core/functions/Commands.java The file was modified src/main/java/com/laytonsmith/core/events/drivers/InventoryEvents.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCSpawnReason.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCEntityEffect.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCParticle.java The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/resources/docs/Compatibility The file was modified src/main/java/com/laytonsmith/abstraction/Implementation.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/EnumConvertor.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCSound.java The file was modified src/main/java/com/laytonsmith/commandhelper/CommandHelperPlugin.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCVersion.java
Commit
1fdac9ba7ce3102677a0c3be7ad5c1d51cd9a439
by PseudoKnight Add cooldown, itemmodel, and tooltipstyle to item meta (commit: 1fdac9b ) The file was added src/main/java/com/laytonsmith/abstraction/MCCooldownComponent.java The file was added src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCCooldownComponent.java The file was modified src/main/resources/functionDocs/get_itemmeta The file was modified src/main/java/com/laytonsmith/core/ObjectGenerator.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCItemMeta.java The file was modified src/main/java/com/laytonsmith/abstraction/MCItemMeta.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCSpawnReason.java The file was modified src/main/java/com/laytonsmith/core/events/drivers/EntityEvents.java
Commit
2a2cf2da3c45c41d27403184b7a5598a34895416
by PseudoKnight Update passenger teleport support Paper retains passengers automatically in 1.21.10+ (commit: 2a2cf2d ) The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCEntity.java The file was modified src/main/java/com/laytonsmith/core/functions/PlayerManagement.java
Commit
cd6e75dd4af6db516178c93c4e018b84703dcfed
by PseudoKnight Support body/saddle slots in equipment functions Also fixes keys in get_equipment_droprates() to match get_mob_equipment(). (commit: cd6e75d ) The file was modified src/main/java/com/laytonsmith/abstraction/enums/bukkit/BukkitMCEquipmentSlot.java The file was modified src/main/java/com/laytonsmith/core/functions/PlayerManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCEquipmentSlot.java The file was modified src/main/java/com/laytonsmith/abstraction/MCEntityEquipment.java The file was modified src/main/java/com/laytonsmith/core/functions/MobManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCLivingEntity.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCPlayer.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCEntityEquipment.java The file was modified src/main/java/com/laytonsmith/abstraction/MCItemMeta.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCItemMeta.java The file was modified src/main/resources/functionDocs/get_itemmeta The file was added src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCEquippableComponent.java The file was added src/main/java/com/laytonsmith/abstraction/MCEquippableComponent.java The file was modified src/main/java/com/laytonsmith/core/ObjectGenerator.java The file was modified src/main/resources/functionDocs/get_itemmeta
Commit
e600ddca5f66b806e2421a16c46aa37d5e12247d
by PseudoKnight Add entity effects from Paper up to 1.21.6 Now continues executing a script if the entity effect does not exist, similar to play_sound(), for future removals. (commit: e600ddc ) The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCEntityEffect.java The file was modified src/main/java/com/laytonsmith/core/functions/EntityManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/enums/MCEntityEffect.java The file was modified src/main/java/com/laytonsmith/core/functions/Environment.java The file was modified src/main/java/com/laytonsmith/core/Static.java The file was modified src/main/java/com/laytonsmith/core/functions/PlayerManagement.java
Commit
0f50371de8079cf7165f9d87091a747dd7858534
by PseudoKnight Normalize yaw for set_spawn() location argument Upon upgrading to 1.21.9+, Minecraft will fail to convert spawn data with a spawn angle not normalized from -180 to 180, and will instead set spawn data (including coordinates) to zeroes. This only affects worlds that were set with a yaw above 180 using the new location array format added to set_spawn() in August. (commit: 0f50371 ) The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCWorld.java The file was modified src/main/java/com/laytonsmith/core/functions/CompositeFunction.java The file was added src/main/java/com/laytonsmith/abstraction/MCLeashable.java The file was modified src/main/java/com/laytonsmith/abstraction/MCLivingEntity.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCBoat.java The file was modified src/main/java/com/laytonsmith/abstraction/entities/MCBoat.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCLivingEntity.java The file was modified src/main/java/com/laytonsmith/core/functions/MobManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCLivingEntity.java
Commit
bdc26f799cd3efef8b1967bba624b7a9e5b095d2
by Pieter12345 Fix MethodScript usage from path including a "+" Fix MethodScript usage from a file path that includes a "+" placing its configuration files / extensions / etc in that file path excluding the "+". This was tested on Windows using MethodScript path C:\Users\NAME\Desktop\Test `~!@#$%€^&()-_=+[{]};'.,²³¤€¼½¾‘’¥×¶´ç¿ test\MethodScript\MethodScript.jar. (commit: bdc26f7 ) The file was modified src/main/java/com/laytonsmith/core/MethodScriptFileLocations.java The file was modified src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassDiscovery.java
Commit
9eb4800a70d0f4407ed007169127a228c7ace09a
by Pieter12345 Always link scopes + Preserve scoping for invalid numargs - Always link AST term scopes, ensuring that for example ivariable references have a scope assigned to them. - Preserve scoping behavior for while/for/... functions with an invalid number of arguments. In these cases all arguments within such function will get their own scope, preventing a chain of unexpected SA compile errors on invalid while/for/... usage. (commit: 9eb4800 ) The file was modified src/main/java/com/laytonsmith/core/functions/Exceptions.java The file was modified src/main/java/com/laytonsmith/core/functions/EventBinding.java The file was modified src/main/java/com/laytonsmith/core/functions/DataHandling.java The file was modified src/main/java/com/laytonsmith/core/functions/ControlFlow.java The file was modified src/main/java/com/laytonsmith/core/functions/MobManagement.java The file was modified src/main/java/com/laytonsmith/abstraction/MCAnimalTamer.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCHumanEntity.java The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCAnimalTamer.java The file was modified src/main/java/com/laytonsmith/core/functions/MobManagement.java
Commit
cdd8ec0c293404e6360c1fc25fb25edb3005a5d1
by PseudoKnight Fix saving player respawn locations with non-normalized yaw Affected Minecraft 1.21.9+ (commit: cdd8ec0 ) The file was modified src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCPlayer.java