fix fakeplayer

This commit is contained in:
okx-code
2024-10-09 01:37:05 +01:00
parent eebfba106a
commit 4dc1e9f346

View File

@@ -2253,6 +2253,11 @@ public class FakePlayer implements Player {
return null;
}
@Override
public void sendEntityEffect(@NotNull EntityEffect effect, @NotNull Entity target) {
}
@Override
public Component name() {
return null;
@@ -2608,6 +2613,11 @@ public class FakePlayer implements Player {
return false;
}
@Override
public void setRiptiding(boolean riptiding) {
}
@Override
public boolean isPersistent() {
return false;
@@ -2655,6 +2665,11 @@ public class FakePlayer implements Player {
}
@Override
public void startRiptideAttack(int duration, float attackStrength, @Nullable ItemStack attackItem) {
}
@Override
public Location getBedLocation() {
// TODO Auto-generated method stub
@@ -3632,6 +3647,11 @@ public class FakePlayer implements Player {
return null;
}
@Override
public void broadcastHurtAnimation(@NotNull Collection<Player> players) {
}
@Override
public boolean getAffectsSpawning() {
// TODO Auto-generated method stub