Interface Pattern
- All Known Subinterfaces:
BlockStateHolder<B>
,ExtentPattern
- All Known Implementing Classes:
AbstractExtentPattern
,AbstractPattern
,BaseBlock
,BlockPattern
,BlockState
,ClipboardPattern
,ExtentBufferedCompositePattern
,ForgetfulExtentBuffer
,FuzzyBlockState
,MobSpawnerBlock
,RandomPattern
,RandomStatePattern
,RepeatingExtentPattern
,SignBlock
,SkullBlock
,StateApplyingPattern
,TypeApplyingPattern
,WaterloggedRemover
public interface Pattern
Returns a
BaseBlock
for a given position.-
Method Summary
Modifier and TypeMethodDescriptiondefault BaseBlock
apply
(BlockVector3 position) Deprecated.default BaseBlock
applyBlock
(BlockVector3 position) Return aBaseBlock
for the given position.
-
Method Details
-
apply
Deprecated.Return aBaseBlock
for the given position.- Parameters:
position
- the position- Returns:
- a block
-
applyBlock
@NonAbstractForCompatibility(delegateName="apply", delegateParams=BlockVector3.class) default BaseBlock applyBlock(BlockVector3 position) Return aBaseBlock
for the given position.- Parameters:
position
- the position- Returns:
- a block
- API Note:
- This must be overridden by new subclasses. See
NonAbstractForCompatibility
for details
-
applyBlock(BlockVector3)