Sponge
Sponge copied to clipboard
method "digBlockWith" not implemented
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)
It has not been implemented before: https://github.com/SpongePowered/Sponge/issues/1841 https://github.com/SpongePowered/Sponge/pull/86