public class ItemBlockMatcher extends java.lang.Object implements TargetMatcher
| Constructor and Description |
|---|
ItemBlockMatcher(com.sk89q.worldedit.world.block.BlockType type) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMatchedTypeId()
Get the matched type ID, which is merely used for indexing.
|
boolean |
test(Target target)
Return whether the given target is matched by this matcher.
|
public ItemBlockMatcher(com.sk89q.worldedit.world.block.BlockType type)
public java.lang.String getMatchedTypeId()
TargetMatchergetMatchedTypeId in interface TargetMatcherpublic boolean test(Target target)
TargetMatchertest in interface TargetMatchertarget - the target