Compare commits

..

No commits in common. "1.21" and "V1.4-1.21" have entirely different histories.

3 changed files with 2 additions and 3 deletions

View File

@ -42,7 +42,6 @@ maven {
```groovy
modImplementation "com.mingliqiye.minecraft.enchantment.conflict:enchantmentdoesnotconflict:1.21-1.4"
```
- 其他模组加载器也是同理 我会保持API不变的
- Demo
```java
import com.mingliqiye.minecraft.enchantment.conflict.enchantment.Enchantment;

View File

@ -1,7 +1,7 @@
minecraft_version=1.21
yarn_mappings=build.9
loader_version=0.16.13
mod_version=1.5
mod_version=1.4
maven_group=com.mingliqiye.minecraft.enchantment.conflict
archives_base_name=enchantmentdoesnotconflict
fabric_version=0.102.0

View File

@ -61,7 +61,7 @@ public class Enchantment {
List<Enchantment> groupsB = ofId(enchantmentB, config);
if (groupsA.isEmpty() && groupsB.isEmpty()) {
return null;
return true;
}
for (Enchantment groupA : groupsA) {