4
4
Fork 3
mirror of https://github.com/GeyserMC/Geyser.git synced 2024-08-14 23:57:35 +00:00

Respect Javadoc's wishes

This commit is contained in:
Camotoy 2021-07-15 18:12:08 -04:00
parent 25edf41329
commit 143464b5a9
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -228,9 +228,9 @@ public class BlockUtils {
/**
* Taking in a complete Java block state identifier, output just the block ID of this block state without the states.
* Examples:
* minecraft:oak_log[axis=x] -> minecraft:oak_log
* minecraft:stone_brick_wall[east=low,north=tall,south=none,up=true,waterlogged=false,west=tall] -> minecraft:stone_brick_wall
* minecraft:stone -> minecraft:stone
* minecraft:oak_log[axis=x] = minecraft:oak_log
* minecraft:stone_brick_wall[east=low,north=tall,south=none,up=true,waterlogged=false,west=tall] = minecraft:stone_brick_wall
* minecraft:stone = minecraft:stone
*
* @param fullJavaIdentifier a full Java block identifier, with possible block states.
* @return a clean identifier in the format of minecraft:block