mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-16 21:27:10 +00:00
Bump versions
This commit is contained in:
22
build.gradle
22
build.gradle
@@ -7,7 +7,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '0.2.1-SNAPSHOT'
|
id 'fabric-loom' version '0.2.2-SNAPSHOT'
|
||||||
id 'com.matthewprenger.cursegradle' version '1.2.0'
|
id 'com.matthewprenger.cursegradle' version '1.2.0'
|
||||||
id "com.github.breadmoirai.github-release" version "2.2.4"
|
id "com.github.breadmoirai.github-release" version "2.2.4"
|
||||||
}
|
}
|
||||||
@@ -53,8 +53,22 @@ configurations {
|
|||||||
dependencies {
|
dependencies {
|
||||||
minecraft "com.mojang:minecraft:${mc_version}"
|
minecraft "com.mojang:minecraft:${mc_version}"
|
||||||
mappings "net.fabricmc:yarn:${mc_version}+build.${mappings_version}"
|
mappings "net.fabricmc:yarn:${mc_version}+build.${mappings_version}"
|
||||||
modCompile "net.fabricmc:fabric-loader:0.4.0+build.121"
|
modCompile "net.fabricmc:fabric-loader:0.4.2+build.132"
|
||||||
modCompile "net.fabricmc:fabric:0.2.7+build.122"
|
modCompile "net.fabricmc:fabric:0.2.7+build.126"
|
||||||
|
|
||||||
|
/*
|
||||||
|
modCompile "net.fabricmc:fabric-lib:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-networking:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-networking-blockentity:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-object-builders:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-containers:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-item-groups:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-client-registries:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-commands:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-events-lifecycle:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-events-interaction:0.1.0"
|
||||||
|
modCompile "net.fabricmc:fabric-resource-loader:0.1.0"
|
||||||
|
*/
|
||||||
|
|
||||||
implementation 'com.google.code.findbugs:jsr305:3.0.2'
|
implementation 'com.google.code.findbugs:jsr305:3.0.2'
|
||||||
|
|
||||||
@@ -298,7 +312,7 @@ githubRelease {
|
|||||||
token project.hasProperty('githubApiKey') ? project.githubApiKey : ''
|
token project.hasProperty('githubApiKey') ? project.githubApiKey : ''
|
||||||
owner 'SquidDev-CC'
|
owner 'SquidDev-CC'
|
||||||
repo 'CC-Tweaked'
|
repo 'CC-Tweaked'
|
||||||
targetCommitish "mc-1.13.x" // TODO: Pull from GrGit
|
targetCommitish "mc-1.14-fabric" // TODO: Pull from GrGit
|
||||||
|
|
||||||
tagName "v${mc_version}-${mod_version}"
|
tagName "v${mc_version}-${mod_version}"
|
||||||
releaseName "[${mc_version}] ${mod_version}"
|
releaseName "[${mc_version}] ${mod_version}"
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
mod_version=1.82.3
|
mod_version=1.82.3
|
||||||
|
|
||||||
# Minecraft properties
|
# Minecraft properties
|
||||||
mc_version=1.14 Pre-Release 2
|
mc_version=1.14
|
||||||
mappings_version=1
|
mappings_version=1
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ package dan200.computercraft.client.render;
|
|||||||
|
|
||||||
import dan200.computercraft.ComputerCraft;
|
import dan200.computercraft.ComputerCraft;
|
||||||
import net.minecraft.client.render.model.BakedModel;
|
import net.minecraft.client.render.model.BakedModel;
|
||||||
|
import net.minecraft.client.render.model.ModelBakeSettings;
|
||||||
import net.minecraft.client.render.model.ModelLoader;
|
import net.minecraft.client.render.model.ModelLoader;
|
||||||
import net.minecraft.client.render.model.ModelRotationContainer;
|
|
||||||
import net.minecraft.client.render.model.UnbakedModel;
|
import net.minecraft.client.render.model.UnbakedModel;
|
||||||
import net.minecraft.client.texture.Sprite;
|
import net.minecraft.client.texture.Sprite;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
@@ -81,7 +81,7 @@ public final class TurtleModelLoader
|
|||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
public BakedModel bake( @Nonnull ModelLoader loader, @Nonnull Function<Identifier, Sprite> spriteGetter, @Nonnull ModelRotationContainer state )
|
public BakedModel bake( @Nonnull ModelLoader loader, @Nonnull Function<Identifier, Sprite> spriteGetter, @Nonnull ModelBakeSettings state )
|
||||||
{
|
{
|
||||||
return new TurtleSmartItemModel(
|
return new TurtleSmartItemModel(
|
||||||
loader.getOrLoadModel( family ).bake( loader, spriteGetter, state ),
|
loader.getOrLoadModel( family ).bake( loader, spriteGetter, state ),
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ import net.minecraft.item.Item;
|
|||||||
import net.minecraft.item.ItemGroup;
|
import net.minecraft.item.ItemGroup;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.item.Items;
|
import net.minecraft.item.Items;
|
||||||
import net.minecraft.item.block.BlockItem;
|
import net.minecraft.item.BlockItem;
|
||||||
import net.minecraft.recipe.RecipeSerializer;
|
import net.minecraft.recipe.RecipeSerializer;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
||||||
import net.minecraft.util.registry.MutableRegistry;
|
import net.minecraft.util.registry.MutableRegistry;
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public class TileCommandComputer extends TileComputer
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void appendCommandFeedback( TextComponent textComponent )
|
public void sendMessage( TextComponent textComponent )
|
||||||
{
|
{
|
||||||
output.put( output.size() + 1, textComponent.getText() );
|
output.put( output.size() + 1, textComponent.getText() );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ import dan200.computercraft.api.media.IMedia;
|
|||||||
import dan200.computercraft.shared.computer.blocks.BlockComputerBase;
|
import dan200.computercraft.shared.computer.blocks.BlockComputerBase;
|
||||||
import dan200.computercraft.shared.computer.core.ComputerFamily;
|
import dan200.computercraft.shared.computer.core.ComputerFamily;
|
||||||
import net.minecraft.client.item.TooltipContext;
|
import net.minecraft.client.item.TooltipContext;
|
||||||
|
import net.minecraft.item.BlockItem;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.item.block.BlockItem;
|
|
||||||
import net.minecraft.text.StringTextComponent;
|
import net.minecraft.text.StringTextComponent;
|
||||||
import net.minecraft.text.TextComponent;
|
import net.minecraft.text.TextComponent;
|
||||||
import net.minecraft.text.TextFormat;
|
import net.minecraft.text.TextFormat;
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ public class CommandBlockPeripheral implements IPeripheral
|
|||||||
context.issueMainThreadTask( () ->
|
context.issueMainThreadTask( () ->
|
||||||
{
|
{
|
||||||
m_commandBlock.getCommandExecutor().setCommand( command );
|
m_commandBlock.getCommandExecutor().setCommand( command );
|
||||||
m_commandBlock.getCommandExecutor().method_8295();
|
m_commandBlock.getCommandExecutor().markDirty();
|
||||||
return null;
|
return null;
|
||||||
} );
|
} );
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import net.minecraft.item.Item;
|
|||||||
import net.minecraft.item.ItemGroup;
|
import net.minecraft.item.ItemGroup;
|
||||||
import net.minecraft.item.ItemPlacementContext;
|
import net.minecraft.item.ItemPlacementContext;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.item.block.BlockItem;
|
import net.minecraft.item.BlockItem;
|
||||||
import net.minecraft.sound.BlockSoundGroup;
|
import net.minecraft.sound.BlockSoundGroup;
|
||||||
import net.minecraft.sound.SoundCategory;
|
import net.minecraft.sound.SoundCategory;
|
||||||
import net.minecraft.util.ActionResult;
|
import net.minecraft.util.ActionResult;
|
||||||
|
|||||||
@@ -22,9 +22,6 @@ import net.minecraft.block.entity.SignBlockEntity;
|
|||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
import net.minecraft.entity.LivingEntity;
|
import net.minecraft.entity.LivingEntity;
|
||||||
import net.minecraft.item.*;
|
import net.minecraft.item.*;
|
||||||
import net.minecraft.item.block.BlockItem;
|
|
||||||
import net.minecraft.item.block.LilyPadItem;
|
|
||||||
import net.minecraft.item.block.SignItem;
|
|
||||||
import net.minecraft.text.StringTextComponent;
|
import net.minecraft.text.StringTextComponent;
|
||||||
import net.minecraft.util.ActionResult;
|
import net.minecraft.util.ActionResult;
|
||||||
import net.minecraft.util.Hand;
|
import net.minecraft.util.Hand;
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ public final class TurtlePlayer extends FakePlayer
|
|||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void closeGui()
|
public void closeContainer()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public interface WaterloggableBlock extends Waterloggable
|
|||||||
*/
|
*/
|
||||||
default FluidState getWaterloggedFluidState( BlockState state )
|
default FluidState getWaterloggedFluidState( BlockState state )
|
||||||
{
|
{
|
||||||
return state.get( WATERLOGGED ) ? Fluids.WATER.getState( false ) : Fluids.EMPTY.getDefaultState();
|
return state.get( WATERLOGGED ) ? Fluids.WATER.getStill( false ) : Fluids.EMPTY.getDefaultState();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
BIN
src/main/resources/assets/computercraft/pack.png
Normal file
BIN
src/main/resources/assets/computercraft/pack.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 516 B |
@@ -7,7 +7,7 @@
|
|||||||
"has_redstone": {
|
"has_redstone": {
|
||||||
"trigger": "minecraft:inventory_changed",
|
"trigger": "minecraft:inventory_changed",
|
||||||
"conditions": {
|
"conditions": {
|
||||||
"items": [ { "tag": "minecraft:redstone" } ]
|
"items": [ { "tag": "forge:dusts/redstone" } ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"has_the_recipe": {
|
"has_the_recipe": {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"has_redstone": {
|
"has_redstone": {
|
||||||
"trigger": "minecraft:inventory_changed",
|
"trigger": "minecraft:inventory_changed",
|
||||||
"conditions": {
|
"conditions": {
|
||||||
"items": [ { "item": "minecraft:redstone" } ]
|
"items": [ { "tag": "forge:dusts/redstone" } ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"has_the_recipe": {
|
"has_the_recipe": {
|
||||||
|
|||||||
@@ -1,10 +1,27 @@
|
|||||||
{
|
{
|
||||||
|
"schemaVersion": 1,
|
||||||
|
|
||||||
"id": "computercraft",
|
"id": "computercraft",
|
||||||
"name": "CC: Tweaked",
|
"name": "CC: Tweaked",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
"side": "universal",
|
"description": "CC: Tweaked is a fork of ComputerCraft, adding programmable computers, turtles and more to Minecraft.",
|
||||||
"initializer": "dan200.computercraft.ComputerCraft",
|
"license": "ComputerCraft Public License",
|
||||||
"mixins": {
|
"icon": "assets/computercraft/pack.png",
|
||||||
"client": "computercraft.client.json"
|
"contact": {
|
||||||
}
|
"homepage": "https://github.com/SquidDev-CC/CC-Tweaked",
|
||||||
|
"issues": "https://github.com/SquidDev-CC/CC-Tweaked/issues"
|
||||||
|
},
|
||||||
|
"authors": [
|
||||||
|
"Daniel Ratcliffe",
|
||||||
|
"Aaron Mills",
|
||||||
|
"SquidDev"
|
||||||
|
],
|
||||||
|
|
||||||
|
"environment": "*",
|
||||||
|
"entrypoints": {
|
||||||
|
"main": [ "dan200.computercraft.ComputerCraft" ]
|
||||||
|
},
|
||||||
|
"mixins": [
|
||||||
|
{ "config": "computercraft.client.json", "environment": "client" }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user