diff --git a/gradle.properties b/gradle.properties index c053184cb..8b34c6687 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Mod properties -mod_version=1.83.1 +mod_version=1.84.0 # Minecraft properties mc_version=1.12.2 diff --git a/src/main/java/dan200/computercraft/api/turtle/ITurtleUpgrade.java b/src/main/java/dan200/computercraft/api/turtle/ITurtleUpgrade.java index c28fcae74..08d89f177 100644 --- a/src/main/java/dan200/computercraft/api/turtle/ITurtleUpgrade.java +++ b/src/main/java/dan200/computercraft/api/turtle/ITurtleUpgrade.java @@ -109,8 +109,8 @@ public interface ITurtleUpgrade * Will only be called for Tool turtle. Called when turtle.dig() or turtle.attack() is called * by the turtle, and the tool is required to do some work. * - * Conforming implementations should fire {@link BlockEvent.BreakEvent} and {@link TurtleBlockEvent.Dig}for digging, - * {@link AttackEntityEvent} and {@link TurtleAttackEvent} for attacking. + * Conforming implementations should fire {@link BlockEvent.BreakEvent} and {@link TurtleBlockEvent.Dig} for + * digging, {@link AttackEntityEvent} and {@link TurtleAttackEvent} for attacking. * * @param turtle Access to the turtle that the tool resides on. * @param side Which side of the turtle (left or right) the tool resides on. diff --git a/src/main/resources/assets/computercraft/lua/rom/help/changelog.txt b/src/main/resources/assets/computercraft/lua/rom/help/changelog.txt index a9e543539..ae4ebbbc7 100644 --- a/src/main/resources/assets/computercraft/lua/rom/help/changelog.txt +++ b/src/main/resources/assets/computercraft/lua/rom/help/changelog.txt @@ -1,3 +1,18 @@ +New features in CC: Tweaked 1.84.0 + +* Improve validation in rename, copy and delete programs +* Add window.getLine - the inverse of blit +* turtle.refuel no longer consumes more fuel than needed +* Add "cc.expect" module, for improved argument type checks +* Mount the ROM from all mod jars, not just CC's + +And several bug fixes: +* Ensure file error messages use the absolute correct path +* Fix NPE when closing a file multiple times. +* Do not load chunks when calling writeDescription. +* Fix the signature of loadfile +* Fix turtles harvesting blocks multiple times + # New features in CC: Tweaked 1.83.1 * Add several new MOTD messages (JakobDev) diff --git a/src/main/resources/assets/computercraft/lua/rom/help/whatsnew.txt b/src/main/resources/assets/computercraft/lua/rom/help/whatsnew.txt index 55e2ac007..3c7ecacdd 100644 --- a/src/main/resources/assets/computercraft/lua/rom/help/whatsnew.txt +++ b/src/main/resources/assets/computercraft/lua/rom/help/whatsnew.txt @@ -1,10 +1,16 @@ -New features in CC: Tweaked 1.83.1 +New features in CC: Tweaked 1.84.0 -* Add several new MOTD messages (JakobDev) +* Improve validation in rename, copy and delete programs +* Add window.getLine - the inverse of blit +* turtle.refuel no longer consumes more fuel than needed +* Add "cc.expect" module, for improved argument type checks +* Mount the ROM from all mod jars, not just CC's And several bug fixes: -* Fix type check in `rednet.lookup` -* Error if turtle and pocket computer programs are run on the wrong system (JakobDev) -* Do not discard varargs after a nil. +* Ensure file error messages use the absolute correct path +* Fix NPE when closing a file multiple times. +* Do not load chunks when calling writeDescription. +* Fix the signature of loadfile +* Fix turtles harvesting blocks multiple times Type "help changelog" to see the full version history. diff --git a/src/main/resources/assets/computercraft/lua/rom/help/window.txt b/src/main/resources/assets/computercraft/lua/rom/help/window.txt index 7fcf5d43e..ea3ea3d78 100644 --- a/src/main/resources/assets/computercraft/lua/rom/help/window.txt +++ b/src/main/resources/assets/computercraft/lua/rom/help/window.txt @@ -23,3 +23,4 @@ getPosition() reposition( x, y, width, height ) getPaletteColor( color ) setPaletteColor( color, r, g, b ) +getLine()