1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-10-31 23:26:19 +00:00

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -45,8 +45,9 @@ public class LootTables extends LootTableProvider
private static void basicDrop( BiConsumer<ResourceLocation, LootTable> add, Block block ) private static void basicDrop( BiConsumer<ResourceLocation, LootTable> add, Block block )
{ {
add.accept( block.getRegistryName(), LootTable add.accept( block.getLootTable(), LootTable
.builder() .builder()
.setParameterSet( LootParameterSets.BLOCK )
.addLootPool( LootPool.builder() .addLootPool( LootPool.builder()
.name( "main" ) .name( "main" )
.rolls( ConstantRange.of( 1 ) ) .rolls( ConstantRange.of( 1 ) )
@ -57,8 +58,9 @@ public class LootTables extends LootTableProvider
private static void computerDrop( BiConsumer<ResourceLocation, LootTable> add, Block block ) private static void computerDrop( BiConsumer<ResourceLocation, LootTable> add, Block block )
{ {
add.accept( block.getRegistryName(), LootTable add.accept( block.getLootTable(), LootTable
.builder() .builder()
.setParameterSet( LootParameterSets.BLOCK )
.addLootPool( LootPool.builder() .addLootPool( LootPool.builder()
.name( "main" ) .name( "main" )
.rolls( ConstantRange.of( 1 ) ) .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 # New features in CC: Tweaked 1.87.0
* Add documentation to many Lua functions. This is published online at https://tweaked.cc/. * 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/. * Fix blocks not dropping items in survival.
* 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.
Type "help changelog" to see the full version history. Type "help changelog" to see the full version history.