141142143144145146147148149150151
if (context.surroundingBox().contains(e.posX, e.posY, e.posZ)) { SchematicEntity s = SchematicRegistry.INSTANCE.createSchematicEntity(e.getClass()); if (s != null) { s.readFromWorld(context, e); entities.add(s); } } } }