fancynpcs, fancyholograms: Use paper 1.21.6 dev bundle

This commit is contained in:
Oliver
2025-06-04 21:39:49 +02:00
committed by Oliver
parent adc7064de5
commit 0673af8b29
4 changed files with 11 additions and 8 deletions

View File

@@ -6,10 +6,10 @@ plugins {
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION
dependencies {
paperweight.paperDevBundle("1.21.5-R0.1-SNAPSHOT")
paperweight.paperDevBundle("1.21.6-R0.1-SNAPSHOT")
compileOnly(project(":libraries:packets:packets-api"))
compileOnly("com.fancyinnovations:fancymc:1.21.6-pre2")
// compileOnly("com.fancyinnovations:fancymc:1.21.6-pre2")
testImplementation(project(":libraries:packets"))
testImplementation(project(":libraries:packets:packets-api"))

View File

@@ -6,8 +6,8 @@ plugins {
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION
dependencies {
paperweight.paperDevBundle("1.21.5-R0.1-SNAPSHOT")
compileOnly("com.fancyinnovations:fancymc:1.21.6-pre2")
paperweight.paperDevBundle("1.21.6-R0.1-SNAPSHOT")
// compileOnly("com.fancyinnovations:fancymc:1.21.6-pre2")
compileOnly(project(":plugins:fancynpcs:fn-api"))
compileOnly(project(":libraries:common"))

View File

@@ -404,7 +404,7 @@ public class Npc_1_21_6 extends Npc {
sittingVehicle.setPos(data.getLocation().x(), data.getLocation().y(), data.getLocation().z());
ServerEntity serverEntity = new ServerEntity(
serverPlayer.serverLevel(),
serverPlayer.level(),
sittingVehicle,
0,
false,

View File

@@ -68,14 +68,17 @@ public class HorseAttributes {
switch (value.toLowerCase()) {
case "standing" -> {
horse.setEating(false);
horse.setForceStanding(false);
//TODO fix
// horse.setForceStanding(false);
}
case "rearing" -> {
horse.setForceStanding(true);
//TODO fix
// horse.setForceStanding(true);
horse.setEating(false);
}
case "eating" -> {
horse.setForceStanding(false);
//TODO fix
// horse.setForceStanding(false);
horse.setEating(true);
}
}