mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-18 12:34:20 +08:00
Merge branch 'version/7.2.x'
This commit is contained in:
commit
f8144e584d
@ -53,10 +53,10 @@
|
||||
implementation("org.jfrog.buildinfo:build-info-extractor-gradle:4.32.0")
|
||||
implementation("org.spongepowered:spongegradle-plugin-development:2.1.1")
|
||||
implementation("org.spongepowered:vanillagradle:0.2.1-20230603.203956-54")
|
||||
implementation("net.minecraftforge.gradle:ForgeGradle:6.0.6")
|
||||
implementation("net.minecraftforge.gradle:ForgeGradle:6.0.11")
|
||||
implementation("net.fabricmc:fabric-loom:$loomVersion")
|
||||
implementation("net.fabricmc:sponge-mixin:$mixinVersion")
|
||||
implementation("org.enginehub.gradle:gradle-codecov-plugin:0.2.0")
|
||||
implementation("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:1.5.5")
|
||||
implementation("org.spongepowered:mixingradle:0.7.33")
|
||||
implementation("org.spongepowered:mixingradle:0.7.38")
|
||||
}
|
||||
|
@ -4,5 +4,5 @@
|
||||
|
||||
dependencies {
|
||||
// https://repo.papermc.io/service/rest/repository/browse/maven-public/io/papermc/paper/dev-bundle/
|
||||
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.18.2-R0.1-20220304.102823-4")
|
||||
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.18.2-R0.1-20220920.010157-167")
|
||||
}
|
||||
|
@ -4,5 +4,5 @@
|
||||
|
||||
dependencies {
|
||||
// https://repo.papermc.io/service/rest/repository/browse/maven-public/io/papermc/paper/dev-bundle/
|
||||
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.19.4-R0.1-20230315.180941-2")
|
||||
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.19.4-R0.1-20230608.201059-104")
|
||||
}
|
||||
|
@ -4,5 +4,5 @@
|
||||
|
||||
dependencies {
|
||||
// https://repo.papermc.io/service/rest/repository/browse/maven-public/io/papermc/paper/dev-bundle/
|
||||
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.20-R0.1-20230608.125933-3")
|
||||
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.20.1-R0.1-20230816.041652-110")
|
||||
}
|
||||
|
@ -680,7 +680,7 @@ public boolean simulateItemUse(World world, BlockVector3 position, BaseItem item
|
||||
final net.minecraft.core.Direction enumFacing = adapt(face);
|
||||
BlockHitResult rayTrace = new BlockHitResult(blockVec, enumFacing, blockPos, false);
|
||||
UseOnContext context = new UseOnContext(fakePlayer, InteractionHand.MAIN_HAND, rayTrace);
|
||||
InteractionResult result = stack.useOn(context, InteractionHand.MAIN_HAND);
|
||||
InteractionResult result = stack.useOn(context);
|
||||
if (result != InteractionResult.SUCCESS) {
|
||||
if (worldServer.getBlockState(blockPos).use(worldServer, fakePlayer, InteractionHand.MAIN_HAND, rayTrace).consumesAction()) {
|
||||
result = InteractionResult.SUCCESS;
|
||||
|
@ -72,7 +72,7 @@
|
||||
"compileOnly"("com.google.auto.value:auto-value-annotations:${Versions.AUTO_VALUE}")
|
||||
"annotationProcessor"("com.google.auto.value:auto-value:${Versions.AUTO_VALUE}")
|
||||
|
||||
"languageFiles"("${project.group}:worldedit-lang:7.2.6:355@zip")
|
||||
"languageFiles"("${project.group}:worldedit-lang:7.2.16:1029@zip")
|
||||
|
||||
"testRuntimeOnly"("org.apache.logging.log4j:log4j-core:${Versions.LOG4J}")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user