Skip to content

Commit

Permalink
1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
jihuayu committed Dec 25, 2020
1 parent 4dc4850 commit e18c91a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ apply plugin: 'maven-publish'

version = '0.2.2'
group = 'org.teacon'
archivesBaseName = 'ChromeBall-Forge-1.15'
archivesBaseName = 'ChromeBall-Forge-1.16'

sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'

minecraft {
mappings channel: 'snapshot', version: '20200513-1.15.1'
mappings channel: 'snapshot', version: '20201028-1.16.3'

runs {
client {
Expand Down Expand Up @@ -61,7 +61,7 @@ minecraft {


dependencies {
minecraft 'net.minecraftforge:forge:1.15.2-31.2.4'
minecraft 'net.minecraftforge:forge:1.16.4-35.1.0'
}

jar {
Expand All @@ -88,11 +88,11 @@ publishing {
publications {
release(MavenPublication) {
groupId = "org.teacon"
artifactId = "ChromeBall-Forge-1.15"
artifactId = "ChromeBall-Forge-1.16"

artifact reobfArtifact
pom {
name = 'ChromeBall for Minecraft 1.15'
name = 'ChromeBall for Minecraft 1.16'
description = 'Minecraft mod that adds a /nick command, allowing changing display name.'
licenses {
license {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/teacon/chromeball/ChromeBallItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity play
if (!worldIn.isRemote) {
ChromeBallEntity ballEntity = new ChromeBallEntity(worldIn, playerIn);
ballEntity.setItem(itemstack);
ballEntity.shoot(playerIn, playerIn.rotationPitch, playerIn.rotationYaw, 0.0F, 1.5F, 1.0F);
ballEntity.func_234612_a_(playerIn, playerIn.rotationPitch, playerIn.rotationYaw, 0.0F, 1.5F, 1.0F);
worldIn.addEntity(ballEntity);
}

Expand Down
6 changes: 4 additions & 2 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
modLoader="javafml"
loaderVersion="[28,)"
loaderVersion="[31,)"

license="BSD-3-Clause"

[[mods]]
modId="chromeball"
Expand All @@ -16,6 +18,6 @@ description="Best Chrome Ball Mod."
[[dependencies.nickname]]
modId="minecraft"
mandatory=true
versionRange="[1.15, 1.15.2]"
versionRange="[1.16, 1.15.4]"
ordering="NONE"
side="BOTH"

0 comments on commit e18c91a

Please sign in to comment.