Merge branch 'mc-1.14.x' into mc-1.15.x

This commit is contained in:
SquidDev 2020-04-24 18:44:29 +01:00
commit a3021c4697
17 changed files with 25 additions and 33 deletions

View File

@ -48,7 +48,7 @@
server {
workingDirectory project.file("run/server-${mc_version}")
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'debug'
mods {
@ -60,7 +60,7 @@
data {
workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'debug'
args '--mod', 'computercraft', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')

View File

@ -1,5 +1,5 @@
# Mod properties
mod_version=1.87.0
mod_version=1.87.1
# Minecraft properties (update mods.toml when changing)
mc_version=1.15.2

View File

@ -1,4 +1,5 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "main",

View File

@ -1,4 +1,5 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "main",

View File

@ -45,8 +45,9 @@ protected void registerLoot( BiConsumer<ResourceLocation, LootTable> add )
private static void basicDrop( BiConsumer<ResourceLocation, LootTable> add, Block block )
{
add.accept( block.getRegistryName(), LootTable
add.accept( block.getLootTable(), LootTable
.builder()
.setParameterSet( LootParameterSets.BLOCK )
.addLootPool( LootPool.builder()
.name( "main" )
.rolls( ConstantRange.of( 1 ) )
@ -57,8 +58,9 @@ private static void basicDrop( BiConsumer<ResourceLocation, LootTable> add, Bloc
private static void computerDrop( BiConsumer<ResourceLocation, LootTable> add, Block block )
{
add.accept( block.getRegistryName(), LootTable
add.accept( block.getLootTable(), LootTable
.builder()
.setParameterSet( LootParameterSets.BLOCK )
.addLootPool( LootPool.builder()
.name( "main" )
.rolls( ConstantRange.of( 1 ) )

View File

@ -1,3 +1,7 @@
# New features in CC: Tweaked 1.87.1
* Fix blocks not dropping items in survival.
# New features in CC: Tweaked 1.87.0
* Add documentation to many Lua functions. This is published online at https://tweaked.cc/.

View File

@ -1,31 +1,5 @@
New features in CC: Tweaked 1.87.0
New features in CC: Tweaked 1.87.1
* Add documentation to many Lua functions. This is published online at https://tweaked.cc/.
* Replace to pretty-printer in the Lua REPL. It now supports displaying functions and recursive tables. This printer is may be used within your own code through the `cc.pretty` module.
* Add `fs.getCapacity`. A complement to `fs.getFreeSpace`, this returns the capacity of the supplied drive.
* Add `fs.getAttributes`. This provides file size and type, as well as creation and modification time.
* Update Cobalt version. This backports several features from Lua 5.2 and 5.3:
- The `__len` metamethod may now be used by tables.
- Add `\z`, hexadecimal (`\x00`) and unicode (`\u0000`) string escape codes.
- Add `utf8` lib.
- Mirror Lua's behaviour of tail calls more closely. Native functions are no longer tail called, and tail calls are displayed in the stack trace.
- `table.unpack` now uses `__len` and `__index` metamethods.
- Parser errors now include the token where the error occured.
* Add `textutils.unserializeJSON`. This can be used to decode standard JSON and stringified-NBT.
* The `settings` API now allows "defining" settings. This allows settings to specify a default value and description.
* Enable the motd on non-pocket computers.
* Allow using the menu with the mouse in edit and paint (JakobDev).
* Add Danish and Korean translations (ChristianLW, mindy15963)
* Fire `mouse_up` events in the monitor program.
* Allow specifying a timeout to `websocket.receive`.
* Increase the maximimum limit for websocket messages.
* Optimise capacity checking of computer/disk folders.
And several bug fixes:
* Fix turtle texture being incorrectly oriented (magiczocker10).
* Prevent copying folders into themselves.
* Normalise file paths within shell.setDir (JakobDev)
* Fix turtles treating waterlogged blocks as water.
* Register an entity renderer for the turtle's fake player.
* Fix blocks not dropping items in survival.
Type "help changelog" to see the full version history.