Skip to content

Commit

Permalink
Update to 1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew121410 committed May 3, 2024
1 parent b697e30 commit 9ec93a5
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 14 deletions.
19 changes: 12 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import java.text.SimpleDateFormat
import java.util.*

plugins {
id("com.github.johnrengelman.shadow") version "8.1.1" // https://github.com/johnrengelman/shadow
// id("com.github.johnrengelman.shadow") version "8.1.1" // https://github.com/johnrengelman/shadow
id("io.github.goooler.shadow") version "8.1.7" // https://github.com/johnrengelman/shadow/pull/876 https://github.com/Goooler/shadow https://plugins.gradle.org/plugin/io.github.goooler.shadow
id("net.kyori.blossom") version "2.1.0" // https://github.com/KyoriPowered/blossom
`java-library`
`maven-publish`
Expand All @@ -12,8 +13,8 @@ group = "com.andrew121410.mc"
version = "1.0"
description = "World1-6Essentials"

java.sourceCompatibility = JavaVersion.VERSION_17
java.targetCompatibility = JavaVersion.VERSION_17
java.sourceCompatibility = JavaVersion.VERSION_21
java.targetCompatibility = JavaVersion.VERSION_21

tasks {
build {
Expand Down Expand Up @@ -46,6 +47,10 @@ repositories {
url = uri("https://repo.papermc.io/repository/maven-public/")
}

maven {
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

maven {
url = uri("https://jitpack.io")
}
Expand All @@ -69,11 +74,11 @@ repositories {

dependencies {
api("org.bstats:bstats-bukkit:3.0.2")
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
compileOnly("com.github.World1-6.World1-6Utils:World1-6Utils-Plugin:0c7e98a71f")
compileOnly("com.github.World1-6.World1-6Utils:World1-6Utils_CMI_API:0c7e98a71f")
compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
compileOnly("com.github.World1-6.World1-6Utils:World1-6Utils-Plugin:b50561b638")
compileOnly("com.github.World1-6.World1-6Utils:World1-6Utils_CMI_API:b50561b638")
compileOnly("net.essentialsx:EssentialsX:2.21.0-SNAPSHOT")
compileOnly("org.geysermc.floodgate:api:2.2.2-SNAPSHOT")
compileOnly("org.geysermc.floodgate:api:2.2.3-SNAPSHOT")
}

publishing {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String
}

ItemStack item = InventoryUtils.createItem(Material.COMMAND_BLOCK, 1, "&cCommand Block&r", "New Fresh Command Block");
item.addUnsafeEnchantment(Enchantment.DAMAGE_ALL, 1);
item.addUnsafeEnchantment(Enchantment.SHARPNESS, 1);
p.getInventory().addItem(item);
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String

if (args.length == 1 && args[0].equalsIgnoreCase("give")) {
ItemStack itemStack = new ItemStack(Material.OAK_SIGN, 1);
itemStack.addUnsafeEnchantment(Enchantment.DAMAGE_ALL, 1);
itemStack.addUnsafeEnchantment(Enchantment.SHARPNESS, 1);
player.getInventory().addItem(itemStack);
return true;
} else if (args.length >= 1 && args[0].equalsIgnoreCase("edit")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
import com.andrew121410.mc.world16essentials.World16Essentials;
import com.andrew121410.mc.world16utils.config.UnlinkedWorldLocation;
import com.andrew121410.mc.world16utils.utils.Utils;
import com.andrew121410.mc.world16utils.utils.ccutils.dependencies.google.common.collect.ArrayListMultimap;
import com.andrew121410.mc.world16utils.utils.ccutils.dependencies.google.common.collect.Multimap;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.ISQL;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.SQLite;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.easy.EasySQL;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.easy.MultiTableEasySQL;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.easy.SQLDataStore;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.permissions.PermissionAttachmentInfo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import com.andrew121410.mc.world16essentials.World16Essentials;
import com.andrew121410.mc.world16essentials.objects.KitObject;
import com.andrew121410.mc.world16utils.utils.BukkitSerialization;
import com.andrew121410.mc.world16utils.utils.ccutils.dependencies.google.common.collect.Multimap;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.ISQL;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.SQLite;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.easy.EasySQL;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.easy.MultiTableEasySQL;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.easy.SQLDataStore;
import com.google.common.collect.Multimap;
import org.bukkit.entity.Player;

import java.sql.SQLException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

import com.andrew121410.mc.world16essentials.World16Essentials;
import com.andrew121410.mc.world16essentials.objects.SavedInventoryObject;
import com.andrew121410.mc.world16utils.utils.ccutils.dependencies.google.common.collect.Multimap;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.ISQL;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.SQLite;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.easy.EasySQL;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.easy.MultiTableEasySQL;
import com.andrew121410.mc.world16utils.utils.ccutils.storage.easy.SQLDataStore;
import com.google.common.collect.Multimap;

import java.sql.SQLException;
import java.util.*;
Expand Down

0 comments on commit 9ec93a5

Please sign in to comment.