1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-07-08 13:02:54 +00:00

Updated Incompatibilities between versions (markdown)

Jonathan Coates 2020-10-08 09:46:42 +01:00
parent 68cd57e1fa
commit 879e486515

@ -5,7 +5,7 @@ This page serves as documentation for breaking changes and "gotchas" one should
## Minecraft 1.14 to 1.15
- The config file has now been split into client and server config files.
- Client config can be found in `config/computercraft-client.toml`.
- Server config can be found in `saves/<world>/serverconfig/computercraft-server.toml`. These are now save-specific - it is currently possible to have a global configuration. However, you can create a default config by placing it in `defaultconfigs/computercraft-server.toml`.
- Server config can be found in `saves/<world>/serverconfig/computercraft-server.toml`. These are now save-specific - it is currently impossible to have a global configuration. However, you can create a default config by placing it in `defaultconfigs/computercraft-server.toml`.
- The ComputerCraft Java API has been entirely rewritten, to allow for more efficient Lua/Java interop. This should have no impact on users, but should make the API easier to use, and reduce overhead.
- The default treasure disks have been entirely removed. They are now added [by an external data pack](https://github.com/SquidDev-CC/treasure-disks), which also registers them as dungeon loot. The same system may be used to provide your own loot disks.
- `turtle.getItemDetail` no longer includes damage by default. One must now pass `true` [as the second parameter](https://tweaked.cc/module/turtle.html#v:getItemDetail). `turtle.getItemDetail()` becomes `turtle.getItemDetail(nil, true)`, and `turtle.getItemDetail(slot)` becomes `turtle.getItemDetail(slot, true)`.