mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 19:36:41 +00:00
start reimplementing entities
This commit is contained in:
@ -132,6 +132,7 @@ public interface Extent extends InputExtent, OutputExtent {
|
||||
* @return a list of entities
|
||||
*/
|
||||
default List<? extends Entity> getEntities() {
|
||||
System.out.println("el");
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
|
@ -195,11 +195,19 @@ public class BlockArrayClipboard implements Clipboard {
|
||||
|
||||
@Override
|
||||
public List<? extends Entity> getEntities(Region region) {
|
||||
System.out.println("blockarrayclipboard");
|
||||
region = region.clone();
|
||||
region.shift(BlockVector3.ZERO.subtract(origin));
|
||||
return getParent().getEntities(region);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<? extends Entity> getEntities() {
|
||||
System.out.println("blockarrayall");
|
||||
return getParent().getEntities();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public Entity createEntity(Location location, BaseEntity entity) {
|
||||
|
Reference in New Issue
Block a user