mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
fancynpcs, fancyholograms: Use paper 1.21.6 dev bundle
This commit is contained in:
@@ -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"))
|
||||
|
||||
@@ -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"))
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user