Skip to content

Block breaking via command does not drop XP #10080

@MiraculixxT

Description

@MiraculixxT

Expected behavior

Breaking a block that drops XP on mining with /setblock x y z air destroy does drop XP or has the chance to drop XP. Same behavior like mining with a diamond pickaxe.

Observed/Actual behavior

Breaking a block with named command does not drop any XP

Steps/models to reproduce

Create a fresh paper server, place or find any block that drops XP on mining and enter the setblock command with destroy property.

YouTube Video Comparison

Plugin and Datapack List

No plugins, no datapacks

Paper version

This server is running Paper version git-Paper-346 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: e035fd7)
You are running the latest version
Previous version: git-Paper-309 (MC: 1.20.2)

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.type: bugSomething doesn't work as it was intended to.

    Type

    No fields configured for Bug.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions