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
|
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
paperweight.paperDevBundle("1.21.5-R0.1-SNAPSHOT")
|
paperweight.paperDevBundle("1.21.6-R0.1-SNAPSHOT")
|
||||||
compileOnly(project(":libraries:packets:packets-api"))
|
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"))
|
||||||
testImplementation(project(":libraries:packets:packets-api"))
|
testImplementation(project(":libraries:packets:packets-api"))
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ plugins {
|
|||||||
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION
|
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
paperweight.paperDevBundle("1.21.5-R0.1-SNAPSHOT")
|
paperweight.paperDevBundle("1.21.6-R0.1-SNAPSHOT")
|
||||||
compileOnly("com.fancyinnovations:fancymc:1.21.6-pre2")
|
// compileOnly("com.fancyinnovations:fancymc:1.21.6-pre2")
|
||||||
|
|
||||||
compileOnly(project(":plugins:fancynpcs:fn-api"))
|
compileOnly(project(":plugins:fancynpcs:fn-api"))
|
||||||
compileOnly(project(":libraries:common"))
|
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());
|
sittingVehicle.setPos(data.getLocation().x(), data.getLocation().y(), data.getLocation().z());
|
||||||
|
|
||||||
ServerEntity serverEntity = new ServerEntity(
|
ServerEntity serverEntity = new ServerEntity(
|
||||||
serverPlayer.serverLevel(),
|
serverPlayer.level(),
|
||||||
sittingVehicle,
|
sittingVehicle,
|
||||||
0,
|
0,
|
||||||
false,
|
false,
|
||||||
|
|||||||
@@ -68,14 +68,17 @@ public class HorseAttributes {
|
|||||||
switch (value.toLowerCase()) {
|
switch (value.toLowerCase()) {
|
||||||
case "standing" -> {
|
case "standing" -> {
|
||||||
horse.setEating(false);
|
horse.setEating(false);
|
||||||
horse.setForceStanding(false);
|
//TODO fix
|
||||||
|
// horse.setForceStanding(false);
|
||||||
}
|
}
|
||||||
case "rearing" -> {
|
case "rearing" -> {
|
||||||
horse.setForceStanding(true);
|
//TODO fix
|
||||||
|
// horse.setForceStanding(true);
|
||||||
horse.setEating(false);
|
horse.setEating(false);
|
||||||
}
|
}
|
||||||
case "eating" -> {
|
case "eating" -> {
|
||||||
horse.setForceStanding(false);
|
//TODO fix
|
||||||
|
// horse.setForceStanding(false);
|
||||||
horse.setEating(true);
|
horse.setEating(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user