Commits
coll1234567 authored and md_5 committed 8872404e4b7
240 240 | |
241 241 | /** |
242 242 | * Mirrors this blockdata using the specified {@link Mirror}. |
243 243 | * <p> |
244 244 | * This has no effect on blocks that do not have any mirrorable states. |
245 245 | * |
246 246 | * @param mirror the mirror |
247 247 | */ |
248 248 | void mirror( Mirror mirror); |
249 249 | |
250 + | /** |
251 + | * Copies all applicable properties from this BlockData to the provided |
252 + | * BlockData. |
253 + | * <p> |
254 + | * Only modifies properties that both blocks share in common. |
255 + | * |
256 + | * @param other the BlockData to copy properties to |
257 + | */ |
258 + | void copyTo( BlockData other); |
259 + | |
250 260 | /** |
251 261 | * Creates a new default {@link BlockState} for this type of Block, not |
252 262 | * bound to a location. |
253 263 | * |
254 264 | * @return a new {@link BlockState} |
255 265 | */ |
256 266 | |
257 267 | Experimental | .
258 268 | BlockState createBlockState(); |
259 269 | } |