Commits
185 185 | */ |
186 186 | |
187 187 | public byte getRawData(); |
188 188 | |
189 189 | /** |
190 190 | * @param data The new data value for the block. |
191 191 | * @deprecated Magic value |
192 192 | */ |
193 193 | |
194 194 | public void setRawData(byte data); |
195 + | |
196 + | /** |
197 + | * Returns whether this state is placed in the world. |
198 + | * |
199 + | * Some methods will not work if the blockState isn't |
200 + | * placed in the world. |
201 + | * |
202 + | * @return whether the state is placed in the world |
203 + | * or 'virtual' (e.g. on an itemstack) |
204 + | */ |
205 + | boolean isPlaced(); |
195 206 | } |