Commits

Thinkofname authored fc9b07810a2
Add BlockStateMeta which allows creating and editting 1.8's blockEntityTag
No tags

src/main/java/org/bukkit/block/BlockState.java

Modified
185 185 */
186 186 @Deprecated
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 @Deprecated
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 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut