mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 04:26:42 +00:00
Added Pattern.next(int, int, int).
This method can be used to avoid creating short-lived vectors in tight loops.
This commit is contained in:
@ -37,4 +37,13 @@ public interface Pattern {
|
||||
* @return
|
||||
*/
|
||||
public BaseBlock next(Vector pos);
|
||||
|
||||
/**
|
||||
* Get a block for a position. This return value of this method does
|
||||
* not have to be consistent for the same position.
|
||||
*
|
||||
* @param pos
|
||||
* @return
|
||||
*/
|
||||
public BaseBlock next(int x, int y, int z);
|
||||
}
|
||||
|
Reference in New Issue
Block a user