Package com.plotsquared.core.util
Class BlockUtil
java.lang.Object
com.plotsquared.core.util.BlockUtil
BlockState related utility methods- 
Method SummaryModifier and TypeMethodDescriptionstatic @Nullable BlockStateget(int id) Get aBlockStatefrom a legacy idstatic @Nullable BlockStateget(int id, int data) Get aBlockStatefrom a legacy id-data pairstatic @Nullable BlockStateGet aBlockStatefrom its ID
- 
Method Details- 
getGet aBlockStatefrom a legacy id- Parameters:
- id- Legacy ID
- Returns:
- Block state, or null
 
- 
getGet aBlockStatefrom a legacy id-data pair- Parameters:
- id- Legacy ID
- data- Legacy data
- Returns:
- Block state, or null
 
- 
getGet aBlockStatefrom its ID- Parameters:
- id- String or integer ID
- Returns:
- Parsed block state, or nullif none could be parsed
 
 
-