RequestSelection
with RegionMask
@Deprecated public class DynamicRegionMask extends AbstractMask
Constructor and Description |
---|
DynamicRegionMask()
Deprecated.
|
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.
|
public void prepare(LocalSession session, LocalPlayer player, Vector target)
Mask
prepare
in interface Mask
prepare
in class AbstractMask
session
- a sessionplayer
- a playertarget
- target of the brush, null if not a brush maskpublic boolean matches(EditSession editSession, Vector position)
Mask
editSession
- an instanceposition
- the position to check