Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repositories {

dependencies {
//compileOnly 'io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT'
paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.20.6-R0.1-SNAPSHOT")
paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.21.1-R0.1-SNAPSHOT")

implementation 'org.jetbrains:annotations:24.0.1'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.2'
Expand All @@ -37,8 +37,8 @@ dependencies {
compileOnly fileTree('libs') { include '*.jar' }
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.10'
implementation 'com.mysql:mysql-connector-j:8.3.0'
compileOnly 'com.comphenix.protocol:ProtocolLib:5.2.0-SNAPSHOT'
compileOnly 'dev.esophose:playerparticles:8.5'
compileOnly 'com.comphenix.protocol:ProtocolLib:5.3.0'
compileOnly 'dev.esophose:playerparticles:8.6'
implementation 'org.reflections:reflections:0.10.2'
}

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ java {
paperweight.reobfArtifactConfiguration = ReobfArtifactConfiguration.getMOJANG_PRODUCTION()

dependencies {
paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.20.6-R0.1-SNAPSHOT")
paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.21.1-R0.1-SNAPSHOT")
}

compileJava.options.encoding = "UTF-8"
Expand All @@ -42,12 +42,12 @@ allprojects {
}

dependencies {
paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.20.6-R0.1-SNAPSHOT")
paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.21.1-R0.1-SNAPSHOT")
//paperweight.paperDevBundle("1.20.6-R0.1-SNAPSHOT")

//compileOnly "io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT"
compileOnly 'net.luckperms:api:5.4'
compileOnly 'dev.esophose:playerparticles:8.5'
compileOnly 'dev.esophose:playerparticles:8.6'
compileOnly "com.github.MilkBowl:VaultAPI:1.7.1"
}
}
6 changes: 3 additions & 3 deletions modules/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ dependencies {
compileOnly fileTree('libs') { include '*.jar' }
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.10'
compileOnly 'com.mysql:mysql-connector-j:8.3.0'
compileOnly 'com.comphenix.protocol:ProtocolLib:5.2.0-SNAPSHOT'
compileOnly 'dev.esophose:playerparticles:8.5'
compileOnly "io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT"
compileOnly 'com.comphenix.protocol:ProtocolLib:5.3.0'
compileOnly 'dev.esophose:playerparticles:8.6'
compileOnly "io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT"
}

def names = []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package parallelmc.parallelutils.modules.charms.util;

import io.papermc.paper.enchantments.EnchantmentRarity;
import io.papermc.paper.registry.set.RegistryKeySet;
import net.kyori.adventure.key.Key;
import net.kyori.adventure.text.Component;
import org.bukkit.NamespacedKey;
Expand All @@ -9,8 +10,11 @@
import org.bukkit.entity.EntityCategory;
import org.bukkit.entity.EntityType;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.EquipmentSlotGroup;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.ItemType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import parallelmc.parallelutils.ParallelUtils;

import java.util.Set;
Expand Down Expand Up @@ -88,6 +92,11 @@ public int getMaxModifiedCost(int level) {
return 0;
}

@Override
public int getAnvilCost() {
return 0;
}

@Override
public @NotNull EnchantmentRarity getRarity() {
return null;
Expand All @@ -108,6 +117,36 @@ public float getDamageIncrease(int i, @NotNull EntityType entityType) {
return Set.of();
}

@Override
public @NotNull Set<EquipmentSlotGroup> getActiveSlotGroups() {
return Set.of();
}

@Override
public @NotNull Component description() {
return null;
}

@Override
public @NotNull RegistryKeySet<ItemType> getSupportedItems() {
return null;
}

@Override
public @Nullable RegistryKeySet<ItemType> getPrimaryItems() {
return null;
}

@Override
public int getWeight() {
return 0;
}

@Override
public @NotNull RegistryKeySet<Enchantment> getExclusiveWith() {
return null;
}

@Override
public @NotNull String translationKey() {
return "";
Expand Down
Loading