Skip to content

Commit

Permalink
Updated dependencies and increased to version v0.4 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorlem committed Apr 16, 2020
1 parent 430db8f commit 23934d6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 17 deletions.
13 changes: 4 additions & 9 deletions build.gradle
Expand Up @@ -30,23 +30,18 @@ configurations {
}

dependencies {
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modCompile "net.fabricmc:fabric-loader:${project.loader_version}"

// Fabric API. This is technically optional, but you probably want it anyway.
modCompile "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
// You may need to force-disable transitiveness on them.
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

embed fileTree(dir: "lib", includes: ["*.jar"])

modCompile "com.github.vini2003:spinnery:2.0.18+fabric-1.15"
modImplementation "com.github.vini2003:spinnery:2.0.18+fabric-1.15"
include "com.github.vini2003:spinnery:2.0.18+fabric-1.15"

modImplementation "io.github.cottonmc:cotton-client-commands:1.0.0+1.15.2"
include "io.github.cottonmc:cotton-client-commands:1.0.0+1.15.2"
}

processResources {
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Expand Up @@ -4,14 +4,14 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.15.2
yarn_mappings=1.15.2+build.7
loader_version=0.7.6+build.180
yarn_mappings=1.15.2+build.15
loader_version=0.8.2+build.194

# Mod Properties
mod_version = 0.2.2
mod_version = 0.4.0
maven_group = com.ddoerr
archives_base_name = scriptit

# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric
fabric_version=0.4.29+build.290-1.15
fabric_version=0.5.1+build.294-1.15
Expand Up @@ -3,9 +3,9 @@
import com.ddoerr.scriptit.callbacks.ChatMessageCallback;
import com.ddoerr.scriptit.callbacks.GameJoinCallback;
import net.minecraft.client.network.ClientPlayNetworkHandler;
import net.minecraft.client.network.packet.ChatMessageS2CPacket;
import net.minecraft.client.network.packet.GameJoinS2CPacket;
import net.minecraft.network.listener.ClientPlayPacketListener;
import net.minecraft.network.packet.s2c.play.ChatMessageS2CPacket;
import net.minecraft.network.packet.s2c.play.GameJoinS2CPacket;
import net.minecraft.text.Text;
import net.minecraft.util.ActionResult;
import net.minecraft.util.TypedActionResult;
Expand Down
@@ -1,6 +1,6 @@
package com.ddoerr.scriptit.mixin;

import net.minecraft.client.network.packet.ChatMessageS2CPacket;
import net.minecraft.network.packet.s2c.play.ChatMessageS2CPacket;
import net.minecraft.text.Text;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
Expand Down
@@ -1,6 +1,6 @@
package com.ddoerr.scriptit.mixin;

import net.minecraft.server.network.packet.ChatMessageC2SPacket;
import net.minecraft.network.packet.c2s.play.ChatMessageC2SPacket;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;

Expand Down

0 comments on commit 23934d6

Please sign in to comment.