Mask
@Deprecated
public interface Mask
Modifier and Type | Method and Description |
---|---|
boolean |
matches(EditSession editSession,
Vector position)
Deprecated.
Given a block position, this method returns true if the block at
that position matches the filter.
|
void |
prepare(LocalSession session,
LocalPlayer player,
Vector target)
Deprecated.
Called one time before each edit session.
|
void prepare(LocalSession session, LocalPlayer player, Vector target)
session
- a sessionplayer
- a playertarget
- target of the brush, null if not a brush maskboolean matches(EditSession editSession, Vector position)
editSession
- an instanceposition
- the position to check