Skip to content

Releases: WingedSeal/jmc

v1.2.7-alpha.1

11 Nov 07:03
Compare
Choose a tag to compare

Changelog v1.2.7-alpha.1

🔧Fix:

  • Fix NOT operator not accepting parenthesis
  • Fix semicolon in minecraft Int/Byte/Long array causing errors
  • Fix Raycast.simple bugs
  • Improve error messages

🎉Change:

  • Change all reset scoreboard to use set 0
  • Improve Raycast.simple and update its parameters
  • Allow normal function notation as argument

v1.2.6

09 Nov 10:53
Compare
Choose a tag to compare

Changelog v1.2.6

✨Added:

  • Add Raycast.simple
Raycast.simple(
    onHit=()=>{
        summon minecraft:creeper ~ ~ ~ {ignited:1b, Fuse:1s}
        tellraw @a "BOOM!";
    },
    onStep=()=>{
        particle crit ~ ~ ~ 0 0 0 0 1;
    },
    interval=0.1,
    maxIter=1000,
    boxSize=0.001,
    target=@e,
    stopAtEntity=true,
    stopAtBlock=true,
    runAtEnd=true
);

🔧Fix:

  • Fix Particle accepting spread 0
  • Fix comment behaving weirdly
  • Fix IndexOutOfRange when there's nothing after operator
  • Fix token before operator not throwing error
  • Fix allowing invalid chars in function name
  • Fix unexpected token in condition not raising error
  • Fix minor typo (In logic gate)
  • Fix error message showing wrong line
  • Fix error message showing wrong line in Hardcode.repeat

🎉Change:

  • Allow Recipe.custom without result

v1.2.5

06 Nov 14:22
Compare
Choose a tag to compare

Changelog v1.2.5

🔧Fix:

  • Fix typo on Math.sqrt
  • Fix $#<variable> had been allowed to declared but not allowed to use
  • Fix compile debug
  • Fix Compiler ignoring path syntax to be part of identifiers
  • Fix Hardcode.switch error when trying to use one line of code

🎉Change:

  • Improve error messages
  • Don't throw an exception when using KeyboardInterrupt

v1.2.5-alpha.6

04 Nov 16:09
Compare
Choose a tag to compare

Changelog v1.2.5-alpha.6

✨Add:

  • Support for Linux natively (Yes, we still don't have MacOS)
  • JMC is now in PYPI ! (pip install jmcfunction)
    • You can use JMC from anywhere in the terminal/command prompt using jmc (Slight error, you can't use 3.9 for it and I didn't specify)
  • Better command system in terminal

v1.2.5-alpha.2

03 Nov 04:29
Compare
Choose a tag to compare

Changelog v1.2.5-alpha.2

✨Add:

  • Add version command

🔧Fix:

  • Fix Timer.add creating a scoreboard with wrong syntax
  • Improve error messages
  • Fix Particle command throwing ZeroDivision instead of JMC exception when spread is 0

v1.2.5-alpha.1

01 Nov 12:28
Compare
Choose a tag to compare

Changelog v1.2.5-alpha.1

🔧Fix:

  • Fix Hardcode.repeat

🎉Change:

  • Raise an error when invalid condition type is used

v1.2.5-alpha

31 Oct 10:19
Compare
Choose a tag to compare

Changelog v1.2.5-alpha

🔧Fix:

  • Fix Math.random

v1.2.4

30 Oct 19:46
Compare
Choose a tag to compare

Changelog v1.2.4

🔧Fix:

  • Fix missmatched bracket not detected
  • Fix compiler turning : into .
  • Fix Math.random not setting up correctly
  • Fix spaces in nbt of Item module

v1.2.3

30 Oct 11:44
Compare
Choose a tag to compare

Changelog v1.2.3

🔧Fix:

  • Fix whitespaces in toString affecting the program
  • Fix else statement not working due to typo

v1.2.3-alpha

25 Oct 03:36
Compare
Choose a tag to compare

Changelog v1.2.3-alpha

✨Added:

  • Item.replaceEntity
  • Item.replaceBlock
  • Predicate.locations

🔧Fix:

  • Fix Player.die not working when using onRespawn only
  • Fix JMC not raising error when missing semicolon after function call
  • Fix Keyword parameter accepting everything
  • Fix positioned as @s getting "optimized"(Broken by optimizer)
  • Fix default nbt of Item.create crashing the app
  • Bracket in a comment that's inside another bracket actually affects the code(bracket counting)

🎉Change:

  • Use keyword instead of string for Item.create itemType
  • Change all snake_case parameter to camelCase