Sponge icon indicating copy to clipboard operation
Sponge copied to clipboard

method "digBlockWith" not implemented

Open mosemister opened this issue 3 years ago • 1 comments

I am currently running

  • SpongeVanilla version: https://github.com/SpongePowered/Sponge/actions/runs/1251963431
  • Java version: 16
  • Operating System: Windows 10
  • Plugins/Mods:
  • Custom plugin

Issue Description

java.lang.AbstractMethodError: Receiver class net.minecraft.server.level.ServerLevel does not define or inherit an implementation of the resolved method 'boolean digBlockWith(int, int, int, org.spongepowered.api.item.inventory.ItemStack, org.spongepowered.api.profile.GameProfile)' of interface org.spongepowered.api.world.server.ServerWorld.
    ServerWorld sWorld;
    Vector3i pos;
    GameProfile profile;
    ItemStack stack;
    sWorld.digBlockWith(pos.x(), pos.y(), pos.z(), stack, profile)

mosemister avatar Sep 24 '21 21:09 mosemister

It has not been implemented before: https://github.com/SpongePowered/Sponge/issues/1841 https://github.com/SpongePowered/Sponge/pull/86

Lignium avatar Sep 25 '21 07:09 Lignium