编辑

通过


Entity Documentation - minecraft:player.experience

Defines how much experience each player action should take.

Player Experience Properties

Name Default Value Type Description Example Values
max 5 Integer number The maximum player experience of this entity. Player: 1
value 1 Integer number The initial value of the player experience.

Samples

Player

"minecraft:player.experience": {
  "value": 0,
  "max": 1
}