how to use beacon power in minecraft in java edition

Java
/give @p beacon 1/give @p beacon 1 0
Source

Also in Java: