Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
Pattern doesn't need to be deprecated
Dieser Commit ist enthalten in:
Ursprung
464719c02a
Commit
9fcf805148
@ -34,10 +34,8 @@ import com.sk89q.worldedit.world.block.BlockState;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a {@link BlockStateHolder} for a given position.
|
* Returns a {@link BlockStateHolder} for a given position.
|
||||||
* @deprecated Use FawePattern
|
|
||||||
*/
|
*/
|
||||||
@Link(clazz = UtilityCommands.class, value = "patterns")
|
@Link(clazz = UtilityCommands.class, value = "patterns")
|
||||||
@Deprecated
|
|
||||||
public interface Pattern{
|
public interface Pattern{
|
||||||
|
|
||||||
// @Override
|
// @Override
|
||||||
@ -61,4 +59,4 @@ public interface Pattern{
|
|||||||
default boolean apply(Extent extent, BlockVector3 get, BlockVector3 set) throws WorldEditException {
|
default boolean apply(Extent extent, BlockVector3 get, BlockVector3 set) throws WorldEditException {
|
||||||
return extent.setBlock(set, apply(get));
|
return extent.setBlock(set, apply(get));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren