mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-12 02:35:52 -07:00
@@ -247,6 +247,16 @@ public interface BlockData extends Cloneable {
|
|||||||
*/
|
*/
|
||||||
void mirror(@NotNull Mirror mirror);
|
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
|
* Creates a new default {@link BlockState} for this type of Block, not
|
||||||
* bound to a location.
|
* bound to a location.
|
||||||
|
Reference in New Issue
Block a user