mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
parent
a70e6187b4
commit
2803610916
1 changed files with 10 additions and 0 deletions
|
@ -247,6 +247,16 @@ public interface BlockData extends Cloneable {
|
|||
*/
|
||||
void mirror(@NotNull Mirror mirror);
|
||||
|
||||
/**
|
||||
* Copies all applicable properties from this BlockData to the provided
|
||||
* BlockData.
|
||||
* <p>
|
||||
* Only modifies properties that both blocks share in common.
|
||||
*
|
||||
* @param other the BlockData to copy properties to
|
||||
*/
|
||||
void copyTo(@NotNull BlockData other);
|
||||
|
||||
/**
|
||||
* Creates a new default {@link BlockState} for this type of Block, not
|
||||
* bound to a location.
|
||||
|
|
Loading…
Reference in a new issue