1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-25 22:53:22 +00:00

Bump CC:T to 1.104.0

This commit is contained in:
Jonathan Coates 2023-04-05 20:50:01 +01:00
parent eef67a04a4
commit 1f3815039f
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
6 changed files with 60 additions and 7 deletions

View File

@ -10,7 +10,7 @@ kotlin.jvm.target.validation.mode=error
# Mod properties
isUnstable=false
modVersion=1.103.1
modVersion=1.104.0
# Minecraft properties: We want to configure this here so we can read it in settings.gradle
mcVersion=1.19.4

View File

@ -9,7 +9,7 @@
# Remember to update corresponding versions in fabric.mod.json/mods.toml
fabric-api = "0.75.3+1.19.4"
fabric-loader = "0.14.17"
forge = "45.0.6"
forge = "45.0.42"
forgeSpi = "6.0.0"
mixin = "0.8.5"
parchment = "2023.03.12"

View File

@ -1,3 +1,33 @@
# New features in CC: Tweaked 1.104.0
* Update to Minecraft 1.19.4.
* Turtles can now right click items "into" certain blocks (cauldrons and hives by default, configurable with the `computercraft:turtle_can_use` block tag).
* Update Cobalt to 0.7:
* `table` methods and `ipairs` now use metamethods.
* Type errors now use the `__name` metatag.
* Coroutines no longer run on multiple threads.
* Timeout errors should be thrown more reliably.
* `speaker` program now reports an error on common unsupported audio formats.
* `multishell` now hides the implementation details of its terminal redirect from programs.
* Use VBO monitor renderer by default.
* Improve syntax errors when missing commas in tables, and on trailing commas in parameter lists.
* Turtles can now hold flags.
* Update several translations (Alessandro, chesiren, Erlend, RomanPlayer22).
Several bug fixes:
* `settings.load` now ignores malformed values created by editing the `.settings` file by hand.
* Fix introduction dates on `os.cancelAlarm` and `os.cancelTimer` (MCJack123).
* Fix the REPL syntax reporting crashing on valid parses.
* Make writes to the ID file atomic.
* Obey stack limits when transferring items with Fabric's APIs.
* Ignore metatables in `textutils.serialize`.
* Correctly recurse into NBT lists when computing the NBT hash (Lemmmy).
* Fix advanced pocket computers rendering as greyscale.
* Fix stack overflow when using `shell` as a hashbang program.
* Fix websocket messages being empty when using a non-default compression settings.
* Fix `gps.locate` returning `nan` when receiving a duplicate location (Wojbie).
* Remove several thread safety issues inside Java-side argument parsing code.
# New features in CC: Tweaked 1.103.1
Several bug fixes:

View File

@ -1,7 +1,31 @@
New features in CC: Tweaked 1.103.1
New features in CC: Tweaked 1.104.0
* Update to Minecraft 1.19.4.
* Turtles can now right click items "into" certain blocks (cauldrons and hives by default, configurable with the `computercraft:turtle_can_use` block tag).
* Update Cobalt to 0.7:
* `table` methods and `ipairs` now use metamethods.
* Type errors now use the `__name` metatag.
* Coroutines no longer run on multiple threads.
* Timeout errors should be thrown more reliably.
* `speaker` program now reports an error on common unsupported audio formats.
* `multishell` now hides the implementation details of its terminal redirect from programs.
* Use VBO monitor renderer by default.
* Improve syntax errors when missing commas in tables, and on trailing commas in parameter lists.
* Turtles can now hold flags.
* Update several translations (Alessandro, chesiren, Erlend, RomanPlayer22).
Several bug fixes:
* Fix values not being printed in the REPL.
* Fix `function f()` providing suboptimal parse errors in the REPL.
* `settings.load` now ignores malformed values created by editing the `.settings` file by hand.
* Fix introduction dates on `os.cancelAlarm` and `os.cancelTimer` (MCJack123).
* Fix the REPL syntax reporting crashing on valid parses.
* Make writes to the ID file atomic.
* Obey stack limits when transferring items with Fabric's APIs.
* Ignore metatables in `textutils.serialize`.
* Correctly recurse into NBT lists when computing the NBT hash (Lemmmy).
* Fix advanced pocket computers rendering as greyscale.
* Fix stack overflow when using `shell` as a hashbang program.
* Fix websocket messages being empty when using a non-default compression settings.
* Fix `gps.locate` returning `nan` when receiving a duplicate location (Wojbie).
* Remove several thread safety issues inside Java-side argument parsing code.
Type "help changelog" to see the full version history.

View File

@ -120,7 +120,6 @@ local function add_modem(owner, side)
for _, adjacent in pairs(adjacent) do
if adjacent.open[channel] then
local distance = (adjacent.owner.position - owner.position):length()
print(("Distance %s .. %s => %d"):format(adjacent.owner.position, owner.position, distance))
adjacent.owner.queue_event("modem_message", adjacent.side, channel, reply_channel, payload, distance)
end
end

View File

@ -294,7 +294,7 @@ public ServerPlayer createFakePlayer(ServerLevel world, GameProfile profile) {
@Override
public double getReachDistance(Player player) {
return player.getReachDistance();
return player.getBlockReach();
}
@Override